Agilent Technologies 33210A User Manual

Agilent Technologies 33210A User Manual

10 mhz function/arbitrary waveform generator
Table of Contents

Advertisement

Quick Links

Ihr Spezialist für
Mess- und Prüfgeräte
Keysight 33210A
10 MHz Function/Arbitrary
Waveform Generator
User's Guide
Distributed by:
dataTec ▪ Ferdinand-Lassalle-Str. 52 ▪ 72770 Reutlingen ▪ Tel. 07121 / 51 50 50 ▪ Fax 07121 / 51 50 10 ▪ info@datatec.de ▪ www.datatec-gruppe.de

Advertisement

Table of Contents
loading

Summary of Contents for Agilent Technologies 33210A

  • Page 1 Ihr Spezialist für Mess- und Prüfgeräte Keysight 33210A 10 MHz Function/Arbitrary Waveform Generator User’s Guide Distributed by: dataTec ▪ Ferdinand-Lassalle-Str. 52 ▪ 72770 Reutlingen ▪ Tel. 07121 / 51 50 50 ▪ Fax 07121 / 51 50 10 ▪ info@datatec.de ▪ www.datatec-gruppe.de...
  • Page 4 K eysight 33210A at a Glance The K eysight Technologies 33210A is a 10 MHz synthesized function generator with built-in arbitrary waveform and pulse capabilities. Its combination of bench-top and system features makes this function generator a versatile solution for your testing requirements now and in the future.
  • Page 5 The Front Panel at a Glance 1 Graph Mode/ Local Key 9 Manual Trigger Key (used for 2 On/Off Switch Sweep and Burst only) 3 Modulation/Sweep/Burst Keys 10 Output Enable/Disable Key 4 State Storage Menu Key 11 Knob 5 Utility Menu Key 12 Cursor Keys 6 Help Menu Key 13 Sync Connector...
  • Page 6 The Front-Panel Display at a Glance Menu Mode Mode Trigger Output Information Information Units Status Display Numeric Icon Readout Softkey Labels Graph Mode To enter or exit the Graph Mode, press the key. Parameter Parameter Name Value Signal Ground In Graph Mode, only one parameter label is displayed for each key at one time.
  • Page 7 Front-Panel Number Entry You can enter numbers from the front-panel using one of two methods. Use the knob and cursor keys to modify the displayed number. 1. Use the keys below the knob to move the cursor left or right. 2.
  • Page 8 The Rear Panel at a Glance 1 External 10 MHz Reference Input Terminal 5 USB Interface Connector 6 LAN Interface Connector (Option 001 only). 2 Internal 10 MHz Reference Output Terminal 7 GPIB Interface Connector 8 Chassis Ground (Option 001 only). 3 External Modulation Input Terminal 4 Input: External Trigger/Burst Gate Output: Trigger Output...
  • Page 9 In This Book Quick Start Chapter 1 prepares the function generator for use and helps you get familiar with a few of its front-panel features. Front-Panel Menu Operation Chapter 2 introduces you to the front- panel menu and describes some of the function generator’s menu features. Features and Functions Chapter 3 gives a detailed description of the function generator’s capabilities and operation.
  • Page 10 You can contact K eysight Technologies at one of the following telephone numbers for warranty, service, or technical support information. In the United States: (800) 829-4444 In Europe: 31 20 547 2111 In Japan: 0120-421-345 Or use our Web link for information on contacting Keysight worldwide. www.
  • Page 11: Table Of Contents

    Contents Chapter 1 Quick Start 13 To Prepare the Function Generator for Use 15 To Adjust the Carrying Handle 16 To Set the Output Frequency 17 To Set the Output Amplitude 18 To Set a DC Offset Voltage 20 To Set the High-Level and Low-Level Values 21 To Select “DC Volts”...
  • Page 12 Contents Chapter 3 Features and Functions 51 Output Configuration 53 Pulse Waveforms 68 Amplitude Modulation (AM) 72 Frequency Modulation (FM) 77 Pulse Width Modulation (PWM) 84 Frequency Sweep 90 Burst Mode 97 Triggering 106 Optional Arbitrary Waveforms (Option 002) 112 System-Related Operations 119 Remote Interface Configuration External Timebase Reference (Option 001) 137...
  • Page 13 Contents Chapter 5 Error Messages 271 Command Errors 273 Execution Errors 276 Device Dependent Errors 291 Query Errors 292 Instrument Errors 293 Self-Test Errors 294 Calibration Errors 296 Arbitrary Waveform Errors 297 Chapter 6 Application Programs 299 Introduction 300 Program Listings 302 Chapter 7 Tutorial 309 Direct Digital Synthesis 311 Creating Arbitrary Waveforms (Option 002) 314...
  • Page 14 Contents...
  • Page 15: Chapter 1 Quick Start

    Quick Start...
  • Page 16 Quick Start One of the first things to do with your function generator is to become acquainted with the front panel. We have written the exercises in this chapter to prepare the instrument for use and help you get familiar with some of its front-panel operations.
  • Page 17: To Prepare The Function Generator For Use

    • Keysight Automation-Ready CD ( Keysight IO Libraries Suite). • USB 2.0 cable. Note: All of the 33210A product documentation is provided on the Keysight 33210A Product Reference CD that comes with the product, and is also available on the Web at www.
  • Page 18: To Adjust The Carrying Handle

    Chapter 1 Quick Start To Adjust the Carrying Handle To Adjust the Carrying Handle To adjust the position, grasp the handle by the sides and pull outward. Then, rotate the handle to the desired position. Retracted Carrying Position Extended...
  • Page 19: To Set The Output Frequency

    Chapter 1 Quick Start To Set the Output Frequency To Set the Output Frequency At power-on, the function generator outputs a sine wave at 1 kHz with an amplitude of 100 mV peak-to-peak (into a 50Ω termination). The following steps show you how to change the frequency to 1.2 MHz. 1 Press the “Freq”...
  • Page 20: To Set The Output Amplitude

    Chapter 1 Quick Start To Set the Output Amplitude To Set the Output Amplitude At power-on, the function generator outputs a sine wave with an amplitude of 100 mV peak-to-peak (into a 50Ω termination). The following steps show you how to change the amplitude to 50 mVrms. 1 Press the “Ampl”...
  • Page 21 Chapter 1 Quick Start To Set the Output Amplitude You can easily convert the displayed amplitude from one unit to another. For example, the following steps show you how to convert the amplitude from Vrms to Vpp. 4 Enter the numeric entry mode. Press the key to enter the numeric entry mode.
  • Page 22: To Set A Dc Offset Voltage

    Chapter 1 Quick Start To Set a DC Offset Voltage To Set a DC Offset Voltage At power-on, the function generator outputs a sine wave with a dc offset of 0 volts (into a 50Ω termination). The following steps show you how to change the offset to –1.5 mVdc.
  • Page 23: To Set The High-Level And Low-Level Values

    Chapter 1 Quick Start To Set the High-Level and Low-Level Values To Set the High-Level and Low-Level Values You can specify a signal by setting its amplitude and dc offset values, as described previously. Another way to set the limits of a signal is to specify its high-level (maximum) and low-level (minimum) values.
  • Page 24: To Select "Dc Volts

    Chapter 1 Quick Start To Select “DC Volts” To Select “DC Volts” You can select the "DC Volts" feature from the “Utility” menu, and then set a constant dc voltage as an "Offset" value. Let's set "DC Volts" = 1.0 Vdc.
  • Page 25: To Set The Duty Cycle Of A Square Wave

    Chapter 1 Quick Start To Set the Duty Cycle of a Square Wave To Set the Duty Cycle of a Square Wave At power-on, the duty cycle for square waves is 50%. You can adjust the duty cycle from 20% to 80% for output frequencies up to 5 MHz. The following steps show you how to change the duty cycle to 30%.
  • Page 26: To Configure A Pulse Waveform

    Chapter 1 Quick Start To Configure a Pulse Waveform To Configure a Pulse Waveform You can configure the function generator to output a pulse waveform with variable pulse width and edge time. The following steps show you how to configure a 500 ms pulse waveform with a pulse width of 10 ms and edge times of 50 ns.
  • Page 27: To View A Waveform Graph

    Chapter 1 Quick Start To View a Waveform Graph To View a Waveform Graph In the Graph Mode, you can view a graphical representation of the current waveform parameters. The softkeys are listed in the same order as in the normal display mode, and they perform the same functions. However, only one label (for example, Freq or Period) is displayed for each softkey at one time.
  • Page 28: To Output A Stored Arbitrary Waveform

    Chapter 1 Quick Start To Output a Stored Arbitrary Waveform To Output a Stored Arbitrary Waveform Note: Arbitrary waveforms are optionally available with the 33210A (Option 002). To upgrade your 33210A to include arbitrary waveform www. keysight .com/find/33210U. functionality, go to There are five built-in arbitrary waveforms stored in non-volatile memory.
  • Page 29: To Use The Built-In Help System

    Chapter 1 Quick Start To Use the Built-In Help System To Use the Built-In Help System The built-in help system is designed to provide context-sensitive assistance on any front-panel key or menu softkey. A list of help topics is also available to assist you with several front-panel operations. 1 View the help information for a function key.
  • Page 30 Chapter 1 Quick Start To Use the Built-In Help System 3 View the list of help topics. Press the key to view the list of available help topics. To scroll through the list, press the ↑ or ↓ softkey or rotate the knob. Select the third topic “Get HELP on any key”...
  • Page 31: To Rack Mount The Function Generator

    To Rack Mount the Function Generator To Rack Mount the Function Generator You can mount the Keysight 33210A in a standard 19-inch rack cabinet using one of two optional kits available. Instructions and mounting hardware are included with each rack-mounting kit. Any Keysight System II instrument of the same size can be rack-mounted beside the Keysight 33210A.
  • Page 32 Chapter 1 Quick Start To Rack Mount the Function Generator To rack mount a single instrument, order adapter kit 5063-9240. To rack mount two instruments side-by-side, order lock-link kit 5061- 8769 and flange kit 5063-9212. Be sure to use the support rails in the rack cabinet. In order to prevent overheating, do not block the flow of air into or out of the instrument.
  • Page 33: Chapter 2 Front-Panel Menu Operation

    Front-Panel Menu Operation...
  • Page 34 Front-Panel Menu Operation This chapter introduces you to the front-panel keys and menu operation. This chapter does not give a detailed description of every front-panel key or menu operation. It does, however, give you an overview of the front- panel menus and many front-panel operations. See chapter 3 “Features and Functions,”...
  • Page 35: Front-Panel Menu Reference

    Chapter 2 Front-Panel Menu Operation Front-Panel Menu Reference Front-Panel Menu Reference This section gives an overview of the front-panel menus. The remainder of this chapter contains examples of using the front-panel menus. Configure the modulation parameters for AM, FM, and PWM. •...
  • Page 36 Chapter 2 Front-Panel Menu Operation Front-Panel Menu Reference Store and recall instrument states. • Store up to four instrument states in non-volatile memory. • Assign a custom name to each storage location. • Recall stored instrument states. • Restore all instrument settings to their factory default values. •...
  • Page 37: To Select The Output Termination

    To Select the Output Termination To Select the Output Termination The Keysight 33210A has a fixed series output impedance of 50 ohms to the front-panel Output connector. If the actual load impedance is different than the value specified, the displayed amplitude and offset levels will be incorrect.
  • Page 38: To Output A Modulated Waveform

    Chapter 2 Front-Panel Menu Operation To Output a Modulated Waveform To Output a Modulated Waveform A modulated waveform consists of a carrier and a modulating waveform. In AM (amplitude modulation), the amplitude of the carrier is varied by the amplitude of the modulating waveform. For this example, you will output an AM waveform with 80% modulation depth.
  • Page 39 Chapter 2 Front-Panel Menu Operation To Output a Modulated Waveform 4 Set the modulating frequency. Press the AM Freq softkey and then set the value to 200 Hz using the numeric keypad or the knob and cursor keys. 5 Select the modulating waveform shape. Press the Shape softkey to select the shape of the modulating waveform.
  • Page 40: To Output A Pwm Waveform

    To Output a PWM Waveform You can configure the function generator to output a pulse width modulated (PWM) waveform. The Keysight 33210A provides PWM for pulse carrier waveforms, and PWM is the only type of modulation supported for pulse waveforms. In PWM, the pulse width or duty cycle of the carrier waveform is varied according to the modulating waveform.
  • Page 41 Chapter 2 Front-Panel Menu Operation To Output a PWM Waveform 4 Set the modulating frequency. Press the PWM Freq softkey and then set the value to 5 Hz using the numeric keypad or the knob and cursor keys. 5 Select the modulating waveform shape. Press the Shape softkey to select the shape of the modulating waveform.
  • Page 42: To Output A Frequency Sweep

    Chapter 2 Front-Panel Menu Operation To Output a Frequency Sweep To Output a Frequency Sweep In the frequency sweep mode, the function generator “steps” from the start frequency to the stop frequency at a sweep rate which you specify. You can sweep up or down in frequency, and with either linear or logarithmic spacing.
  • Page 43 Chapter 2 Front-Panel Menu Operation To Output a Frequency Sweep 4 Set the stop frequency. Press the Stop softkey and then set the value to 5 kHz using the numeric keypad or the knob and cursor keys. At this point, the function generator outputs a continuous sweep from 50 Hz to 5 kHz (if the output is enabled).
  • Page 44: To Output A Burst Waveform

    Chapter 2 Front-Panel Menu Operation To Output a Burst Waveform To Output a Burst Waveform You can configure the function generator to output a waveform with a specified number of cycles, called a burst. You can output the burst at a rate determined by the internal rate generator or the signal level on the rear-panel Trig In connector.
  • Page 45 Chapter 2 Front-Panel Menu Operation To Output a Burst Waveform 4 Set the burst period. Press the Burst Period softkey and then set the period to 20 ms using the numeric keypad or the knob and cursor keys. The burst period sets the time from the start of one burst to the start of the next burst (note the display icon).
  • Page 46: To Trigger A Sweep Or Burst

    Chapter 2 Front-Panel Menu Operation To Trigger a Sweep or Burst To Trigger a Sweep or Burst You can issue triggers from the front panel for sweeps and bursts using a manual trigger or an internal trigger. • Internal or “automatic” triggering is enabled with the default settings of the function generator.
  • Page 47: To Store The Instrument State

    Chapter 2 Front-Panel Menu Operation To Store the Instrument State To Store the Instrument State You can store the instrument state in one of four non-volatile storage locations. A fifth storage location automatically holds the power-down configuration of the instrument. When power is restored, the instrument can automatically return to its state before power-down.
  • Page 48: To Configure The Remote Interface

    USB Configuration The USB interface requires no front panel configuration parameters. Just connect the Keysight 33210A to your PC with the appropriate USB cable. The interface will self configure. Press the Show USB Id softkey in the “I/O menu” to see the USB interface identification string. Both USB...
  • Page 49 Note: To set a password use the knob and cursor keys (use to delete all characters to the right of the cursor position). The Web Server Interface will prompt for the password to protect certain windows. See ” Keysight 33210A Web Interface,” page 136, for further information.
  • Page 50 To Configure the Remote Interface 6 Establish an “IP Setup.” To use the Keysight 33210A on the network, you must first establish an IP setup, including an IP address, and possibly a subnet mask and gateway address. Press the IP Setup softkey. By default, both DHCP and Auto IP are set to On.
  • Page 51 Chapter 2 Front-Panel Menu Operation To Configure the Remote Interface b. Set the “Subnet Mask.” The subnet mask is required if your network has been divided into subnets. Ask your network administrator whether a subnet mask is needed, and for the correct mask.
  • Page 52 (0 to 255), with no leading zeros. The Keysight 33210A assumes that all IP addresses and other dot- notation addresses are expressed as decimal byte values, and strips all leading zeros from these byte values.
  • Page 53: Chapter 3 Features And Functions

    Features and Functions...
  • Page 54 Features and Functions This chapter makes it easy to look up all the details about a particular feature of the function generator. It covers both front panel and remote interface operation. You may want to read chapter 2, “Front-Panel Menu Operation”...
  • Page 55: Output Configuration

    Chapter 3 Features and Functions Output Configuration Output Configuration This section contains information to help you configure the function generator for outputting waveforms. You may never have to change some of the parameters discussed here, but they are provided to give you the flexibility you might need.
  • Page 56 Chapter 3 Features and Functions Output Configuration • Function Limitations: If you change to a function whose maximum frequency is less than that of the current function, the frequency is adjusted to the maximum value for the new function. For example, if you are currently outputting a 10 MHz sine wave and then change to the ramp function, the function generator will automatically adjust the output frequency to 100 kHz (the upper limit for ramps).
  • Page 57 Chapter 3 Features and Functions Output Configuration Output Frequency As shown below, the output frequency range depends on the function currently selected. The default frequency is 1 kHz for all functions. Function Minimum Frequency Maximum Frequency 10 MHz Sine 1 mHz Square 1 mHz 10 MHz...
  • Page 58 Chapter 3 Features and Functions Output Configuration • Front-Panel Operation: To set the output frequency, press the Freq softkey for the selected function. Then use the knob or numeric keypad to enter the desired frequency. To set the waveform period instead, press the Freq softkey again to toggle to the Period softkey.
  • Page 59 Chapter 3 Features and Functions Output Configuration • You can set the output amplitude in Vpp, Vrms, or dBm. For more information, see “Output Units” on page 60. • You cannot specify the output amplitude in dBm if the output termination is currently set to “high impedance”.
  • Page 60 Chapter 3 Features and Functions Output Configuration • Remote Interface Operation: VOLTage {<amplitude>|MINimum|MAXimum} Or, you can set the amplitude by specifying a high level and low level using the following commands. VOLTage:HIGH {<voltage>|MINimum|MAXimum} VOLTage:LOW {<voltage>|MINimum|MAXimum} You can also use the APPLy command to select the function, frequency, amplitude, and offset with a single command.
  • Page 61 Chapter 3 Features and Functions Output Configuration • Arbitrary Waveform Limitations: For arbitrary waveforms, the maximum offset and amplitude will be limited if the waveform data points do not span the full range of the output DAC (Digital-to-Analog Converter). For example, the built-in “Sinc” waveform does not use the full range of values between ±1 and therefore its maximum offset is limited to 4.95 volts (into 50 ohms).
  • Page 62 Chapter 3 Features and Functions Output Configuration Output Units Applies to output amplitude only. At power-on, the units for output amplitude are volts peak-to-peak. • Output units: Vpp, Vrms, or dBm. The default is Vpp. • The unit setting is stored in volatile memory. The units are set to “Vpp”...
  • Page 63 Output Termination Applies to output amplitude and offset voltage only. The Keysight 33210A has a fixed series output impedance of 50 ohms to the front- panel Output connector. If the actual load impedance is different than the value specified, the displayed amplitude and offset levels will be incorrect.
  • Page 64 Chapter 3 Features and Functions Output Configuration Duty Cycle (Square Waves) The duty cycle of a square wave represents the amount of time per cycle that the square wave is at a high level (assuming that the waveform is not inverted). 20% Duty Cycle 80% Duty Cycle (See Pulse Waveforms on page 68 for information about duty cycle for...
  • Page 65 Chapter 3 Features and Functions Output Configuration • Remote Interface Operation: FUNCtion:SQUare:DCYCle {<percent>|MINimum|MAXimum} The APPLy command automatically sets the duty cycle to 50%. Symmetry (Ramp Waves) Applies to ramp waves only. Symmetry represents the amount of time per cycle that the ramp wave is rising (assuming that the waveform is not inverted).
  • Page 66 Chapter 3 Features and Functions Output Configuration Voltage Autoranging Autoranging is enabled by default and the function generator automatically selects the optimal settings for the output amplifier and attenuators. With autoranging disabled, the function generator uses the current amplifier and attenuator settings. •...
  • Page 67 Chapter 3 Features and Functions Output Configuration • Remote Interface Operation: OUTPut {OFF|ON} The APPLy command overrides the current setting and automatically enables the Output connector. Waveform Polarity In the normal mode (default), the waveform goes positive during the first part of the cycle.
  • Page 68 Chapter 3 Features and Functions Output Configuration Sync Output Signal A sync output is provided on the front-panel Sync connector. All of the standard output functions (except noise and dc) have an associated Sync signal. For certain applications where you may not want to output the Sync signal, you can disable the Sync connector.
  • Page 69 Chapter 3 Features and Functions Output Configuration • For frequency sweeps with Marker Off, the Sync signal is a square waveform with a 50% duty cycle for the duration of the sweep. The Sync signal is a TTL “high” at the beginning of the sweep and goes “low”...
  • Page 70: Pulse Waveforms

    Chapter 3 Features and Functions Pulse Waveforms Pulse Waveforms A shown below, a pulse waveform consists of a period, a pulse width, a rising edge, and a falling edge. Pulse Width Rise Time Fall Time Period Pulse Period • Pulse period: 200 ns to 1000 s. The default is 1 ms. •...
  • Page 71 Chapter 3 Features and Functions Pulse Waveforms Pulse Width The pulse width represents the time from the 50% threshold of the rising edge of the pulse to the 50% threshold of the next falling edge. • Pulse width: 40 ns to 1000 s (see restrictions below). The default pulse width is 100 µs.
  • Page 72 Chapter 3 Features and Functions Pulse Waveforms Pulse Duty Cycle The pulse duty cycle is defined as: Duty Cycle = 100 X Pulse Width ÷ Period where the pulse width represents the time from the 50% threshold of the rising edge of the pulse to the 50% threshold of the next falling edge. •...
  • Page 73 Chapter 3 Features and Functions Pulse Waveforms Edge Time The edge time sets each edge transition time (rising and falling) of the pulse. The rise time and fall time cannot be set independently—each is equal to the edge time. For each transition, the edge time represents the time from the 10% threshold to the 90% threshold.
  • Page 74: Amplitude Modulation (Am)

    Chapter 3 Features and Functions Amplitude Modulation (AM) Amplitude Modulation (AM) A modulated waveform consists of a carrier waveform and a modulating waveform. In AM, the amplitude of the carrier is varied by the instantaneous voltage of the modulating waveform. The function generator will accept an internal or external modulation source.
  • Page 75 Chapter 3 Features and Functions Amplitude Modulation (AM) Carrier Waveform Shape • AM carrier shape: Sine or Square waveform. The default is Sine. You cannot use ramp, pulse, noise, dc, or arbitrary as the carrier waveform. • Front-Panel Operation: Press either the or the front-panel function key.
  • Page 76 If you select an arbitrary waveform as the modulating waveshape, the waveform is automatically limited to 4K points. Extra waveform points are removed using decimation. Note: Arbitrary waveforms are optionally available with the 33210A (Option 002). To upgrade your 33210A to include arbitrary waveform www. keysight .com/find/33210U. functionality, go to •...
  • Page 77 Chapter 3 Features and Functions Amplitude Modulation (AM) Modulating Waveform Frequency The function generator will accept an internal or external modulation source for AM. • Modulating frequency (internal source): 2 mHz to 20 kHz. The default is 100 Hz. • Front-Panel Operation: After enabling AM, press the AM Freq softkey. •...
  • Page 78 Chapter 3 Features and Functions Amplitude Modulation (AM) Modulating Source The function generator will accept an internal or external modulation source for AM. • Modulating source: Internal or External. The default is Internal. • If you select the External source, the carrier waveform is modulated with an external waveform.
  • Page 79: Frequency Modulation (Fm)

    Chapter 3 Features and Functions Frequency Modulation (FM) Frequency Modulation (FM) A modulated waveform consists of a carrier waveform and a modulating waveform. In FM, the frequency of the carrier is varied by the instantaneous voltage of the modulating waveform. For more information on the fundamentals of Frequency Modulation, refer to chapter 7, “Tutorial”.
  • Page 80 Chapter 3 Features and Functions Frequency Modulation (FM) Carrier Waveform Shape • FM carrier shape: Sine or Square waveform. The default is Sine. You cannot use ramp, pulse, noise, dc, or arbitrary as the carrier waveform. • Front-Panel Operation: Press either the or the front-panel function key.
  • Page 81 Chapter 3 Features and Functions Frequency Modulation (FM) Carrier Frequency The maximum carrier frequency depends on the function selected as shown below. The default is 1 kHz for all functions. Function Minimum Frequency Maximum Frequency Sine 1 mHz 10 MHz Square 1 mHz 10 MHz...
  • Page 82 4K points. Extra waveform points are removed using decimation. Note: Arbitrary waveforms are optionally available with the 33210A (Option 002). To upgrade your 33210A to include arbitrary waveform www. keysight .com/find/33210U. functionality, go to •...
  • Page 83 Chapter 3 Features and Functions Frequency Modulation (FM) Modulating Waveform Frequency The function generator will accept an internal or external modulation source for FM. • Modulating frequency (internal source): 2 mHz to 20 kHz. The default is 10 Hz. • Front-Panel Operation: After enabling FM, press the FM Freq softkey. •...
  • Page 84 Chapter 3 Features and Functions Frequency Modulation (FM) Frequency Deviation The frequency deviation setting represents the peak variation in frequency of the modulated waveform from the carrier frequency. • Frequency deviation: 1 mHz to 5 MHz. The default is 100 Hz. •...
  • Page 85 Chapter 3 Features and Functions Frequency Modulation (FM) Modulating Source The function generator will accept an internal or external modulation source for FM. • Modulating source: Internal or External. The default is Internal. • If you select the External source, the carrier waveform is modulated with an external waveform.
  • Page 86: Pulse Width Modulation (Pwm)

    Chapter 3 Features and Functions Pulse Width Modulation (PWM) Pulse Width Modulation (PWM) In Pulse Width Modulation (PWM), the width of a pulse waveform is varied by the instantaneous voltage of the modulating waveform. The width of the pulse can be expressed either as a pulse width (expressed in time units, like the period) or a duty cycle (expressed as a percentage of the period).
  • Page 87 Chapter 3 Features and Functions Pulse Width Modulation (PWM) Pulse Waveform • Pulse is the only waveform shape supported for PWM. • Front-Panel Operation: Press • Remote Interface Operation: FUNCtion {PULSe} You can also use the APPLy command to select the function, frequency, amplitude, and offset with a single command.
  • Page 88 Chapter 3 Features and Functions Pulse Width Modulation (PWM) Modulating Waveform Shape The function generator will accept an internal or external modulation source for PWM. • Modulating waveform shape (internal source): Sine, Square, Ramp, Negative Ramp, Triangle, Noise, or Arb waveform. The default is Sine. •...
  • Page 89 Chapter 3 Features and Functions Pulse Width Modulation (PWM) Width Deviation The width deviation represents the variation in width (in seconds) in the modulated waveform from the width of the original pulse waveform. • Width deviation: 0 s to 500 s (see below). The default is 10 µs. •...
  • Page 90 Chapter 3 Features and Functions Pulse Width Modulation (PWM) Duty Cycle Deviation The duty cycle deviation represents the variation in duty cycle of the modulated waveform from the duty cycle of the pulse waveform. The duty cycle deviation is expressed as a percentage of the period. •...
  • Page 91 Chapter 3 Features and Functions Pulse Width Modulation (PWM) Modulating Source The function generator will accept an internal or external modulation source for PWM. • Modulating source: Internal or External. The default is Internal. • If you select the External source, the pulse waveform is modulated with an external waveform.
  • Page 92: Frequency Sweep

    Chapter 3 Features and Functions Frequency Sweep Frequency Sweep In the frequency sweep mode, the function generator “steps” from the start frequency to the stop frequency at a sweep rate which you specify. You can sweep up or down in frequency, and with either linear or logarithmic spacing.
  • Page 93 Chapter 3 Features and Functions Frequency Sweep Start Frequency and Stop Frequency The start frequency and stop frequency set the upper and lower frequency bounds for the sweep. The function generator begins at the start frequency, sweeps to the stop frequency, and then resets back to the start frequency. •...
  • Page 94 Chapter 3 Features and Functions Frequency Sweep Center Frequency and Frequency Span If desired, you can set the frequency boundaries of the sweep using a center frequency and frequency span. These parameters are similar to the start frequency and stop frequency (see the previous page) and are included to give you added flexibility.
  • Page 95 Chapter 3 Features and Functions Frequency Sweep Sweep Mode You can sweep with either linear or logarithmic spacing. For a linear sweep, the function generator varies the output frequency in a linear fashion during the sweep. For a logarithmic sweep, the function generator varies the output frequency in a logarithmic fashion.
  • Page 96 Chapter 3 Features and Functions Frequency Sweep Marker Frequency If desired, you can set the frequency at which the signal on the front- panel Sync connector goes to a logic low during the sweep. The Sync signal always goes from low to high at the beginning of the sweep. •...
  • Page 97 Chapter 3 Features and Functions Frequency Sweep Sweep Trigger Source In the sweep mode, the function generator outputs a single sweep when a trigger signal is received. After one sweep from the start frequency to the stop frequency, the function generator waits for the next trigger while outputting the start frequency.
  • Page 98 Chapter 3 Features and Functions Frequency Sweep Trigger Out Signal A “trigger out” signal is provided on the rear-panel Trig Out connector (used with sweep and burst only). When enabled, a TTL-compatible square waveform with either a rising edge (default) or falling edge is output from the Trig Out connector at the beginning of the sweep.
  • Page 99: Burst Mode

    Chapter 3 Features and Functions Burst Mode Burst Mode You can configure the function generator to output a waveform with a specified number of cycles, called a burst. The function generator can produce a burst using sine, square, or ramp waveforms (pulse, noise, dc, and arbitrary waveforms are not allowed).
  • Page 100 Chapter 3 Features and Functions Burst Mode Burst Type You can use burst in one of two modes as described below. The function generator enables one burst mode at a time based on the trigger source and burst source that you select (see the table below). •...
  • Page 101 Chapter 3 Features and Functions Burst Mode • When the gated mode is selected, the burst count, burst period, and trigger source are ignored (these parameters are used for the triggered burst mode only). If a manual trigger is received, it is ignored, and no error will be generated.
  • Page 102 Chapter 3 Features and Functions Burst Mode Waveform Frequency The waveform frequency defines the repetition rate of the burst waveform in the triggered and external gated modes. In the triggered mode, the number of cycles specified by the burst count is output at the waveform frequency.
  • Page 103 Chapter 3 Features and Functions Burst Mode Burst Count The burst count defines the number of cycles to be output per burst. Used in the triggered burst mode only (internal or external source) • Burst count: 1 to 50,000 cycles, in 1 cycle increments. You can also select an infinite burst count.
  • Page 104 Chapter 3 Features and Functions Burst Mode Burst Period The burst period defines time from the start of one burst to the start of the next burst. Used in the internal triggered burst mode only. Keep in mind that burst period is different than the “waveform frequency” which specifies the frequency of the bursted signal.
  • Page 105 Chapter 3 Features and Functions Burst Mode Burst Phase The burst phase defines the starting phase of the burst. • Burst phase: -360 degrees to +360 degrees. The default is 0 degrees. • From the remote interface, you can set the starting phase in degrees or radians using the UNIT:ANGL command (see page 158).
  • Page 106 Chapter 3 Features and Functions Burst Mode Burst Trigger Source In the triggered burst mode, the function generator outputs a burst with the specified number of cycles (burst count) each time a trigger is received. After the specified number of cycles have been output, the function generator stops and waits for the next trigger.
  • Page 107 Chapter 3 Features and Functions Burst Mode Trigger Out Signal A “trigger out” signal is provided on the rear-panel Trig Out connector (used with sweep only). When enabled, a TTL-compatible pulse waveform with either a rising edge (default) or falling edge is output from the Trig Out connector at the beginning of the burst.
  • Page 108: Triggering

    Chapter 3 Features and Functions Triggering Triggering Applies to sweep and burst only. You can issue triggers for sweeps or bursts using internal triggering, external triggering, or manual triggering. • Internal or “automatic” triggering is enabled when you turn on the function generator.
  • Page 109 Chapter 3 Features and Functions Triggering • The trigger source setting is stored in volatile memory; the source is set to internal trigger (front panel) or immediate (remote interface) when power has been off or after a remote interface reset. (Provided that the Power On state is set to Default.) •...
  • Page 110 Chapter 3 Features and Functions Triggering External Triggering In the external trigger mode, the function generator will accept a hardware trigger applied to the rear-panel Trig In connector. The function generator initiates one sweep or outputs one burst each time Trig In receives a TTL pulse with the specified edge. See also “Trigger Input Signal”...
  • Page 111 Chapter 3 Features and Functions Triggering Software (Bus) Triggering The bus trigger mode is available only from the remote interface. This mode is similar to the manual trigger mode from the front panel, but you trigger the function generator by sending a bus trigger command.
  • Page 112 Chapter 3 Features and Functions Triggering Trigger Input Signal INPUT Ext Trig +2.5 to 5V >100 ns Rising edge shown. This rear-panel connector is used in the following modes: • Triggered Sweep Mode: To select the external source, press the Trigger Setup softkey and then select the Source Ext softkey or execute the TRIG:SOUR EXT command from the remote interface (sweep must be enabled).
  • Page 113 Chapter 3 Features and Functions Triggering Trigger Output Signal A “trigger out” signal is provided on the rear-panel Trig Out connector (used with sweep and burst only). When enabled, a TTL-compatible square waveform with either a rising edge (default) or falling edge is output from the rear-panel Trig Out connector at the beginning of the sweep or burst.
  • Page 114: Optional Arbitrary Waveforms (Option 002)

    Keysight IntuiLink software allows you to create arbitrary waveforms using a graphical user interface on your PC, and then download them into the Keysight 33210A. You can also capture waveforms from your Keysight oscilloscope and import them into IntuiLink. Please see the online help included with the Keysight IntuiLink software for further information.
  • Page 115 Chapter 3 Features and Functions Optional Arbitrary Waveforms (Option 002) To Create and Store an Arbitrary Waveform This section gives an example which shows you how to create and store an arbitrary waveform from the front panel. To download an arbitrary waveform from the remote interface, see Arbitrary Waveform Commands starting on page 222.
  • Page 116 Chapter 3 Features and Functions Optional Arbitrary Waveforms (Option 002) 4 Set the waveform voltage limits. Press the High V Limit and Low V Limit softkeys to set the upper and lower voltage levels that can be reached while editing the waveform. The upper limit must be greater than the lower limit.
  • Page 117 Chapter 3 Features and Functions Optional Arbitrary Waveforms (Option 002) 7 Start the point-by-point editing process. Press the Edit Points softkey to accept the initial waveform settings and begin point-by-point editing. The status line at the top of the display window shows the point number at the left, the time value of the current point in the center, and the voltage value of the current point to the right.
  • Page 118 Chapter 3 Features and Functions Optional Arbitrary Waveforms (Option 002) 10 Define the remaining waveform points. Using the Time and Voltage softkeys, define the remaining waveform points using the values shown in the table below. Point Time Value Voltage Value 2 ms 4 ms 7 ms...
  • Page 119 Chapter 3 Features and Functions Optional Arbitrary Waveforms (Option 002) 11 Store the arbitrary waveform in memory. Press the End / Store softkey to store the new waveform in memory. Then press the DONE softkey to store the waveform in volatile memory or press the Store in Non-Vol softkey to store the waveform in one of four non-volatile memory locations.
  • Page 120 Chapter 3 Features and Functions Optional Arbitrary Waveforms (Option 002) Additional Information on Arbitrary Waveforms • As a shortcut to determine which arbitrary waveform is selected, press . A temporary message is displayed on the front panel. • You cannot edit any of the five built-in arbitrary waveforms. •...
  • Page 121: System-Related Operations

    Chapter 3 Features and Functions System-Related Operations System-Related Operations This section gives information on topics such as instrument state storage, power-down recall, error conditions, self test, and front-panel display control. This information is not directly related to waveform generation but is an important part of operating the function generator. Instrument State Storage The function generator has five storage locations in non-volatile memory to store instrument states.
  • Page 122 Chapter 3 Features and Functions System-Related Operations • You can assign a custom name to each of the storage locations (however, you cannot name location “0” from the front panel). You can name a location from the front panel or over the remote interface, but you can only recall a state by name from the front panel.
  • Page 123 Chapter 3 Features and Functions System-Related Operations and then select the Store State or • Front-Panel Operation: Press Recall State softkey. To delete a stored state, select the Delete State softkey (also removes the custom name for this memory location). To configure the function generator to recall the factory default state and then select the Pwr-On Default softkey.
  • Page 124 Chapter 3 Features and Functions System-Related Operations Error Conditions A record of up to 20 command syntax or hardware errors can be stored in the function generator’s error queue. See chapter 5 for a complete listing of the errors. • Errors are retrieved in first-in-first-out (FIFO) order. The first error returned is the first error that was stored.
  • Page 125 Chapter 3 Features and Functions System-Related Operations Beeper Control Normally, the function generator will emit a tone when an error is generated from the front-panel or over the remote interface. You may want to disable the front-panel beeper for certain applications. •...
  • Page 126 • If the complete self-test is successful, “Self-Test Passed” is displayed on the front panel. If the self-test fails, “Self-Test Failed” is displayed and an error number is shown. See the Keysight 33210A Service Guide for instructions on returning the instrument to Keysight for service.
  • Page 127 Chapter 3 Features and Functions System-Related Operations Display Control For security reasons, or to speed up the rate at which the function generator can execute commands from the remote interface, you may want to turn off the front-panel display. From the remote interface, you can also display a 12-character message on the front panel.
  • Page 128 Chapter 3 Features and Functions System-Related Operations • Remote Interface Operation: The following command turns off the front-panel display. DISP OFF The following command displays a message on the front panel and turns on the display if currently disabled. DISP:TEXT 'Test in Progress...' To clear the message displayed on the front panel (without changing the display state), send the following command.
  • Page 129 50 characters). *IDN? This command returns a string in the form: Keysight Technologies,33210A,0,f.ff-b.bb-aa-p SCPI Language Version Query The function generator complies with the rules and conventions of the present version of SCPI (Standard Commands for Programmable Instruments).
  • Page 130: Remote Interface Configuration

    4, Remote Interface Reference, starting on page 145. The Keysight 33210A supports remote interface communication using a choice of three interfaces: GPIB, USB, and LAN. All three interfaces are "live"...
  • Page 131 LAN Configuration The following sections describe the primary LAN configuration functions that you can set from the 33210A front-panel Utility menu. SCPI commands are listed where applicable. In addition, there are some LAN configuration functions that can be performed only by using the SCPI commands.
  • Page 132 IP address to a device on a network. DHCP is typically the easiest way to configure your Keysight 33210A for remote communication using the LAN interface. • Select DHCP On to use DHCP to automatically assign an IP address.
  • Page 133 Chapter 3 Features and Functions Remote Interface Configuration IP Address (LAN) You can enter a static IP address for the 33210A as a four-byte integer expressed in dot notation ("nnn.nnn.nnn.nnn", where "nnn" in each case is a byte value from 0 to 255). Each byte is expressed as a decimal value, with no leading zeros (for example, 169.254.2.20).
  • Page 134 Chapter 3 Features and Functions Remote Interface Configuration Subnet Mask (LAN) Subnetting allows the network administrator to divide a network into smaller networks to simplify administration and to minimize network traffic. The subnet mask indicates the portion of the host address to be used to indicate the subnet. •...
  • Page 135 Chapter 3 Features and Functions Remote Interface Configuration Host Name (LAN) A host name is the host portion of the domain name, which is translated into an IP address. • Contact your network administrator for the correct host name. • Enter the host name using the knob and cursor keys. Each character in the name can be a letter ("a"...
  • Page 136 Chapter 3 Features and Functions Remote Interface Configuration Domain Name (LAN) A domain name is a registered name on the Internet, which is translated into an IP address. • Contact your network administrator for the correct domain name. • Enter the domain name using the knob and cursor keys. Each character can be a letter ("a"...
  • Page 137 Chapter 3 Features and Functions Remote Interface Configuration Web Password (LAN) You can set a password to control access to your instrument via the Web Interface. The default is no password. • Enter the password using the knob and cursor keys. Each character must be a letter ("a"...
  • Page 138 Remote Interface Configuration Keysight 33210A Web Interface The Keysight 33210A provides a web interface resident in the instrument. You can use this interface over the LAN to view and modify the instrument’s I/O configuration. Also, a remote front panel interface is provided, which allows you to control the instrument over the network.
  • Page 139: External Timebase Reference (Option 001)

    Option 001 is the External Timebase Reference, which provides rear panel connectors (10 MHz In and 10 MHz Out) and circuitry to allow synchronization between multiple Keysight 33210A function generators or to an external 10 MHz clock signal. You can also set the phase offset of the output waveform from the front panel or over the remote interface.
  • Page 140 Chapter 3 Features and Functions External Timebase Reference (Option 001) 4. Leaving the phase setting at its default (zero) on the first 33210A, use the Adjust Phase feature to adjust the phase of the second 33210A to align the output signals:...
  • Page 141: Calibration Overview

    This section gives a brief introduction to the calibration features of the function generator. For a more detailed discussion of the calibration procedures, see chapter 4 in the Keysight 33210A Service Guide. Calibration Security This feature allows you to enter a security code to prevent accidental or unauthorized calibrations of the function generator.
  • Page 142 Chapter 3 Features and Functions Calibration Overview To Unsecure for Calibration You can unsecure the function generator either from the front panel or over the remote interface. The function generator is secured when shipped from the factory and the security code is set to “AT33210A”. •...
  • Page 143 Chapter 3 Features and Functions Calibration Overview To Change the Security Code To change the security code, you must first unsecure the function generator, and then enter a new code. Make sure you have read the security code rules described on page 139 before attempting to change the security code.
  • Page 144 Chapter 3 Features and Functions Calibration Overview Calibration Message The function generator allows you to store one message in calibration memory in the mainframe. For example, you can store such information as the date when the last calibration was performed, the date when the next calibration is due, the function generator's serial number, or the name and phone number of the person to contact for a new calibration.
  • Page 145: Factory Default Settings

    Factory Default Settings The table on the following page summarizes the factory default settings for the Keysight 33210A. Note: The power-on state will be different than that in the table if you have enabled the power-down recall mode. See “Instrument State...
  • Page 146 Chapter 3 Features and Functions Factory Default Settings Keysight 33210A Factory Default Settings Output Configuration Factory Setting Function Sine wave Frequency 1 kHz Amplitude / Offset 100 mVpp / 0.000 Vdc Output Units Output Termination 50Ω Autorange Modulation Factory Setting...
  • Page 147: Chapter 4 Remote Interface Reference

    Remote Interface Reference...
  • Page 148 Remote Interface Reference • SCPI Command Summary, on page 147 SCPI • Simplified Programming Overview, on page 160 • Using the APPLy Command, on page 162 • Output Configuration Commands, on page 171 • Pulse Configuration Commands, on page 184 •...
  • Page 149: Scpi Command Summary

    Chapter 4 Remote Interface Reference SCPI Command Summary SCPI Command Summary Throughout this manual, the following conventions are used for SCPI command syntax for remote interface programming: • Square brackets ( [ ] ) indicate optional keywords or parameters. • Braces ( { } ) enclose parameters within a command string. •...
  • Page 150 Chapter 4 Remote Interface Reference SCPI Command Summary Output Configuration Commands (see page 171 for more information) FUNCtion {SINusoid|SQUare|RAMP|PULSe|NOISe|DC|USER} FUNCtion? frequency FREQuency {< >|MINimum|MAXimum} FREQuency? [MINimum|MAXimum] amplitude VOLTage {< >|MINimum|MAXimum} VOLTage? [MINimum|MAXimum] offset VOLTage:OFFSet {< >|MINimum|MAXimum} VOLTage:OFFSet? [MINimum|MAXimum] VOLTage voltage :HIGH {<...
  • Page 151 Chapter 4 Remote Interface Reference SCPI Command Summary Pulse Configuration Commands (see page 184 for more information) seconds PULSe:PERiod {< >|MINimum|MAXimum} PULSe:PERiod? [MINimum|MAXimum] FUNCtion:PULSe :HOLD {WIDTh|DCYCle} :HOLD? [WIDTh|DCYCle] 50% to 50% Thresholds seconds :WIDTh {< >|MINimum|MAXimum} :WIDTh? [MINimum|MAXimum] percent :DCYCle {< >|MINimum|MAXimum} :DCYCle? [MINimum|MAXimum] >|MINimum|MAXimum} 10% to 90% Thresholds...
  • Page 152 Chapter 4 Remote Interface Reference SCPI Command Summary Modulation Commands (see page 189 for more information) AM Commands AM:INTernal :FUNCtion {SINusoid|SQUare|RAMP|NRAMp|TRIangle|NOISe|USER} :FUNCtion? AM:INTernal frequency :FREQuency {< >|MINimum|MAXimum} :FREQuency? [MINimum|MAXimum] depth in percent AM:DEPTh {< >|MINimum|MAXimum} AM:DEPTh? [MINimum|MAXimum] AM:SOURce {INTernal|EXTernal} AM:SOURce? AM:STATe {OFF|ON} AM:STATe? FM Commands...
  • Page 153 Chapter 4 Remote Interface Reference SCPI Command Summary PWM Commands PWM:INTernal :FUNCtion {SINusoid|SQUare|RAMP|NRAMp|TRIangle|NOISe|USER} :FUNCtion? PWM:INTernal frequency :FREQuency {< >|MINimum|MAXimum} :FREQuency? [MINimum|MAXimum] deviation in seconds PWM:DEViation {< >|MINimum|MAXimum} PWM:DEViation? [MINimum|MAXimum] deviation in percent PWM:DEViation:DCYCle {< >|MINimum|MAXimum} PWM:DEViation:DCYCle? [MINimum|MAXimum] PWM:SOURce {INTernal|EXTernal} PWM:SOURce? PWM:STATe {OFF|ON} PWM:STATe? Parameters shown in bold are selected following a *RST (reset) command.
  • Page 154 Chapter 4 Remote Interface Reference SCPI Command Summary Sweep Commands (see page 205 for more information) FREQuency frequency :STARt {< >|MINimum|MAXimum} :STARt? [MINimum|MAXimum] frequency :STOP {< >|MINimum|MAXimum} :STOP? [MINimum|MAXimum] FREQuency frequency :CENTer {< >|MINimum|MAXimum} :CENTer? [MINimum|MAXimum] frequency :SPAN {< >|MINimum|MAXimum} :SPAN? [MINimum|MAXimum] SWEep :SPACing {LINear|LOGarithmic}...
  • Page 155 Chapter 4 Remote Interface Reference SCPI Command Summary Burst Commands (see page 211 for more information) BURSt:MODE {TRIGgered|GATed} BURSt:MODE? # cycles BURSt:NCYCles {< >|INFinity|MINimum|MAXimum} BURSt:NCYCles? [MINimum|MAXimum] seconds BURSt:INTernal:PERiod {< >|MINimum|MAXimum} BURSt:INTernal:PERiod? [MINimum|MAXimum] angle BURSt:PHASe {< >|MINimum|MAXimum} BURSt:PHASe? [MINimum|MAXimum] BURSt:STATe {OFF|ON} BURSt:STATe? UNIT:ANGLe {DEGree|RADian} UNIT:ANGLe?
  • Page 156 Chapter 4 Remote Interface Reference SCPI Command Summary Arbitrary Waveform Commands (see page 222 for more information) Note: Arbitrary waveforms are optionally available with the 33210A (Option 002). To upgrade your 33210A to include arbitrary waveform www. keysight .com/find/33210U. functionality, go to value value DATA VOLATILE, <...
  • Page 157 Chapter 4 Remote Interface Reference SCPI Command Summary Triggering Commands (see page 219 for more information) These commands are used for Sweep and Burst only. TRIGger:SOURce {IMMediate|EXTernal|BUS} TRIGger:SOURce? TRIGger *TRG “Trig In” Connector TRIGger:SLOPe {POSitive|NEGative} TRIGger:SLOPe? External Gated Burst BURST:GATE:POLarity {NORMal|INVerted} BURST:GATE:POLarity? OUTPut “Trig Out”...
  • Page 158 Chapter 4 Remote Interface Reference SCPI Command Summary System-Related Commands (see page 237 for more information) SYSTem:ERRor? *IDN? DISPlay {OFF|ON} DISPlay? DISPlay quoted string :TEXT < > :TEXT? :TEXT:CLEar *RST *TST? SYSTem:VERSion? SYSTem :BEEPer :BEEPer:STATe {OFF|ON} :BEEPer:STATe? SYSTem :KLOCk[:STATe] {OFF|ON} :KLOCk:EXCLude {NONE|LOCal} :KLOCk:EXCLude? Caution.
  • Page 159 Chapter 4 Remote Interface Reference SCPI Command Summary Interface Configuration Commands (see page 242 for more information) SYSTem:LOCal SYSTem:REMote SYSTem:RWLock SYSTem:COMMunicate:RLSTate {LOCal|REMote|RWLock} SYSTem:COMMunicate:GPIB :ADDRess < address > :ADDRess? SYSTem:COMMunicate:LAN :AUTOip[:STATe] {OFF|0|ON|1} :AUTOip[:STATe]? :IPADdress < address > :IPADdress? :LIPaddress? :MAC? :MEDiasense {OFF|0|ON|1} :MEDiasense? :NETBios {OFF|0|ON|1} :NETBios?
  • Page 160 Chapter 4 Remote Interface Reference SCPI Command Summary Phase-Lock Commands These commands require Option 001, External Timebase Reference (see page 247 for more information). angle PHASe {< >|MINimum|MAXimum} PHASe? [MINimum|MAXimum] PHASe:REFerence PHASe:UNLock:ERRor:STATe {OFF|ON} PHASe:UNLock:ERRor:STATe? UNIT:ANGLe {DEGree|RADian} UNIT:ANGLe? Status Reporting Commands (see page 259 for more information) *STB? enable value...
  • Page 161 Chapter 4 Remote Interface Reference SCPI Command Summary Calibration Commands (see page 263 for more information) CAL? code :SECure:STATe {OFF|ON},< > :SECure:STATe? new code :SECure:CODE < > :SETup <0|1|2|3| . . . |94> :SETup? value :VALue < > :VALue? :COUNt? quoted string :STRing <...
  • Page 162: Simplified Programming Overview

    Chapter 4 Remote Interface Reference Simplified Programming Overview Simplified Programming Overview This section gives an overview of the basic techniques used to program the function generator over the remote interface. This section is only an overview and does not give all of the details you will need to write your own application programs.
  • Page 163 Chapter 4 Remote Interface Reference Simplified Programming Overview Reading a Query Response Only the query commands (commands that end with “?”) will instruct the function generator to send a response message. Queries return internal instrument settings. For example, the following command string sent from your computer will read the function generator’s error queue and retrieve the response from the most recent error.
  • Page 164: Using The Apply Command

    Chapter 4 Remote Interface Reference Using the APPLy Command Using the APPLy Command See also “Output Configuration” starting on page 53 in chapter 3. The APPLy command provides the most straightforward method to program the function generator over the remote interface. You can select the function, frequency, amplitude, and offset all in one command as shown in the syntax statement below.
  • Page 165 Chapter 4 Remote Interface Reference Using the APPLy Command Output Frequency • For the frequency parameter of the APPLy command, the output frequency range depends on the function specified. You can substitute “MINimum”, “MAXimum”, or “DEFault” in place of a specific value for the frequency parameter.
  • Page 166 Chapter 4 Remote Interface Reference Using the APPLy Command Output Amplitude • For the amplitude parameter of the APPLy command, the output amplitude range depends on the function specified and the output termination. You can substitute “MINimum”, “MAXimum”, or “DEFault” in place of a specific value for the amplitude parameter.
  • Page 167 Chapter 4 Remote Interface Reference Using the APPLy Command • You cannot specify the output amplitude in dBm if the output termination is currently set to “high impedance”. The units are automatically converted to Vpp. See the VOLT:UNIT command on page 183 for more information.
  • Page 168 Chapter 4 Remote Interface Reference Using the APPLy Command DC Offset Voltage • For the offset parameter of the APPLy command, you can substitute “MINimum”, “MAXimum”, or “DEFault” in place of a specific value for the parameter. MIN selects the most negative dc offset voltage for the function and amplitude specified.
  • Page 169 Chapter 4 Remote Interface Reference Using the APPLy Command APPLy Command Syntax • Because of the use of optional parameters in the APPLy commands (enclosed in square brackets), you must specify frequency to use the amplitude parameter, and you must specify both frequency and amplitude to use the offset parameter.
  • Page 170 Chapter 4 Remote Interface Reference Using the APPLy Command APPLy:SINusoid [<frequency> [,<amplitude> [,<offset>] ]] Output a sine wave with the specified frequency, amplitude, and dc offset. The waveform is output as soon as the command is executed. APPLy:SQUare [<frequency> [,<amplitude> [,<offset>] ]] Output a square wave with the specified frequency, amplitude, and dc offset.
  • Page 171 APPL:DC DEF, DEF, -2.5 APPLy:USER [<frequency> [,<amplitude> [,<offset>] ]] Note: Arbitrary waveforms are optionally available with the 33210A (Option 002). To upgrade your 33210A to include arbitrary waveform www. keysight .com/find/33210U. functionality, go to Output the arbitrary waveform currently selected by the FUNC:USER command.
  • Page 172 Chapter 4 Remote Interface Reference Using the APPLy Command APPLy? Query the function generator’s current configuration and return a quoted string. The purpose of this command is to allow you to append this query response to an APPL: command in your programming application and use the result to place the function generator in the specified state.
  • Page 173: Output Configuration Commands

    Chapter 4 Remote Interface Reference Output Configuration Commands Output Configuration Commands See also “Output Configuration” starting on page 53 in chapter 3. This section describes the low-level commands used to program the function generator. Although the APPLy command provides the most straightforward method to program the function generator, the low-level commands give you more flexibility to change individual parameters.
  • Page 174 Chapter 4 Remote Interface Reference Output Configuration Commands • Function Limitations: If you change to a function whose maximum frequency is less than that of the current function, the frequency is adjusted to the maximum value for the new function. For example, if you are currently outputting a 10 MHz sine wave and then change to the ramp function, the function generator will automatically adjust the output frequency to 100 kHz (the upper limit for ramps).
  • Page 175 Chapter 4 Remote Interface Reference Output Configuration Commands FREQuency {<frequency>|MINimum|MAXimum} FREQuency? [MINimum|MAXimum] Set the output frequency. MIN selects the lowest frequency allowed for the selected function and MAX selects the highest frequency allowed. The default is 1 kHz for all functions. The FREQ? query returns the frequency setting in hertz for the function currently selected.
  • Page 176 Chapter 4 Remote Interface Reference Output Configuration Commands VOLTage {<amplitude>|MINimum|MAXimum} VOLTage? [MINimum|MAXimum] Set the output amplitude. The default amplitude is 100 mVpp (into 50Ω) for all functions. MIN selects the smallest amplitude (10 mVpp into 50Ω). MAX selects the largest amplitude for the selected function (at most 10 Vpp into 50Ω...
  • Page 177 Chapter 4 Remote Interface Reference Output Configuration Commands • Limits Due to Units Selection: In some cases, the amplitude limits are determined by the output units selected. This may occur when the units are Vrms or dBm due to the differences in crest factor for the various output functions.
  • Page 178 Chapter 4 Remote Interface Reference Output Configuration Commands VOLTage:OFFSet {<offset>|MINimum|MAXimum} VOLTage:OFFSet? [MINimum|MAXimum] Set the dc offset voltage. The default offset is 0 volts for all functions. MIN selects the most negative dc offset voltage for the selected function and amplitude. MAX selects the largest dc offset for the selected function and amplitude.
  • Page 179 Chapter 4 Remote Interface Reference Output Configuration Commands • You can also set the offset by specifying a high level and low level. For example, if you set the high level to +2 volts and the low level to -3 volts, the resulting amplitude is 5 Vpp (with an associated offset voltage of -500 mV).
  • Page 180 Chapter 4 Remote Interface Reference Output Configuration Commands • Note that when you set the high and low levels, you are also setting the amplitude of the waveform. For example, if you set the high level to +2 volts and the low level to -3 volts, the resulting amplitude is 5 Vpp (with an offset voltage of -500 mV).
  • Page 181 Chapter 4 Remote Interface Reference Output Configuration Commands FUNCtion:SQUare:DCYCle {<percent>|MINimum|MAXimum} FUNCtion:SQUare:DCYCle? [MINimum|MAXimum] Set the duty cycle percentage for square waves. Duty cycle represents the amount of time per cycle that the square wave is at a high level (assuming that the waveform polarity is not inverted). The default is 50%. MIN selects the minimum duty cycle for the selected frequency and MAX selects the maximum duty cycle (see restrictions below).
  • Page 182 Chapter 4 Remote Interface Reference Output Configuration Commands FUNCtion:RAMP:SYMMetry {<percent>|MINimum|MAXimum} FUNCtion:RAMP:SYMMetry? [MINimum|MAXimum] Set the symmetry percentage for ramp waves. Symmetry represents the amount of time per cycle that the ramp wave is rising (assuming that the waveform polarity is not inverted). You can set the symmetry to any value from 0% to 100%.
  • Page 183 OUTPut:LOAD? [MINimum|MAXimum] Select the desired output termination (i.e., the impedance of the load attached to the output of the Keysight 33210A). The specified value is used for amplitude, offset, and high/low level settings. You can set the load to any value from 1Ω to 10 kΩ. MIN selects 1Ω. MAX selects 10 kΩ.
  • Page 184 Chapter 4 Remote Interface Reference Output Configuration Commands OUTPut:POLarity {NORMal|INVerted} OUTPut:POLarity? Invert the waveform relative to the offset voltage. In the normal mode (default), the waveform goes positive during the first part of the cycle. In the inverted mode, the waveform goes negative during the first part of the cycle.
  • Page 185 Chapter 4 Remote Interface Reference Output Configuration Commands VOLTage:UNIT {VPP|VRMS|DBM} VOLTage:UNIT? Select the units for output amplitude (does not affect offset voltage or high/low levels). The default is VPP. The :UNIT? query returns “VPP”, “VRMS”, or “DBM”. • The function generator uses the current units selection for both front panel and remote interface operations.
  • Page 186: Pulse Configuration Commands

    Chapter 4 Remote Interface Reference Pulse Configuration Commands Pulse Configuration Commands See also “Pulse Waveforms” starting on page 68 in chapter 3. This section describes the low-level commands used to program the function generator to output a pulse waveform. To select the pulse function, use the FUNC PULS command (see page 171).
  • Page 187 Chapter 4 Remote Interface Reference Pulse Configuration Commands • This command affects the period (and frequency) for all waveform functions (not just pulse). For example, if you select a period using the PULS:PER command and then change the function to sine wave, the specified period will be used for the new function.
  • Page 188 Chapter 4 Remote Interface Reference Pulse Configuration Commands FUNCtion:PULSe:WIDTh {<seconds>|MINimum|MAXimum} FUNCtion:PULSe:WIDTh? [MINimum|MAXimum] Set the pulse width in seconds. The pulse width represents the time from the 50% threshold of the rising edge of the pulse to the 50% threshold of the next falling edge.
  • Page 189 Chapter 4 Remote Interface Reference Pulse Configuration Commands FUNCtion:PULSe:DCYCle {<percent>|MINimum|MAXimum} FUNCtion:PULSe:DCYCle? [MINimum|MAXimum] Set the pulse duty cycle in percent. The the pulse duty cycle is defined as: Duty Cycle = 100 X Pulse Width ÷ Period where the pulse width represents the time from the 50% threshold of the rising edge of the pulse to the 50% threshold of the next falling edge.
  • Page 190 Chapter 4 Remote Interface Reference Pulse Configuration Commands • The specified pulse duty cycle may affect the edge time. The edge time is adjusted first, and then the duty cycle to accommodate the specified period, conforming to the following restriction. From the remote interface, a “Data out of range”...
  • Page 191: Amplitude Modulation (Am) Commands

    Chapter 4 Remote Interface Reference Amplitude Modulation (AM) Commands Amplitude Modulation (AM) Commands See also “Amplitude Modulation” starting on page 72 in chapter 3. AM Overview The following is an overview of the steps required to generate an AM waveform. The commands used for AM are listed on the next page. 1 Configure the carrier waveform.
  • Page 192 Chapter 4 Remote Interface Reference Amplitude Modulation (AM) Commands AM Commands Use the APPLy command or the equivalent FUNC, FREQ, VOLT, and VOLT:OFFS commands to configure the carrier waveform. AM:SOURce {INTernal|EXTernal} AM:SOURce? Select the source of the modulating signal. The function generator will accept an internal or external modulation source.
  • Page 193 (“USER”), the waveform is automatically limited to 4K points. Extra waveform points are removed using decimation. Note: Arbitrary waveforms are optionally available with the 33210A (Option 002). To upgrade your 33210A to include arbitrary waveform www. keysight .com/find/33210U. functionality, go to AM:INTernal:FREQuency {<frequency>|MINimum|MAXimum}...
  • Page 194 Chapter 4 Remote Interface Reference Amplitude Modulation (AM) Commands AM:STATe {OFF|ON} AM:STATe? Disable or enable AM. To avoid multiple waveform changes, you can enable AM after you have set up the other modulation parameters. The default is OFF. The :STAT? query returns “0” (OFF) or “1” (ON). •...
  • Page 195: Frequency Modulation (Fm) Commands

    Chapter 4 Remote Interface Reference Frequency Modulation (FM) Commands Frequency Modulation (FM) Commands See also “Frequency Modulation” starting on page 77 in chapter 3. FM Overview The following is an overview of the steps required to generate an FM waveform. The commands used for FM are listed on the next page. 1 Configure the carrier waveform.
  • Page 196 Chapter 4 Remote Interface Reference Frequency Modulation (FM) Commands FM Commands Use the APPLy command or the equivalent FUNC, FREQ, VOLT, and VOLT:OFFS commands to configure the carrier waveform. FM:SOURce {INTernal|EXTernal} FM:SOURce? Select the source of the modulating signal. The function generator will accept an internal or external modulation source.
  • Page 197 (“USER”), the waveform is automatically limited to 4K points. Extra waveform points are removed using decimation. Note: Arbitrary waveforms are optionally available with the 33210A (Option 002). To upgrade your 33210A to include arbitrary waveform www. keysight .com/find/33210U. functionality, go to FM:INTernal:FREQuency {<frequency>|MINimum|MAXimum}...
  • Page 198 Chapter 4 Remote Interface Reference Frequency Modulation (FM) Commands • The sum of the carrier frequency and deviation must be less than or equal to the maximum frequency for the selected function plus 100 kHz (10.1 MHz for sine and square waveforms). If you attempt to set the deviation to a value that is not valid, the function generator will automatically adjust it to the maximum value allowed with the present carrier frequency.
  • Page 199: Pulse Width Modulation (Pwm) Commands

    Chapter 4 Remote Interface Reference Pulse Width Modulation (PWM) Commands Pulse Width Modulation (PWM) Commands See also “Pulse Width Modulation” on page 93 in chapter 3. PWM Overview The following is an overview of the steps required to generate a PWM waveform.
  • Page 200 Chapter 4 Remote Interface Reference Pulse Width Modulation (PWM) Commands PWM Commands Use the APPLy command or the equivalent FUNC, FREQ, VOLT, and VOLT:OFFS commands to configure the carrier waveform. PWM:SOURce {INTernal|EXTernal} PWM:SOURce? Select the source of the modulating signal. The function generator will accept an internal or external modulation source.
  • Page 201 (“USER”), the waveform is automatically limited to 4K points. Extra waveform points are removed using decimation. Note: Arbitrary waveforms are optionally available with the 33210A (Option 002). To upgrade your 33210A to include arbitrary waveform www. keysight .com/find/33210U. functionality, go to PWM:INTernal:FREQuency {<frequency>|MINimum|MAXimum}...
  • Page 202 Chapter 4 Remote Interface Reference Pulse Width Modulation (PWM) Commands • The pulse width deviation is limited by the current edge time setting. Width Deviation < Pulse Width – (1.6 X Edge Time) Width Deviation < Period – Pulse Width – (1.6 X Edge Time) •...
  • Page 203 Chapter 4 Remote Interface Reference Pulse Width Modulation (PWM) Commands • The duty cycle deviation is also limited by the minimum pulse width (Wmin): Duty Cycle Deviation < Duty Cycle – 100 X Wmin ÷ Period Duty Cycle Deviation < 100 – Duty Cycle – 100 X Wmin ÷ Period where: Wmin = 40 ns for period <...
  • Page 204 Chapter 4 Remote Interface Reference Pulse Width Modulation (PWM) Commands PWM:STATe {OFF|ON} PWM:STATe? Disable or enable PWM. To avoid multiple waveform changes, you can enable PWM after you have set up the other modulation parameters. The default is OFF. The :STAT? query returns “0” (OFF) or “1” (ON). •...
  • Page 205: Frequency Sweep Commands

    Chapter 4 Remote Interface Reference Frequency Sweep Commands Frequency Sweep Commands See also “Frequency Sweep” starting on page 90 in chapter 3. Sweep Overview The following is an overview of the steps required to generate a sweep. The commands used for sweep are listed on page 205. 1 Select the waveform shape, amplitude, and offset.
  • Page 206 Chapter 4 Remote Interface Reference Frequency Sweep Commands 4 Set the sweep time. Use the SWE:TIME command to set the number of seconds required to sweep from the start frequency to the stop frequency. 5 Select the sweep trigger source. Use the TRIG:SOUR command to select the source from which the sweep will be triggered.
  • Page 207 Chapter 4 Remote Interface Reference Frequency Sweep Commands Sweep Commands FREQuency:STARt {<frequency>|MINimum|MAXimum} FREQuency:STARt? [MINimum|MAXimum] Set the start frequency (used in conjunction with the stop frequency). Select from 1 mHz to 10 MHz (limited to 100 kHz for a ramp waveform). The default is 100 Hz.
  • Page 208 Chapter 4 Remote Interface Reference Frequency Sweep Commands FREQuency:CENTer {<frequency>|MINimum|MAXimum} FREQuency:CENTer? [MINimum|MAXimum] Set the center frequency (used in conjunction with the frequency span). Select from 1 mHz to 10 MHz (limited to 100 kHz for a ramp waveform). The default is 550 Hz. MIN = 1 mHz. MAX = based on the frequency span and maximum frequency for the selected function as shown below.
  • Page 209 Chapter 4 Remote Interface Reference Frequency Sweep Commands SWEep:SPACing {LINear|LOGarithmic} SWEep:SPACing? Select linear or logarithmic spacing for the sweep. The default is Linear. The :SPAC? query returns “LIN” or “LOG”. • For a linear sweep, the function generator varies the output frequency in a linear fashion during the sweep.
  • Page 210 Chapter 4 Remote Interface Reference Frequency Sweep Commands TRIGger:SOURce {IMMediate|EXTernal|BUS} TRIGger:SOURce? Select the source from which the function generator will accept a trigger. The function generator will accept an immediate internal trigger, a hardware trigger from the rear-panel Trig In connector, or a software (bus) trigger.
  • Page 211 Chapter 4 Remote Interface Reference Frequency Sweep Commands TRIGger:SLOPe {POSitive|NEGative} TRIGger:SLOPe? Select whether the function generator uses the rising edge or falling edge of the trigger signal on the rear-panel Trig In connector for an externally-triggered sweep. The default is POS (rising edge). The :SLOP? query returns “POS”...
  • Page 212 Chapter 4 Remote Interface Reference Frequency Sweep Commands MARKer:FREQuency {<frequency>|MINimum|MAXimum} MARKer:FREQuency? [MINimum|MAXimum] Set the marker frequency. This is the frequency at which the signal on the front-panel Sync connector goes to a logic low during the sweep. The Sync signal always goes from low to high at the beginning of the sweep.
  • Page 213: Burst Mode Commands

    Chapter 4 Remote Interface Reference Burst Mode Commands Burst Mode Commands See also “Burst Mode” starting on page 97 in chapter 3. Burst Mode Overview The following is an overview of the steps required to generate a burst. You can use burst in one of two modes as described below. The function generator enables one burst mode at a time.
  • Page 214 Chapter 4 Remote Interface Reference Burst Mode Commands 1 Configure the burst waveform. Use the APPLy command or the equivalent FUNC, FREQ, VOLT, and VOLT:OFFS commands to select the function, frequency, amplitude, and offset of the waveform. You can select a sine, square, or ramp waveform (pulse, noise, dc, and arbitrary are not allowed).
  • Page 215 Chapter 4 Remote Interface Reference Burst Mode Commands Burst Mode Commands Use the APPLy command or the equivalent FUNC, FREQ, VOLT, and VOLT:OFFS commands to configure the waveform. For internally- triggered bursts, the minimum frequency is 2.001 mHz. For sine and square waveforms, frequencies above 3 MHz are allowed only with an “infinite”...
  • Page 216 Chapter 4 Remote Interface Reference Burst Mode Commands BURSt:NCYCles {<# cycles>|INFinity|MINimum|MAXimum} BURSt:NCYCles? [MINimum|MAXimum] Set the number of cycles to be output per burst (triggered burst mode only). Select from 1 cycle to 50,000 cycles, in 1 cycle increments (see the restrictions below).
  • Page 217 Chapter 4 Remote Interface Reference Burst Mode Commands BURSt:INTernal:PERiod {<seconds>|MINimum|MAXimum} BURSt:INTernal:PERiod? [MINimum|MAXimum] Set the burst period for internally-triggered bursts. The burst period defines time from the start of one burst to the start of the next burst. Select from 1 µs to 500 seconds. The default is 10 ms. MAX = 500 s. MIN = based on the burst count and waveform frequency as shown below.
  • Page 218 Chapter 4 Remote Interface Reference Burst Mode Commands BURSt:STATe {OFF|ON} BURSt:STATe? Disable or enable the burst mode. To avoid multiple waveform changes, you can enable the burst mode after you have set up the other burst parameters. The default is OFF. The :STAT? query returns “0” (OFF) or “1”...
  • Page 219 Chapter 4 Remote Interface Reference Burst Mode Commands • When the Bus (software) source is selected, the function generator outputs one burst each time a bus trigger command is received. To trigger the function generator from the remote interface (GPIB, USB, or LAN), send the *TRG (trigger) command.
  • Page 220 Chapter 4 Remote Interface Reference Burst Mode Commands BURSt:GATE:POLarity {NORMal|INVerted} BURSt:GATE:POLarity? Select whether the function generator uses true-high or true-low logic levels on the rear-panel Trig In connector for an externally-gated burst. The default is NORM (true-high logic). The :POL? query returns “NORM”...
  • Page 221: Triggering Commands

    Chapter 4 Remote Interface Reference Triggering Commands Triggering Commands Applies to Sweep and Burst only. See also “Triggering” starting on page 106 in chapter 3. TRIGger:SOURce {IMMediate|EXTernal|BUS} TRIGger:SOURce? Select the source from which the function generator will accept a trigger. The function generator will accept an immediate internal trigger, a hardware trigger from the rear-panel Trig In connector, or a software (bus) trigger.
  • Page 222 Chapter 4 Remote Interface Reference Triggering Commands • To ensure synchronization when the Bus source is selected, send the *WAI (wait) command. When the *WAI command is executed, the function generator waits for all pending operations to complete before executing any additional commands. For example, the following command string guarantees that the first trigger is accepted and the operation is executed before the second trigger is recognized.
  • Page 223 Chapter 4 Remote Interface Reference Triggering Commands OUTPut:TRIGger:SLOPe {POSitive|NEGative} OUTPut:TRIGger:SLOPe? Select a rising or falling edge for the “trigger out” signal. When enabled using the OUTP:TRIG command (see below), a TTL-compatible square waveform with the specified edge is output from the rear-panel Trig Out connector at the beginning of the sweep or burst.
  • Page 224: Arbitrary Waveform Commands (Option 002)

    Arbitrary Waveform Commands (Option 002) See also “Optional Arbitrary Waveforms (Option 002)” starting on page 112 in chapter 3. Note: Arbitrary waveforms are optionally available with the 33210A (Option 002). To upgrade your 33210A to include arbitrary waveform www. keysight .com/find/33210U. functionality, go to...
  • Page 225 Chapter 4 Remote Interface Reference Arbitrary Waveform Commands (Option 002) 3 Copy the arbitrary waveform to non-volatile memory. You can output the arbitrary waveform directly from volatile memory or you can copy the waveform to non-volatile memory using the DATA:COPY command. 4 Select the arbitrary waveform to output.
  • Page 226 *OPT? Query whether optional arbitrary waveforms are currently enabled. Returns “002” if arbitrary waveforms are enabled. Returns “0” if arbitrary waveforms are not enabled. Note: To upgrade your 33210A arbitrary waveform functionality (Option www. keysight .com/find/ 33210U. 002), go to DATA VOLATILE, <...
  • Page 227 Chapter 4 Remote Interface Reference Arbitrary Waveform Commands (Option 002) to output it. • The following statement shows how to use the DATA command to download seven points to volatile memory. DATA VOLATILE, 1, .67, .33, 0, -.33, -.67, -1 DATA:DAC VOLATILE, {<binary block>|<value>, <value>, .
  • Page 228 Chapter 4 Remote Interface Reference Arbitrary Waveform Commands (Option 002) • The following statement shows how to use the DATA:DAC command to download seven integer points using the binary block format (see also “Using the IEEE-488.2 Binary Block Format” below). Binary Data DATA:DAC VOLATILE, #214 •...
  • Page 229 Chapter 4 Remote Interface Reference Arbitrary Waveform Commands (Option 002) FORMat:BORDer {NORMal|SWAPped} FORMat:BORDer? Used for binary block transfers only. Select the byte order for binary transfers in the block mode using the DATA:DAC command. The default is NORM. The :BORD? query returns “NORM” or “SWAP”. •...
  • Page 230 Chapter 4 Remote Interface Reference Arbitrary Waveform Commands (Option 002) • If you copy to a waveform name that already exists, the previous waveform is overwritten (and no error will be generated). However, you cannot overwrite any of the five built-in waveforms. •...
  • Page 231 Chapter 4 Remote Interface Reference Arbitrary Waveform Commands (Option 002) • The function generator does not distinguish between upper- and lower-case letters. Therefore, ARB_1 and arb_1 are the same name. All characters are converted to upper case. • Use the DATA:CAT? command to list the names of the five built-in waveforms (non-volatile), “VOLATILE”...
  • Page 232 Chapter 4 Remote Interface Reference Arbitrary Waveform Commands (Option 002) DATA:CATalog? List the names of all waveforms currently available for selection. Returns the names of the five built-in waveforms (non-volatile memory), “VOLATILE” if a waveform is currently downloaded to volatile memory, and all user-defined waveforms downloaded to non-volatile memory.
  • Page 233 Chapter 4 Remote Interface Reference Arbitrary Waveform Commands (Option 002) DATA:DELete <arb name> Delete the specified arbitrary waveform from memory. You can delete the waveform in volatile memory or any of the four user-defined waveforms in non-volatile memory. • You cannot delete the arbitrary waveform that is currently being output.
  • Page 234 Chapter 4 Remote Interface Reference Arbitrary Waveform Commands (Option 002) DATA:ATTRibute:AVERage? [<arb name>] Query the arithmetic average of all data points for the specified arbitrary waveform (-1 ≤ average ≤ +1). The default arb name is the arbitrary waveform currently active (selected with FUNC:USER command). •...
  • Page 235: State Storage Commands

    Chapter 4 Remote Interface Reference State Storage Commands State Storage Commands The function generator has five storage locations in non-volatile memory to store instrument states. The locations are numbered 0 through 4. The function generator automatically uses location “0” to hold the state of the instrument at power down.
  • Page 236 Chapter 4 Remote Interface Reference State Storage Commands • When power is turned off, the function generator automatically stores its state in storage location “0”. You can configure the function generator to automatically recall the power-down state when power is restored. See the MEM:STAT:REC:AUTO command on page 236 for more information.
  • Page 237 Chapter 4 Remote Interface Reference State Storage Commands MEMory:STATe:NAME {0|1|2|3|4} [,<name>] MEMory:STATe:NAME? {0|1|2|3|4} Assign a custom name to the specified storage location. You can name a location from the front panel or over the remote interface, but you can only recall a state by name from the front panel (the *RCL command requires a numeric parameter).
  • Page 238 Chapter 4 Remote Interface Reference State Storage Commands MEMory:STATe:RECall:AUTO {OFF|ON} MEMory:STATe:RECall:AUTO? Disable or enable the automatic recall of the power-down state from storage location “0” when power is turned on. Select “ON” to automatically recall the power-down state when power is turned on. Select “OFF” (default) to issue a reset (*RST command) when power is turned on (state “0”...
  • Page 239: System-Related Commands

    Chapter 4 Remote Interface Reference System-Related Commands System-Related Commands See also “System-Related Operations” starting on page 119 in chapter 3. SYSTem:ERRor? Read and clear one error from the function generator’s error queue. A record of up to 20 command syntax or hardware errors can be stored in the error queue.
  • Page 240 • The command returns a string with the following format (be sure to dimension a string variable with at least 50 characters). Keysight Technologies,33210A,<serial number>,f.ff-b.bb-aa-p f.ff = Firmware revision number b.bb = Boot kernel revision number...
  • Page 241 Chapter 4 Remote Interface Reference System-Related Commands DISPlay:TEXT <quoted string> DISPlay:TEXT? Display a text message on the function generator’s front-panel display. Sending a text message to the display overrides the display state as set by the DISP command. The :TEXT? query reads the message sent to the front-panel display and returns a quoted string.
  • Page 242 Chapter 4 Remote Interface Reference System-Related Commands *TST? Perform a complete self-test of the function generator. Returns “+0” (PASS) or “+1” (FAIL). If the test fails, one or more error messages will be generated to provide additional information on the failure. Use the SYST:ERR? command to read the error queue (see page 237).
  • Page 243 Query whether optional arbitrary waveforms are currently enabled. Returns “002” if arbitrary waveforms are enabled. Returns “0” if arbitrary waveforms are not enabled. Note: To upgrade your 33210A to include arbitrary waveform www. keysight .com/find/ functionality (Option 002), go to 33210U.
  • Page 244: Interface Configuration Commands

    (including the key). GPIB Interface Commands: SYSTem:COMMunicate:GPIB:ADDRess < address > SYSTem:COMMunicate:GPIB:ADDRess? Sets the GPIB (IEEE-488) address for the 33210A. The GPIB address can take any value between 0 and 30. The factory default is 10.
  • Page 245 SYSTem:COMMunicate:LAN:AUTOip[:STATe]? Disables or enables use of the Auto-IP standard to automatically assign an IP address to the 33210A. The factory setting is enabled (ON). The query returns “0” (OFF) or “1” (ON). • If you change the Auto-IP setting, you must cycle power on the instrument to activate the new setting.
  • Page 246 Returns the “last valid Auto IP address used” in dot notation (for example: “169.254.20.11”). SYSTem:COMMunicate:LAN:MAC? Returns the 33210A’s Media Access Control (MAC) address. This is an unchangeable 48-bit address assigned by the manufacturer to each unique internet device. The MAC address is represented as 12 hexadecimal characters in the form “XX-XX-XX-XX-XX-XX”...
  • Page 247 SYSTem:COMMunicate:LAN:NETBios? Disables or enables the use of NETBios to automatically assign an IP address to the 33210A for peer-to-peer naming on a private network that uses the NETBios naming service. The factory setting is enabled (ON). The query returns “0” (OFF) or “1” (ON).
  • Page 248 • The welcome message is stored in non-volatile memory, and does not change when power has been off, or after an instrument reset (*RST). LAN Port Usage The Keysight 33210A uses LAN port 5024 for Telnet sessions, but uses LAN port 5025 for Socket sessions. For further information on socket sessions, see the white paper “Socket Connections...
  • Page 249: Phase-Lock Commands (Option 001 Only)

    Note: You can use the phase lock commands described below to synchronize multiple 33210A instruments only if all of these instruments have Option 001, External Timebase Reference, installed. This option provides the “10 MHz Out”...
  • Page 250 Chapter 4 Remote Interface Reference Phase-Lock Commands (Option 001 Only) • The specified phase adjustment causes a “bump” or “hop” in the output waveform in order to change the phase relationship to the external signal to which it is currently locked. •...
  • Page 251: The Scpi Status System

    Chapter 4 Remote Interface Reference The SCPI Status System The SCPI Status System This section describes the structure of the SCPI status system used by the function generator. The status system records various conditions and states of the instrument in several register groups as shown on the following page.
  • Page 252 Chapter 4 Remote Interface Reference The SCPI Status System Keysight 33210A Status System NOTES: Questionable Data Register C = Condition Register EV = Event Register Volt Ovld EN = Enable Register Ovld = Overload Loop Unlock “OR” Cal Error External Ref...
  • Page 253 Chapter 4 Remote Interface Reference The SCPI Status System The Status Byte Register The Status Byte summary register reports conditions from the other status registers. Data that is waiting in the function generator’s output buffer is immediately reported on the “Message Available” bit (bit 4). Clearing an event register from one of the other register groups will clear the corresponding bits in the Status Byte condition register.
  • Page 254 Chapter 4 Remote Interface Reference The SCPI Status System The Status Byte condition register is cleared when: • You execute the *CLS (clear status) command. • You read the event register from one of the other register groups (only the corresponding bits are cleared in the condition register). The Status Byte enable register is cleared when: •...
  • Page 255 Chapter 4 Remote Interface Reference The SCPI Status System Using Service Request (SRQ) and Serial Poll You must configure your computer to respond to the IEEE-488 service request (SRQ) interrupt to use this capability. Use the Status Byte enable register (*SRE command) to select which condition bits will assert the IEEE-488 SRQ line.
  • Page 256 Chapter 4 Remote Interface Reference The SCPI Status System Using the Message Available Bit (MAV) You can use the Status Byte “Message Available” bit (bit 4) to determine when data is available to read into your computer. The instrument subsequently clears bit 4 only after all messages have been read from the output buffer.
  • Page 257 Chapter 4 Remote Interface Reference The SCPI Status System The Questionable Data Register The Questionable Data register group provides information about the quality or integrity of the function generator. Any or all of these conditions can be reported to the Questionable Data summary bit through the enable register.
  • Page 258 Chapter 4 Remote Interface Reference The SCPI Status System The Questionable Data event register is cleared when: • You execute the *CLS (clear status) command. • You query the event register using the STAT:QUES:EVEN? command. The Questionable Data enable register is cleared when: •...
  • Page 259 Chapter 4 Remote Interface Reference The SCPI Status System The Standard Event Register The Standard Event register group reports the following types of events: power-on detected, command syntax errors, command execution errors, self-test or calibration errors, query errors, or the *OPC command has been executed.
  • Page 260 Chapter 4 Remote Interface Reference The SCPI Status System The Standard event register is cleared when: • You execute the *CLS command. • You query the event register using the *ESR? command. The Standard Event enable register is cleared when: •...
  • Page 261: Status Reporting Commands

    Chapter 4 Remote Interface Reference Status Reporting Commands Status Reporting Commands Use the following commands to access the Status System Registers. Status Byte Register Commands See the table on page 251 for the register bit definitions. *STB? Query the summary (condition) register in this register group. This command is similar to a Serial Poll but it is processed like any other instrument command.
  • Page 262 Chapter 4 Remote Interface Reference Status Reporting Commands Questionable Data Register Commands See the table on page 255 for the register bit definitions. STATus:QUEStionable:CONDition? Query the condition register in this group. This is a read-only register and bits are not cleared when you read the register. A query of this register returns a decimal value which corresponds to the binary- weighted sum of all bits set in the register.
  • Page 263 Chapter 4 Remote Interface Reference Status Reporting Commands Standard Event Register Commands See the table on page 257 for the register bit definitions. *ESR? Query the Standard Event Status Register. Once a bit is set, it remains set until cleared by a *CLS (clear status) command or queried by this command.
  • Page 264 Chapter 4 Remote Interface Reference Status Reporting Commands Miscellaneous Status Register Commands *CLS Clear the event register in all register groups. This command also clears the error queue and cancels a *OPC operation. STATus:PRESet Clear all bits in the Questionable Data enable register and the Standard Operation enable register.
  • Page 265: Calibration Commands

    For an overview of the calibration features of the function generator, refer to “Calibration Overview” in chapter 3 starting on page 139. For a detailed discussion of the function generator’s calibration procedures, refer to chapter 4 in the Keysight 33210A Service Guide. CAL:SECure:STATe {OFF|ON} , <code> CAL:SECure:STATe? Unsecure or secure the instrument for calibration.
  • Page 266 Chapter 4 Remote Interface Reference Calibration Commands CAL:SECure:CODE <new code> Enter a new security code. To change the security code, you must first unsecure the function generator using the old security code, and then enter a new code. The security code is stored in non-volatile memory. •...
  • Page 267: An Introduction To The Scpi Language

    Chapter 4 Remote Interface Reference An Introduction to the SCPI Language An Introduction to the SCPI Language SCPI (Standard Commands for Programmable Instruments) is an ASCII-based instrument command language designed for test and measurement instruments. Refer to “Simplified Programming Overview” starting on page 160, for an introduction to the basic techniques used to program the function generator over the remote interface.
  • Page 268 Chapter 4 Remote Interface Reference An Introduction to the SCPI Language Command Format Used in This Manual The format used to show commands in this manual is illustrated below: FREQuency {<frequency>|MINimum|MAXimum} The command syntax shows most commands (and some parameters) as a mixture of upper- and lower-case letters.
  • Page 269 Chapter 4 Remote Interface Reference An Introduction to the SCPI Language Command Separators A colon ( : ) is used to separate a command keyword from a lower-level keyword. You must insert a blank space to separate a parameter from a command keyword.
  • Page 270 Chapter 4 Remote Interface Reference An Introduction to the SCPI Language Querying Parameter Settings You can query the current value of most parameters by adding a question mark (“?”) to the command. For example, the following command sets the output frequency to 5 kHz: "FREQ 5000"...
  • Page 271 Chapter 4 Remote Interface Reference An Introduction to the SCPI Language SCPI Parameter Types The SCPI language defines several different data formats to be used in program messages and response messages. Numeric Parameters Commands that require numeric parameters will accept all commonly used decimal representations of numbers including optional signs, decimal points, and scientific notation.
  • Page 272: Using Device Clear

    Chapter 4 Remote Interface Reference Using Device Clear Using Device Clear Device Clear is an IEEE-488 low-level bus message that you can use to return the function generator to a responsive state. Different programming languages and IEEE-488 interface cards provide access to this capability through their own unique commands.
  • Page 273: Chapter 5 Error Messages

    Error Messages...
  • Page 274 Error Messages • Errors are retrieved in first-in-first-out (FIFO) order. The first error returned is the first error that was stored. Errors are cleared as you read them. The function generator beeps once each time an error is generated (unless you have disabled the beeper). •...
  • Page 275: Command Errors

    Chapter 5 Error Messages Command Errors Command Errors -101 Invalid character An invalid character was found in the command string. You may have used an invalid character such as #, $, or % in the command header or within a parameter. Example: TRIG:SOUR BUS# -102 Syntax error Invalid syntax was found in the command string.
  • Page 276 Chapter 5 Error Messages Command Errors -112 Program mnemonic too long A command header was received which contained more than the maximum 12 characters allowed. This error is also reported when a character-type parameter is too long. Example: OUTP:SYNCHRONIZATION ON -113 Undefined header A command was received that is not valid for this instrument.
  • Page 277 Chapter 5 Error Messages Command Errors -158 String data not allowed A character string was received but is not allowed for this command. Check the list of parameters to verify that you have used a valid parameter type. Example: BURS:NCYC 'TEN' -161 Invalid block data Applies only to the DATA:DAC VOLATILE command.
  • Page 278: Execution Errors

    -221 Settings conflict; Option 002 (arbs) is not installed Arbitrary waveforms are optionally available with the 33210A (Option 002). To upgrade your 33210A to include arbitrary waveform www. keysight .com/find/33210U. functionality, go to -221 Settings conflict;...
  • Page 279 Chapter 5 Error Messages Execution Errors -221 Settings conflict; triggered burst not available for noise You cannot use the noise function in the triggered burst mode. -221 Settings conflict; amplitude units changed to Vpp due to high-Z load The output units (VOLT:UNIT command) cannot be set to dBm if the output termination is currently set to “high impedance”...
  • Page 280 Chapter 5 Error Messages Execution Errors -221 Settings conflict; frequency changed for pulse function For pulse waveforms, the output frequency is limited to 5 MHz. When you change to the pulse function (APPL:PULS or FUNC:PULS command) from a function that allows a higher frequency, the function generator will automatically adjust the frequency to 5 MHz.
  • Page 281 Chapter 5 Error Messages Execution Errors -221 Settings conflict; PWM turned off by selection of other mode or modulation The function generator will allow only one modulation, sweep, or burst mode to be enabled at the same time. When you enable a modulation, sweep, or burst mode, all other modes are turned off.
  • Page 282 Chapter 5 Error Messages Execution Errors -221 Settings conflict; not able to modulate arb waveforms, modulation turned off The function generator cannot generate a modulated waveform using the arbitrary waveform function. The selected modulation mode has been turned off. -221 Settings conflict;...
  • Page 283 Chapter 5 Error Messages Execution Errors -221 Settings conflict; not able to burst noise, burst turned off The function generator cannot generate a burst using the noise function. The burst mode has been turned off. -221 Settings conflict; not able to sweep noise, sweep turned off The function generator cannot generate a sweep using the noise function.
  • Page 284 Chapter 5 Error Messages Execution Errors -221 Settings conflict; edge time decreased due to period For a pulse waveform, the function generator will automatically adjust the waveform parameters in the following order as needed to generate a valid pulse: (1) edge time, (2) pulse width or duty cycle, and then (3) period.
  • Page 285 Chapter 5 Error Messages Execution Errors -221 Settings conflict; amplitude changed due to function In some cases, the amplitude limits are determined by the output units currently selected. This may occur when the units are Vrms or dBm due to the differences in crest factor for the various output functions. For example, if you output a 5 Vrms square wave (into 50 ohms) and then change to the sine wave function, the function generator will automatically adjust the output amplitude to 3.536 Vrms (upper limit for...
  • Page 286 Chapter 5 Error Messages Execution Errors -221 Settings conflict; frequency forced duty cycle change If the square wave function is selected and you change to a frequency that cannot produce the current duty cycle, the duty cycle is automatically adjusted to the maximum value for the new frequency. For example, if you currently have the duty cycle set to 70% and then change the frequency to 6 MHz, the function generator will automatically adjust the duty cycle to 60% (upper limit for this frequency).
  • Page 287 Chapter 5 Error Messages Execution Errors -221 Settings conflict; amplitude changed due to offset The relationship between output amplitude and offset voltage is shown below. Vmax is the maximum peak voltage for the selected output termination (5 volts for a 50Ω load or 10 volts for a high-impedance load). If the existing amplitude is not valid, the function generator will automatically adjust it to the maximum value allowed with the offset voltage specified.
  • Page 288 Chapter 5 Error Messages Execution Errors -222 Data out of range; pulse edge time limited by period; value clipped to upper limit The specified edge time must fit within the existing period and width. The function generator will limit the edge time as needed to accommodate the existing period.
  • Page 289 Chapter 5 Error Messages Execution Errors -222 Data out of range; pulse edge time limited by duty cycle; value clipped to ... The specified edge time must fit within the specified pulse duty cycle as shown below. The function generator will adjust the edge time as needed to accommodate the specified pulse duty cycle.
  • Page 290 Chapter 5 Error Messages Execution Errors -222 Data out of range; burst count; value clipped to ... This generic message indicates that the burst count has been limited to an upper or lower boundary. -222 Data out of range; burst period limited by length of burst; value clipped to lower limit It is not possible to specify a burst period which is too short for the function generator to output with the specified burst count and frequency (see below).
  • Page 291 Chapter 5 Error Messages Execution Errors -222 Data out of range; frequency in FM; value clipped to ... This generic message indicates that the carrier frequency has been limited to a lower boundary as determined by the FM:DEV command. The carrier frequency must always be greater than or equal to the frequency deviation.
  • Page 292 Chapter 5 Error Messages Execution Errors -222 Data out of range; FM deviation limited by maximum frequency; value clipped to upper limit The frequency deviation cannot exceed the carrier frequency, and is limited as follows: 5 MHz for sine or square wave carriers. -222 Data out of range;...
  • Page 293: Device Dependent Errors

    Chapter 5 Error Messages Device Dependent Errors Device Dependent Errors -313 Calibration memory lost; memory corruption detected The non-volatile memory used to store the function generator’s calibration constants has detected a checksum error. This error may be the result of a device failure or extreme conditions such as lightning or strong magnetic fields.
  • Page 294: Query Errors

    Chapter 5 Error Messages Query Errors Query Errors -410 Query INTERRUPTED A command was received but the output buffer contained data from a previous command (the previous data is lost). -420 Query UNTERMINATED The function generator was addressed to talk (i.e., to send data over the interface) but a command has not been received which sends data to the output buffer.
  • Page 295: Instrument Errors

    Chapter 5 Error Messages Instrument Errors Instrument Errors 501 to 502 501: Cross-isolation UART framing error 502: Cross-isolation UART overrun error These errors indicate an internal hardware failure. The isolation between chassis ground circuits and floating circuits is controlled by an optical isolation barrier and a serial link.
  • Page 296: Self-Test Errors

    Self-Test Errors Self-Test Errors The following errors indicate failures that may occur during a self-test. Refer to the Keysight 33210A Service Guide for more information. Self-test failed; system logic This error indicates a failure of the main processor, system RAM, or system ROM.
  • Page 297 Chapter 5 Error Messages Self-Test Errors Self-test failed; time base calibration DAC This error indicates that the time base calibration DAC in the synthesis IC, or voltage controlled oscillator, has failed. 626 to 629 626: Self-test failed; waveform filter path select relay 627: Self-test failed;...
  • Page 298: Calibration Errors

    Calibration error; setup is out of order Certain calibration setups must be performed in a specific sequence in order to be valid. Refer to the Keysight 33210A Service Guide for more information on the calibration procedures.
  • Page 299: Arbitrary Waveform Errors

    Chapter 5 Error Messages Arbitrary Waveform Errors Arbitrary Waveform Errors The following errors indicate failures that may occur during arbitrary waveform operation. Refer to “Arbitrary Waveform Commands (Option 002)” on page 222 for more information. Nonvolatile arb waveform memory corruption detected The non-volatile memory used to store arbitrary waveforms has detected a checksum error.
  • Page 300 Chapter 5 Error Messages Arbitrary Waveform Errors Not able to delete a built-in arb waveform You cannot delete any of the five built-in waveforms: “EXP_RISE”, “EXP_FALL”, “NEG_RAMP”, “SINC”, and “CARDIAC”. Not able to delete the currently selected active arb waveform You cannot delete the arbitrary waveform that is currently being output (FUNC:USER command).
  • Page 301: Chapter 6 Application Programs

    Application Programs...
  • Page 302: Introduction

    SCPI (Standard Commands for Programmable Instruments) commands available to program the function generator. Introduction Six example programs are included in this chapter to demonstrate controlling the Keysight 33210A using SCPI commands. All of these ® ® programs are written in Microsoft Visual BASIC 6.0 and use...
  • Page 303 Chapter 6 Application Programs Introduction Once you have installed the appropriate software components, see “Remote Interface Configuration” in chapter 3 for information on configuring your interface. The programs listed in this chapter are protected by copyright. Copyright © 2003, 2008 Keysight Technologies You have a royalty-free right to use, modify, reproduce and distribute the Sample Application Files (and/or any modified version) in any way you find useful, provided that you agree that Keysight has no warranty,...
  • Page 304: Program Listings

    Chapter 6 Application Programs Program Listings Program Listings Example: A Simple Sine Waveform This program (found in the “Examples\chapter6\SimpleSine” subdirectory on the CD- ROM) selects the function as “sine,” and then sets the frequency, amplitude and offset of the waveform. Private Sub cmdSimpleSine_Click() Dim io_mgr As VisaComLib.ResourceManager Dim Fgen As VisaComLib.FormattedIO488...
  • Page 305 Chapter 6 Application Programs Program Listings Example: Amplitude Modulation This program (found in the “Examples\chapter6\AMLowLevel” subdirectory on the CD- ROM) configures a waveform with amplitude modulation using lower-level SCPI commands. It also shows how to use the *SAV command to store the instrument configuration in the function generator’s internal memory.
  • Page 306 Chapter 6 Application Programs Program Listings Example: Linear Sweep This program (found in the “Examples\chapter6\LinearSweep” subdirectory on the CD- ROM) creates a linear sweep for a sine wave. It sets the start and stop frequencies, and the sweep time. Private Sub cmdLinearSweep_Click() Dim io_mgr As VisaComLib.ResourceManager Dim Fgen As VisaComLib.FormattedIO488 Set io_mgr = New VisaComLib.ResourceManager...
  • Page 307 Chapter 6 Application Programs Program Listings Example: A Pulse Waveform This program (found in the “Examples\chapter6\Pulse” subdirectory on the CD-ROM) configures a pulse waveform, setting pulse width, period, and high/low levels. The edge time is then incremented. Private Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long) Private Sub cmdPulse_Click() Dim io_mgr As VisaComLib.ResourceManager Dim Fgen As VisaComLib.FormattedIO488...
  • Page 308 Chapter 6 Application Programs Program Listings Example: Pulse Width Modulation (PWM) This program (found in the “Examples\chapter6\PulseWidthMod” subdirectory on the CD-ROM) configures a pulse waveform with duty cycle, which is then slowly modulated by a triangle waveform. Private Sub cmdPWM_Click() Dim io_mgr As VisaComLib.ResourceManager Dim Fgen As VisaComLib.FormattedIO488 Set io_mgr = New VisaComLib.ResourceManager...
  • Page 309 Chapter 6 Application Programs Program Listings Example: Downloading an Arbitrary Waveform (ASCII) This program (found in the “Examples\chapter6\ASCIIarb” subdirectory on the CD- ROM) downloads an arbitrary waveform to the function generator as ASCII data. Data values are in the range -1 to +1. Private Sub cmdASCIIArb_Click() Dim io_mgr As VisaComLib.ResourceManager Dim Fgen As VisaComLib.FormattedIO488...
  • Page 310 Chapter 6 Application Programs Program Listings ' Download data points to volatile memory txtError.SelText = "Downloading Arb..." & vbCrLf With Fgen .WriteString "DATA VOLATILE, " & DataStr End With txtError.SelText = "Download Complete" & vbCrLf ' Set up arbitrary waveform and output With Fgen .WriteString "DATA:COPY PULSE, VOLATILE"...
  • Page 311: Chapter 7 Tutorial

    Tutorial...
  • Page 312 Tutorial In order to achieve the best performance from the Keysight 33210A, it may be helpful for you to gain a better understanding of the internal operations of the instrument. This chapter describes basic signal- generation concepts and gives specific details on the internal operations of the function generator.
  • Page 313: Direct Digital Synthesis

    Address Waveform Direct Digital Synthesis Circuitry The 33210A uses two anti-aliasing filters. An elliptical filter is used for continuous sine waves because of its nearly flat passband and sharp cutoff above 10 MHz. Since elliptical filters exhibit severe ringing for waveforms other than continuous sine waves, a linear-phase filter is used for all other waveform functions.
  • Page 314 Chapter 7 Tutorial Direct Digital Synthesis The 33210A represents amplitude values by 16,384 discrete voltage levels (or 14-bit vertical resolution). The specified waveform data is divided into samples such that one waveform cycle exactly fills waveform memory (see the illustration below for a sine wave). If you create an arbitrary waveform that does not contain exactly 8K points, the waveform is automatically “stretched”...
  • Page 315 The Nyquist Sampling Theorem states that in order to prevent aliasing, the highest frequency component of the desired output waveform must be less than half of the sampling frequency. The Keysight 33210A samples at 50 MHz, so Nyquist limits the highest frequency component to 25 MHz while the anti-alias filtering limits the highest frequency component to less than this.
  • Page 316: Creating Arbitrary Waveforms (Option 002)

    (or interpolate) as necessary to fill waveform memory. For example, if you specify 100 points, each waveform point will be repeated an average of 8,192 / 100 or 81.92 times. For the 33210A, you do not have to change the length of the waveform to change its output frequency.
  • Page 317 Chapter 7 Tutorial Creating Arbitrary Waveforms (Option 002) For example, consider a custom arbitrary waveform consisting of 10 cycles of a sine waveform. When you set the function generator’s frequency to 1 MHz, the actual output frequency will be 10 MHz and the amplitude will be attenuated.
  • Page 318: Square Waveform Generation

    Spectrum of Above Waveform at 100 kHz Square Waveform Generation To eliminate distortion due to aliasing at higher frequencies, the 33210A uses a different waveform generation technique to create square waves. Square waveforms are created by routing a DDS-generated sine wave into a comparator.
  • Page 319: Pulse Waveform Generation

    Pulse Waveform Generation To eliminate distortion due to aliasing at higher frequencies, the Keysight 33210A also uses a different waveform generation technique to create pulse waveforms. For pulse waveform generation, clock cycles are counted to derive both the period and the pulse width. To achieve...
  • Page 320: Signal Imperfections

    Chapter 7 Tutorial Signal Imperfections Pulse Width Rise Time Fall Time Period Pulse Waveform Parameters Signal Imperfections For sine waveforms, signal imperfections are easiest to describe and observe in the frequency domain using a spectrum analyzer. Any component of the output signal which has a different frequency than the fundamental (or “carrier”) is considered to be spurious.
  • Page 321 ±0.5 LSB, the equivalent noise level is -76 dBc for a sine wave that is 16K samples long. All of the 33210A’s standard waveforms use the entire DAC range and are 16K samples in length. Any arbitrary waveforms that use less than the entire DAC range will exhibit proportionally higher relative quantization errors.
  • Page 322: Output Amplitude Control

    Output Amplitude Control Output Amplitude Control The Keysight 33210A uses a variable reference voltage to control the signal amplitude over a 10 dB range. As shown in the simplified block diagram below, the output of the waveform DAC goes through an anti- aliasing filter.
  • Page 323 Chapter 7 Tutorial Output Amplitude Control As shown below, the 33210A has a fixed series output impedance of 50Ω, forming a voltage divider with the load resistance. Keysight 33210A 50Ω As a convenience, you can specify the load impedance as seen by the function generator and thereby display the correct load voltage.
  • Page 324: Ground Loops

    Chapter 7 Tutorial Ground Loops Ground Loops The signal-generation portion of the Keysight 33210A is isolated from chassis (earth) ground. This isolation helps to eliminate ground loops in your system and also allows you to reference the output signal to voltages other than ground.
  • Page 325: Attributes Of Ac Signals

    Chapter 7 Tutorial Attributes of AC Signals the balun effect and it reduces ground loops at higher frequencies. Note that lower shield resistance causes the balun effect to become more of a factor at lower frequencies. Therefore, coaxial cables with two or three-braided shields are much better than those with single-braided or foil shields.
  • Page 326 Chapter 7 Tutorial Attributes of AC Signals Note. If an average-reading voltmeter is used to measure the “DC voltage” of a waveform, the reading may not agree with the DC Offset setting of the function generator. This is because the waveform may have a non-zero average value that would be added to the DC Offset.
  • Page 327 Chapter 7 Tutorial Attributes of AC Signals For a sine wave into a 50Ω load, the following table relates dBm to voltage. RMS Voltage Peak-to-Peak Voltage +23.98 dBm 3.54 Vrms 10.00 Vpp +13.01 dBm 1.00 Vrms 2.828 Vpp +10.00 dBm 707 mVrms 2.000 Vpp +6.99 dBm...
  • Page 328: Modulation

    Chapter 7 Tutorial Modulation Modulation Modulation is the process of modifying a high-frequency signal (called the carrier signal) with low-frequency information (called the modulating signal). The carrier and modulating signals can have any waveshape, but the carrier is usually a sine waveform. The two most common types of modulation are amplitude modulation (AM) and frequency modulation (FM).
  • Page 329 PIR (see “Direct Digital Synthesis” on page 311). Note that since the rear- panel Modulation In connector is dc-coupled, you can use the 33210A to emulate a voltage-controlled oscillator (VCO).
  • Page 330 PWM is used in digital audio applications, motor control circuitry, switching power supplies, and other control applications. The Keysight 33210A provides PWM for pulse waveforms, and PWM is the only type of modulation supported for pulse waveforms. For PWM, the amplitude of the modulating waveform is sampled digitally and used to control the pulse width or duty cycle of the pulse waveform.
  • Page 331: Frequency Sweep

    Chapter 7 Tutorial Frequency Sweep Frequency Sweep Frequency sweeping is similar to FM but no modulating waveform is used. Instead, the function generator sets the output frequency based on either a linear or logarithmic function. In a linear sweep, the output frequency changes in a constant “hertz per second”...
  • Page 332 This connector accepts TTL_compatible levels and is referenced to chassis ground (not floating ground). When not used as an input, the Trig In connector can be configured as an output to enable the 33210A to trigger other instruments at the same time as its internal trigger occurs.
  • Page 333: Burst

    (not floating ground). When not used as an input, the Trig In connector can be configured as an output to enable the 33210A to trigger other instruments at the same time as its internal trigger occurs.
  • Page 334 Chapter 7 Tutorial Burst Gated Burst Mode In the Gated Burst mode, the output waveform is either “on” or “off ” based on the level of the external signal applied to the rear-panel Trig In connector. When the gate signal is true, the function generator outputs a continuous waveform.
  • Page 335: Chapter 8 Specifications

    Specifications...
  • Page 336 Chapter 8 Specifications Keysight 33210A Function / Arbitrary Waveform Generator Waveforms Square Frequency: 1 mHz to 10 MHz, Standard: Sine, Square, Ramp, 1 mHz resolution Triangle, Pulse, Noise, Rise/Fall Time: 20 ns Overshoot: < 2% Built-in Arbitrary (Option 002 Variable Duty Cycle:...
  • Page 337 Chapter 8 Specifications Keysight 33210A Function / Arbitrary Waveform Generator Common Characteristics Phase Offset: Range: +360 to -360 degrees Frequency Resolution: 0.001 degrees Accuracy: 20 ns Accuracy 90 days: ± (10 ppm + 3 pHz) Modulation 1 year: ± (20 ppm + 3 pHz) Resolution: 1µHz...
  • Page 338 Chapter 8 Specifications Keysight 33210A Function / Arbitrary Waveform Generator Sweep Programming Times (typical) Configuration Times Waveforms: Sine, Square, Ramp Type: Linear or Logarithmic USB 2.0 LAN (VXI-11) GPIB Direction: Up or Down Function 120 ms 120 ms 120 ms...
  • Page 339 Chapter 8 Specifications Keysight 33210A Function / Arbitrary Waveform Generator General Note: Specifications are subject to change without notice. For the Power Supply: CAT II latest specifications, go 100 to 240 V to the Keysight 33210A 50/60 Hz (-5%, +10%) product page and find the 33210A Datasheet.
  • Page 340 Chapter 8 Specifications Keysight 33210A Function / Arbitrary Waveform Generator Product Dimensions All dimensions are shown in millimeters.
  • Page 341 10 MHz In connector 137 deleting from memory 231 front-panel operation 36 10 MHz Out connector 137 error messages 297 modulating frequency 191 33210A overview 2 front-panel rules 116 modulating source 76 naming 117 modulating waveform 74 overview 222 modulation depth 75...
  • Page 342 230 CFACtor? command 232 trigger output 111 CD-ROM, connectivity software 15 CATalog? command 230 trigger source 104 CD-ROM, shipped with 33210A 300 COPY command 227 triggered mode 98 center frequency, sweep 206 DAC VOLATILE command 225 waveform frequency 100...
  • Page 343 Index contrast 124 exponential rise waveform 223 NVOLatile CATalog? command 230 displaying message 125 external gated burst mode 98 enable / disable 125 FREE? command 230 external reference 137 number format 126 DATA VOLATILE command 224 external source overview 4 dBc 318 AM 76 DISPlay command 238...
  • Page 344 Index duty cycle limitations 55 display overview 4 gateway address 132 front-panel selection 17 number entry 5 gaussian noise 169 function limitations 55 overview 3 GPIB sweep time 93 front-panel address 46 FREQuency command 173 display enable/disable 125 configuration 46 frequency deviation (FM) 82 number format 126 connector 6...
  • Page 345 Index logarithmic sweep 207 impedance effect on amplitude 61 low level 177 jitter 319 impedance, load 35 setting 21 imperfections, signal 318 instrument calibration commands 263 MAC address 135 auto ip 243 error messages 296 manual trigger 107 Configuration 129 reading count 264 MARKer configuration 135...
  • Page 346 Index polarity 65 modulation source output overheating 30 AM 76 connector 64 FM 83 enable/disable 64 overload, output 180 PWM 89 polarity 65 overload, voltage 64 output amplitude overview arb waveform limitations 57 display 4 front panel 3 name dBm limitations 174 front-panel menus 33 arbitrary waveforms 117 front-panel selection 18...
  • Page 347 Index phase quantization errors 319 modulation waveshape 198 rear panel overview 197 connectors 6 phase units pulse waveform 85 overview 6 burst phase 216 width deviation 87 recalling stored state 234 phase, burst 215 PWM 84 reference, external 137 point interpolation 114 DEViation register diagram, status registers 249 polarity 65...
  • Page 348 Index SCPI status system 249 specifications 333 stored states 119 SCPI version 127 spurs 319 default names 235 deleting from memory 235 screen 4 square wave front-panel operation 45 displaying message 125 duty cycle 62 naming 120 number format 126 duty cycle selection 23 naming from front panel 45 screen blank 123...
  • Page 349 Index syntax, SCPI commands 147 termination, load 321 internal source 107 manual source 107 terminators, command 268 SYSTem:BEEPer:STATe software (bus) source 108 command 240 test 124 sweep 96 BEEPer command 240 text message Trig In connector 110 COMMunicate calibration 142 Trig Out connector 111 GPIB:ADDRess command 242 The 87...
  • Page 350 Index converting 19 VOLTage? command 174 vpp 60 vrms 60 waveform imperfections 318 waveform invert 65 waveform output connector 64 enable/disable 64 polarity 65 waveform polarity 65 waveform tutorial 309 waveforms point interpolation 114 interface 136 wideband FM 327 width, pulse definition 186 zero-phase reference 248...
  • Page 351 Ihr Spezialist für Mess- und Prüfgeräte This information is subject to change without notice. © Keysight Technologies 2008, 2014 Edition 2, November 2014 *33210-90001* 33210-90001 www.keysight.com Distributed by: dataTec ▪ Ferdinand-Lassalle-Str. 52 ▪ 72770 Reutlingen ▪ Tel. 07121 / 51 50 50 ▪ Fax 07121 / 51 50 10 ▪ info@datatec.de ▪ www.datatec-gruppe.de...

Table of Contents