TABLE OF CONTENTS Table of Contents SAFETY INSTRUCTIONS ........6 GETTING STARTED ........12 Main Features ..............12 Panel Overview ..............15 Setting up the Function Generator ........24 QUICK REFERENCE ........26 How to use the Digital Inputs ........... 28 How to use the Help Menu ..........
Page 3
AFG-3021/3022/3031/3032 User Manual Burst Mode ..............146 SECONDARY SYSTEM FUNCTION SETTINGS ..............158 Save, Recall or Delete ............159 Selecting the Remote Interface ........163 System and Settings ............168 DUAL CHANNEL & MULTI-UNIT OPERATION ..............177 Dual Channel Settings ............. 178 Multi-Unit Syncing ............
Page 4
Save and Recall Commands ..........384 Error Messages ............... 386 SCPI Status Registers ............399 APPENDIX ............ 405 Fuse Replacement ............405 AFG-3021, AFG-3022, AFG-3031 & AFG-3032 Specifications ..................406 EC Declaration of Conformity .......... 413 ARB Built-In Waveforms ..........414 INDEX ............422 GlobalTestSupply www.
AFG-3021/3022/3031/3032 User Manual AFETY INSTRUCTIONS This chapter contains important safety instructions that should be followed when operating and storing the function generator. Read the following before any operation to ensure your safety and to keep the function generator in the best condition. Safety Symbols These safety symbols may appear in this manual or on the instrument.
SAFETY INSTRUCTIONS Do not dispose electronic equipment as unsorted municipal waste. Please use a separate collection facility or contact the supplier from which this instrument was purchased. Safety Guidelines Do not place heavy objects on the instrument. General Guideline Do not place flammable objects on the ...
Page 7
AFG-3021/3022/3031/3032 User Manual AC Input voltage: 100 - 240V AC, 50 - 60Hz. Power Supply Connect the protective grounding conductor of WARNING the AC power cord to an earth ground to prevent electric shock. Fuse type: Fuse AFG-3032&3022: T1A/250V AFG-3031&3021: T0.63A/250V WARNING...
Page 8
SAFETY INSTRUCTIONS Disconnect the power cord before cleaning the Cleaning the function generator. function generator Use a soft cloth dampened in a solution of mild detergent and water. Do not spray any liquid into the function generator. Do not use chemicals containing harsh products ...
Page 9
AFG-3021/3022/3031/3032 User Manual Do not dispose this instrument as unsorted Disposal municipal waste. Please use a separate collection facility or contact the supplier from which this instrument was purchased. Please make sure discarded electrical waste is properly recycled to reduce environmental impact. The AFG-30XX function generators are categorized Class A Device as Class A equipment.
Page 10
SAFETY INSTRUCTIONS Power cord for the United Kingdom When using the function generator in the United Kingdom, make sure the power cord meets the following safety instructions. NOTE: This lead/appliance must only be wired by competent persons WARNING: THIS APPLIANCE MUST BE EARTHED IMPORTANT: The wires in this lead are coloured in accordance with the following code: Green/ Yellow:...
ETTING STARTED The Getting started chapter introduces the function generator’s main features, appearance, set up procedure and power-up. Note: Throughout this manual, “AFG-30XX” refers to the AFG-3021, AFG-3022, AFG-3031 & AFG-3032, unless stated otherwise. Main Features Model name Frequency Channels...
Page 12
Burst function with internal and external triggers Store/recall 10 groups of setting memories Output overload protection Two channel tracking (AFG-3022/3032 only) 42Vpk signal ground chassis isolation and 42Vpk channel isolation Multi-unit synchronized control DSO Link function to transfer captured ...
Page 13
AFG-3021/3022/3031/3032 User Manual Interface: Standard: LAN, USB Optional: GPIB Interface 4.3 inch color TFT LCD (480 × 272) Graphical User Interface AWES (Arbitrary Waveform Editing Software) PC software GlobalTestSupply www. .com nd Quality Products Online at: sales@GlobalTestSupply.co...
Output key Waveform FREQ/Rate AMPL DC Offset UTIL Sweep Burst Preset Function keys Operation Output USB port keys indicators AFG-3022/3032 LCD Display Number Scroll Wheel Selection Power Switch keys AFG-3032 Arbitrary Function Generator SYNC Output Terminals Output CH1/CH2 Output Output...
Page 15
AFG-3021/3022/3031/3032 User Manual TFT color LCD display, 480 x 272 resolution. LCD display Activates the functions which Function keys: appear in the bottom of the LCD F1~F6 display. Waveform is used to select a Operation keys Waveform waveform type. The FREQ/Rate key is used to set FREQ/Rate the frequency or sample rate.
Page 16
The CH1/CH2 keys are used to CH1/CH2 (AFG-3022/3032) access the DSO link function, output impedance settings and phase settings for the AFG-3022 & AFG-3032. When an Output indicator is Output green, it indicates that the output indicators is active.
Page 17
10MHz REF IN ground by an isolation voltage of 42Vpk. The SYNC output terminal Output terminals SYNC outputs a TTL logic level signal in (AFG-3022/3032) phase with the zero phase position of the CH1 output. 50Ω output impedance. CH2 output terminal. 50Ω output impedance.
Page 18
GETTING STARTED The standby key is used to turn Standby key the function generator on (green) or to put the function generator into standby mode (red). Used to select digits when editing Selection keys parameters. The scroll wheel is used to edit Scroll Wheel values and parameters.
Page 19
Do not remove covers. Refer servicing to qualified personnel. fuse INPUT Trigger 10MHz 240V 60Hz 50VA OUT and IN Trigger USB port 10MHz REF Input Input AFG-3022/3032 GPIB USB port Power Switch Power Disconnect power cord and test leads before GPIB replacing fuse WARNING socket and FUSE RATING...
Page 20
GETTING STARTED Trigger External trigger input. Used to Trigger Input receive external trigger signals. For the AFG-3022/3032 there is a separate trigger input for CH1 and CH2. Modulation input terminal. For the MOD input AFG-3022/3032 there is a separate modulation input for CH1 and CH2.
Page 21
AFG-3021/3022/3031/3032 User Manual 24 pin female GPIB GPIB GPIB connector for PC remote control. GlobalTestSupply www. .com nd Quality Products Online at: sales@GlobalTestSupply.co...
Page 22
GETTING STARTED Display Parameter Waveform Window Display Parameter Waveform Window Display Soft Menu Keys These windows are used to edit the parameter Parameter Windows values for CH1 and CH2. Waveform Display The Waveform Display is used give an indication of the expected waveform output for each channel. The function keys (F1~F6) below the Soft Menu Soft Menu Keys keys correspond to the soft keys.
AFG-3021/3022/3031/3032 User Manual Setting up the Function Generator This section describes how to adjust the handle Background and power up the function generator. Pull out the handle Adjusting the stand sideways and rotate Place the unit horizontally, or tilt the stand. Place the handle vertically to hand carry.
Page 24
GETTING STARTED 1. Connect the power cord to Power Up the socket on the rear panel. 2. Turn on the power switch on the rear panel. 3. Press and hold the Standby key on the front panel to turn the machine on. The Standby On standby key will change from red (standby) to green...
AFG-3021/3022/3031/3032 User Manual UICK REFERENCE This chapter lists operation shortcuts, built-in help coverage, and default factory settings. Use this chapter as a quick reference for instrument functions. For detailed explanations on parameters, settings and limitations, please see the Operation chapter(page 70), Modulation chapter(page 89), Secondary System Function Settings chapter (page 158), Dual Channel &...
QUICK REFERENCE How to use the Digital Inputs The AFG-30XX has three main types of digital Background inputs: the number pad, selection keys and scroll wheel. The following instructions will show you how to use the digital inputs to edit parameters. 1.
QUICK REFERENCE How to use the Help Menu Every key and function has a detailed description Background in the help menu. 1. Press UTIL. UTIL 2. Press System (F4)[F5 for the System AFG-3021/3031]. 3. Press More (F5). More 4. Press Help (F2). Help 5.
Page 29
Hardcopy Explains how to use the Hardcopy function. Dual Channel Describes how to perform frequency or amplitude tracking for the AFG-3022/3032. 6. For example select item 5 to see help on the sweep function. GlobalTestSupply www. .com nd Quality Products Online at:...
Page 30
QUICK REFERENCE 7. Use the scroll wheel to navigate to each help page. 8. Press F6 to return to the Return previous menus. GlobalTestSupply www. .com nd Quality Products Online at: sales@GlobalTestSupply.co...
QUICK REFERENCE 3. Press the AMPL key, AMPL followed by 5 +VPP (F6). 4. Press the output key. Output Sine Wave Example: Sine wave, 10Vpp, 100kHz 1. Press the Waveform Output Sine Waveform key and select Sine (F1). 2. Press the FREQ/Rate FREQ/Rate key, followed by 1 + 0 Input: N/A...
AFG-3021/3022/3031/3032 User Manual 3. Press Width (F1), Width uSEC followed by 5 + uSEC (F3). 4. Press the AMPL key, AMPL followed by 1 + 0 +VPP (F6). 5. Press the output key. Output Noise Wave Example: White noise output 1.
Page 34
QUICK REFERENCE 4. Press Order (F3). Order 5. Press Order (F1), Order Enter followed by 2 + Enter (F1). Press Amp(F2), Ampl followed by 5 + VPP (F2). Phase Degree Press Phase(F3), followed by 0 + Degree (F1). 6. Press the Order (F1), Order Enter followed by 3 + Enter...
AFG-3021/3022/3031/3032 User Manual Modulation Example: AM modulation. 100Hz modulating square wave. 1kHz Sine wave carrier. 80% modulation depth. 1. Press the MOD key Output and select AM (F1). 2. Press Waveform and Sine Waveform select Sine (F1). 3. Press the Freq/Rate Input: N/A FREQ/Rate key, followed by 1 +...
Page 36
QUICK REFERENCE 9. Press MOD, AM (F1), Source Source (F1), INT (F1). 10. Press the output key. Output Example: FM modulation. 100Hz modulating square wave. 1kHz sine wave carrier. 100 Hz frequency deviation. Internal source. 1. Press the MOD key Output and select FM (F2).
AFG-3021/3022/3031/3032 User Manual 8. Press 1 + 8 + 0 + Degree Degree (F1). SUM Modulation Example: SUM modulation. 100Hz SUM frequency. 50% SUM amplitude. 1kHz carrier sine wave. Triangle wave shape. Internal source. 1. Press the MOD key Output and select SUM (F5).
QUICK REFERENCE 1. Press ARB, Built in Output Built in Basic (F3), Basic (F1), More More Pulse (F5), Pulse (F4). 2. Press Frequency (F1), Frequency 1, kHz (F5). 3. Press Duty (F2), 25, Duty %(F5). Return ARB - Add Point Example: ARB Mode, Add point, Address 40, data 30,000.
AFG-3021/3022/3031/3032 User Manual 3. Press Start Data (F2), Start Data 3 + 0, Enter (F5). Enter Return 4. Press Stop ADD (F3), Stop ADD 5 + 0, Enter (F5). Enter Return 5. Press Stop Data (F4), Stop Data 1 + 0 + 0, Enter (F5), Done (F5).
AFG-3021/3022/3031/3032 User Manual Utility Menu Save Example: Save to memory file #5. 1. Press UTIL, Memory Memory UTIL (F1). 2. Choose a file using the scroll wheel and Store Done press Store (F1), press Done (F5). Recall Example: Recall memory file #5. 1.
QUICK REFERENCE Menu Tree Convention Use the menu trees as a handy reference for the function generator functions and properties. The AFG- 3021/3022/3031/3032 menu system is arranged in a hierarchical tree. Each hierarchical level can be navigated with the operation or soft menu keys. Pressing the Return soft key will return you to the previous menu level.
QUICK REFERENCE ARB-Display Display Horizon Vertical Next Page Back Page Overview Return Start Clear Clear Enter Enter Return Return Length High Clear Clear Enter Enter Return Return Center Center Clear Clear Enter Enter Return Return Zoom in Zoom in Zoom out Zoom out Return Return...
AFG-3021/3022/3031/3032 User Manual ARB-Edit Edit Point Line Copy Clear Protect Return Address Start ADD Start Start Clear Clear Done Clear Clear Enter Enter Enter Enter Start Return Return Return Return Clear Data Start Data Length Length Enter Return Clear Clear Clear Clear Enter...
QUICK REFERENCE ARB-Built-in Note: The following menu tree only lists where each built-in ARB waveform is located. Built in Basic Common 1 Common 2 Math More Return Abstan Sine Dlorentz Attalt Trig Havercosine Square Rectpuls1 Arccos Arctan Ramp Sinever Sqrt Stepresp Sech Abssin...
AFG-3021/3022/3031/3032 User Manual ARB-Built in-Basic Note: For brevity, only the “Basic” menu tree is listed for the ARB > Built-in menu tree system. The operation menu keys for all the other built-in ARB waveforms are mostly identical to the ones listed below. Built in Basic Sine...
QUICK REFERENCE ARB-Save Save Start Length Memory Return Clear Clear Select Select Enter Enter Return New Folder Return Return Enter Char Back Space Save Return New File Enter Char Back Space Save Return Return ARB-Load Load Memory Return Clear Select Select Enter Return...
AFG-3021/3022/3031/3032 User Manual Sweep - Type/MOD = Frequency SWEEP TRIG Type Type/MOD Start Stop SWP Time More Go to the Type mSEC Sweep - Freq Return Frequency - Ampl Manual Return More menu Trigger Mode Return Return Return Cont Gate TRIG Time Return Functions...
AFG-3021/3022/3031/3032 User Manual UTIL (AFG-3022/AFG-3032) UTIL Memory Interface Cal. System Dual Ch Store Go to the Self Test Go to the Go to the UTIL – UTIL – Software Done UTIL – Dual Interface System Return Version Ch menu Recall...
QUICK REFERENCE UTIL - Interface - LAN UTIL Interface Remote Config Done Return DHCP Auto IP Manual Go To UTIL – Interface – LAN Config – Manual menu Host Name Enter Char Done Return Done Return GlobalTestSupply www. .com nd Quality Products Online at: sales@GlobalTestSupply.co...
AFG-3021/3022/3031/3032 User Manual Default Settings Here are the default panel settings which appear Preset when pressing the Preset key. Function Sine wave Output Config. Frequency 1kHz Amplitude 3.000 Vpp Offset 0.00V dc Output units Output terminal 50Ω Modulation Carrier Wave 1kHz Sine wave (AM/FM/FSK) Modulation waveforms 100Hz Sine wave...
AFG-3021/3022/3031/3032 User Manual PERATION The Operation chapter shows how to output basic waveform functions. For details on modulation, sweep, burst and arbitrary waveforms, please see the Modulation and Arbitrary waveform chapters on pages 89 and 174. For information on the dual channel and multi-unit operation, please see page 178 &...
OPERATION Select a Channel As the AFG-3022 or AFG-3032 are dual channel models, the desired output channel must first be selected before assigning the operation for that channel. CH1/CH2 Panel Operation 1. Press the CH1 or CH2 key. 2. The selected channel will be visible while the deselected channel will be dimmed.
AFG-3021/3022/3031/3032 User Manual Select a Waveform The AFG-30XX can output 8 standard waveforms: sine, square, triangle, pulse, ramp, noise, harmonic and DC waveforms. Sine Wave Panel Operation 1. Press the Waveform key. Waveform 2. Press F1 (Sine). Sine GlobalTestSupply www. .com nd Quality Products Online at: sales@GlobalTestSupply.co...
OPERATION Setting a Square Wave Panel Operation 1. Press the Waveform key. Waveform 2. Press F2 (Square) to create a Square square waveform. 3. Press F1 (Duty). The Duty DUTY parameter will be highlighted in the parameter window. 4. Use the selector keys and scroll wheel or number pad to enter the Duty range.
OPERATION Setting the Pulse Width The pulse width settings depend on the rise & fall time settings or the edge time setting and the period settings, as defined below: Pulse Width - 0.625 * [(Rise Time - 0.6nS) + (Fall Time - 0.6nS)] ≧ 0 Period ≧...
OPERATION 5. Press F2~F5 to choose the nSEC unit range. 6. Repeat the above steps for the opposite edge time. Range Minimum 9.32ns ~ 799.9ks rise/fall time: Duty Width - 0.625 * [(Rise Time - Note Considerations: 0.6nS) + (Fall Time - 0.6nS)] ≧ 0 Period ≧...
AFG-3021/3022/3031/3032 User Manual 5. Press F2~F5 to choose the nSEC mSEC unit range. Range Edge Time Range 9.32ns~799.9ks Duty Width - 1.25 * Note Considerations: (Edge Time - 0.6nS) ≧ 0 Period≧Pulse Width + 1.25*(Edge time -0.6ns) 0.0001% duty cycle resolution Setting the Pulse Duty Time Instead of setting the pulse width of the pulse, the duty of the pulse can be set.
OPERATION Range Duty Range 0.0170%~99.983% Resolution 0.0001% Setting a Ramp Panel Operation 1. Press the Waveform key. Waveform 2. Press F5 (Ramp) to create a Ramp ramp waveform. 3. Press F1 (SYM). The SYM parameter will be highlighted in the parameter window. 4.
AFG-3021/3022/3031/3032 User Manual Noise Wave Panel Operation 1. Press the Waveform key. Waveform 2. Press F6 (More). More 3. Press F1 (Noise). Noise Harmonic Wave The harmonic wave function creates a harmonic sine wave with a designated number of harmonics. Panel Operation 1.
OPERATION 5. Use the selector keys and scroll wheel or number pad to enter the number of harmonics. Range Number of harmonics 2 ~ 8 6. Press F1 (Enter). Enter Harmonic Order After the total number of harmonics has been selected(above), you can also select which harmonic orders are used: odd, even, all or a user-defined set.
Page 81
AFG-3021/3022/3031/3032 User Manual 5. Press F1 ~ F4 to chose which Even User harmonic orders to include in the resultant harmonic waveform. Note: You may have to wait a short while for the meter to process the waveform. Range Harmonic Even, Odd, ALL, User 1.
OPERATION Harmonic Characteristics The amplitude and phase of each harmonic order can individually set. By default the amplitude is the same as the fundamental frequency and the phase is set to 0º. Panel Operation 1. Press the Waveform key. Waveform 2.
AFG-3021/3022/3031/3032 User Manual 9. Press F2 (Amplitude). Amplitude 10. Use the selector keys and scroll wheel or number pad to set the amplitude of previously selected order. 11. Choose the amplitude unit by mVPP pressing F4~F5. 12. Press F3 (Phase). Phase 13.
OPERATION Setting the Waveform Frequency Panel Operation 1. Press the FREQ/Rate key. FREQ/Rate 2. The FREQ parameter will become highlighted in the parameter window. 3. Use the selector keys and scroll wheel or number pad to enter the frequency. 4. Choose a frequency unit by pressing F2~F6.
OPERATION Setting the Amplitude Panel Operation 1. Press the AMPL key. AMPL 2. The AMPL parameter will become highlighted in the parameter window. 3. Use the selector keys and scroll wheel or number pad to enter the amplitude. 4. Choose a unit type by pressing F2~F6.
AFG-3021/3022/3031/3032 User Manual Setting the DC Offset Panel Operation 1. Press the DC Offset key. DC Offset 2. The DC Offset parameter will become highlighted in the parameter window. 3. Use the selector keys and scroll wheel or number pad to enter the DC Offset.
MODULATION ODULATION The AFG-3021, AFG-3022, AFG-3031 & AFG-3032 Arbitrary Function Generators are able to produce AM, FM, FSK and PWM modulated waveforms as well as swept waveforms (frequency, amplitude) and burst waveforms. Depending on the type of waveform produced, different modulation parameters can be set.
Page 89
AFG-3021/3022/3031/3032 User Manual PM Wave Shape ..............118 Modulation Frequency ............119 Phase Modulation Deviation ..........120 SUM Modulation ............. 121 Selecting SUM Modulation ..........122 SUM Carrier Shape ............122 SUM Carrier Frequency ............123 SUM Modulating Wave Shape .......... 123 SUM Frequency ..............
MODULATION Amplitude Modulation (AM) An AM waveform is produced from a carrier waveform and a modulating waveform. The amplitude of the modulated carrier waveform depends on the amplitude of the modulating waveform. The AFG-30XX function generator can set the carrier frequency, amplitude and offset as well as internal or external modulation sources.
AFG-3021/3022/3031/3032 User Manual Selecting AM Modulation Panel Operation 1. Press the MOD key. 2. Press F1 (AM). AM Carrier Shape Sine, square, triangle, ramp, pulse, noise or Background arbitrary waveforms can be used as the carrier shape. The default waveform shape is set to sine. Harmonic and DC are not available as a carrier shape.
MODULATION 3. See the Arbitrary waveform Select an Page 44 quick guide or chapter to use Arbitrary Page 174 Waveform Carrier an arbitrary waveform. Shape. Range AM Carrier Shape sine, square, triangle, pulse, ramp, arbitrary waveform Carrier Frequency The maximum carrier frequency depends on the carrier shape selected.
AFG-3021/3022/3031/3032 User Manual Noise 125MHz to 1µHz Modulating Wave Shape The function generator can accept internal as well as external sources. The AFG-30XX has sine, square, triangle, up ramp and down ramp modulating waveform shapes. Sine waves are the default wave shape. Panel Operation 1.
MODULATION AM Frequency The frequency of the modulation waveform (AM Frequency) can be set from 2mHz to 20kHz. Panel Operation 1. Press the MOD key. 2. Press F1 (AM). 3. Press F3 (AM Freq). AM Freq 4. The AM Freq parameter will become highlighted in the Waveform display area.
AFG-3021/3022/3031/3032 User Manual Modulation Depth The modulation depth determines the maximum and minimum amplitude of the AM waveform. The modulation depth (as a percentage) is defined by the ratio of the modulating waveform voltage and the carrier waveform voltage multiplied by 100: Modulating WaveVoltag ...
Page 96
MODULATION Panel Operation 1. Press the MOD key. 2. Press F1 (AM). 3. Press F2 (Depth). Depth 4. The AM Depth parameter will become highlighted in the waveform display area. 5. Use the selector keys and scroll wheel or number pad to enter the AM depth.
Use the MOD INPUT terminal External Source on the rear panel when using an external source. For AFG-3022/3032, using the CH1 or CH2 MOD input depends on which channel is used for modulation. Note If an external modulation source is selected, modulation depth is limited to ±...
AFG-3021/3022/3031/3032 User Manual Frequency Modulation (FM) An FM waveform is produced from a carrier waveform and a modulating waveform. The instantaneous frequency of the carrier waveform varies with the magnitude of the modulating waveform. When using the function generator, only one type of modulated waveform can be created at any one time for the selected channel.
MODULATION Selecting Frequency Modulation (FM) When FM is selected, the modulated waveform depends on the carrier frequency, the output amplitude and offset voltage. Panel Operation 1. Press the MOD key. 2. Press F2 (FM). FM Carrier Shape The default carrier waveform shape is set to sine. Background Sine, square, triangle or ramp waveforms can be used as the carrier shape.
AFG-3021/3022/3031/3032 User Manual FM Carrier Frequency When using the AFG-30XX function generator, the carrier frequency must be equal to or greater than the frequency deviation. If the frequency deviation is set to a value greater than the carrier frequency, the deviation is set to the maximum allowed. The maximum frequency of the carrier wave depends on the waveform shape chosen.
MODULATION FM Wave Shape The function generator can accept internal as well as external sources. The AFG-30XX has sine, square, triangle, positive and negative ramps (UpRamp, DnRamp) as the internal modulating waveform shapes. Sine is the default wave shape. Panel Operation 1. Select MOD. 2.
AFG-3021/3022/3031/3032 User Manual Modulation Frequency For frequency modulation, the function generator will accept internal or external sources. Panel Operation 1. Press the MOD key. 2. Press F2 (FM). 3. Press F3 (FM Freq). FM Freq 4. The FM Freq parameter will become highlighted in the waveform display panel.
MODULATION Frequency Deviation The frequency deviation is the peak frequency deviation from the carrier wave and the modulated wave. Panel Operation 1. Press the MOD key. 2. Press F2 (FM). 3. Press F2 (Freq Dev). Freq Dev 4. The Freq Dev parameter will become highlighted in the waveform display panel.
Use the MOD INPUT terminal External Source on the rear panel when using an external source. For AFG-3022/3032, using the CH1 or CH2 MOD input depends on which channel is used for modulation. If an external modulating source is selected, the Note frequency deviation is limited to the ±...
AFG-3021/3022/3031/3032 User Manual Frequency Shift Keying (FSK) Modulation Frequency Shift Keying Modulation is used to shift the frequency output of the function generator between two preset frequencies (carrier frequency, hop frequency). The frequency at which the carrier and hop frequency shift is determined by the internal rate generator or the voltage level from the Trigger INPUT terminal on the rear panel.
MODULATION Selecting FSK Modulation When using FSK mode, the output waveform uses the default settings for carrier frequency, amplitude and offset voltage. Panel Operation 1. Press the MOD key. 2. Press F3 (FSK). FSK Carrier Shape Sine, square, triangle and ramp waveforms can be Background used as a carrier shape.
AFG-3021/3022/3031/3032 User Manual FSK Carrier Frequency The maximum carrier frequency depends on the carrier shape. The default carrier frequency for all carrier shapes is 1kHz. The voltage level of the Trigger INPUT signal controls the output frequency when EXT is selected. When the Trigger INPUT signal is logically low the carrier frequency is output and when the signal is logically high, the hop frequency is output.
MODULATION FSK Hop Frequency The default Hop frequency for all waveform shapes is 100 Hz. A square wave with a duty cycle of 50% is used for the internal modulation waveform. The voltage level of the Trigger INPUT signal controls the output frequency when EXT is selected. When the Trigger INPUT signal is logically low the carrier frequency is output and when the signal is logically high, the hop frequency is output.
AFG-3021/3022/3031/3032 User Manual 6. Press F1~F5 to select the frequency range. Range Waveform Carrier Frequency Sine 1μHz~30MHz (20MHz AFG-3021/3022) Square 1μHz~30MHz (20MHz AFG-3021/3022) Triangle 1μHz~1MHz Ramp 1μHz~1MHz FSK Rate The FSK Rate function is used to determine the rate at which the output frequency changes between the carrier and hop frequencies.
MODULATION 5. Use the selector keys and scroll wheel or number pad to enter the FSK rate. 6. Press F1~F5 to select the frequency unit. Range FSK Rate 2mHz~100kHz Default 10Hz Note If an external source is selected, FSK Rate settings are ignored.
Page 113
AFG-3021/3022/3031/3032 User Manual 3. Press F1 (Source). Source 4. To select the source, press F1 (Internal) or F2 (External). Note Note that the Trigger INPUT terminal cannot configure edge polarity. GlobalTestSupply www. .com nd Quality Products Online at: sales@GlobalTestSupply.co...
MODULATION Phase Modulation (PM) A PM waveform is produced from a carrier waveform and a modulating waveform. The phase of the carrier waveform is modulated by the magnitude of the modulating waveform. When using the function generator, only one type of modulated waveform can be created at any one time for the selected channel.
AFG-3021/3022/3031/3032 User Manual Selecting Phase Modulation (PM) When PM is selected, the modulated waveform depends on the carrier frequency, the output amplitude and offset voltage. Panel Operation 1. Press the MOD key. 2. Press F4 (PM). PM Carrier Shape The default waveform shape is set to sine. Sine, Background square, triangle or ramp waveforms can be used as the carrier shape.
MODULATION PM Carrier Frequency The maximum carrier frequency depends on the carrier shape selected. The default carrier frequency for all carrier shapes is 1kHz. Panel Operation 1. To select the carrier FREQ/Rate frequency, press the FREQ/ Rate key. 2. The FREQ parameter will become highlighted in the parameter window.
AFG-3021/3022/3031/3032 User Manual PM Wave Shape The function generator can accept internal as well as external sources. The AFG-30XX has sine, square, triangle, positive and negative ramps (UpRamp, DnRamp) as the internal modulating waveform shapes. Sine is the default wave shape. Panel Operation 1.
MODULATION Modulation Frequency The PM Freq parameter sets the modulation frequency for the phase modulation function when using an internal source. Panel Operation 1. Press the MOD key. 2. Press F4 (PM). 3. Press F3 (PM Freq). PM Freq 4. The PM Freq parameter will become highlighted in the waveform display panel.
AFG-3021/3022/3031/3032 User Manual Phase Modulation Deviation The phase modulation deviation is the peak phase deviation of the modulating wave from the carrier wave. Panel Operation 1. Press the MOD key. 2. Press F4 (PM). 3. Press F2 (Phase Dev). Phase Dev 4.
MODULATION SUM Modulation SUM modulation adds the modulating waveform to the carrier waveform. The amplitude of the modulating waveform is set as a percentage of the carrier amplitude. Only one mode of modulation can be enabled at any one time for the selected channel.
AFG-3021/3022/3031/3032 User Manual Selecting SUM Modulation When selecting SUM, the carrier frequency, amplitude and frequency must be considered. Panel Operation 1. Press the MOD key. 2. Press F5 (SUM). SUM Carrier Shape The default carrier waveform shape is set to sine. Background The carrier can be set to Sine, Triangle, Pulse or Ramp.
MODULATION SUM Carrier Frequency The maximum carrier frequency depends on the carrier shape selected. The default carrier frequency for all carrier shapes is 1kHz. Panel Operation 1. To select the carrier FREQ/Rate frequency, press the FREQ/ Rate key. 2. The FREQ parameter will become highlighted in the parameter window.
AFG-3021/3022/3031/3032 User Manual 2. Press F5 (SUM). 3. Press F4 (Shape). Shape 4. Press F1~F5 to select a Sine DnRamp waveform shape. Range Waveform Square 50% Duty cycle UpRamp 100% Symmetry Triangle 50% Symmetry DnRamp 0% Symmetry SUM Frequency The SUM Frequency sets the frequency of the modulating waveform. Panel Operation 1.
MODULATION 4. The SUM Freq parameter will become highlighted in the Waveform Display area. 5. Use the selector keys and scroll wheel or number pad to enter the SUM frequency. 6. Press F1~F3 to select the frequency unit range. Range SUM Frequency 2mHz~20kHz Default...
AFG-3021/3022/3031/3032 User Manual 4. The SUM Amplitude will become highlighted in the waveform display area. 5. Use the selector keys and scroll wheel or number pad to enter the SUM amplitude. 6. Press F1 (%) to select percentage units. Range SUM amplitude 0% ~ 100% Default...
Page 126
Use the MOD INPUT terminal External Source on the rear panel when using an external source. For AFG-3022/3032, using the CH1 or CH2 MOD input depends on which channel is used for modulation. Note If an external modulation source is selected, the SUM amplitude is controlled by the ±...
AFG-3021/3022/3031/3032 User Manual Pulse Width Modulation For pulse width modulation the instantaneous voltage of the modulating waveform determines the width of the pulse waveform. Only one mode of modulation can be enabled at any one time for the selected channel. If PWM is enabled, any other modulation mode will be disabled.
MODULATION Selecting Pulse Width Modulation When selecting PWM, the current setting of the carrier frequency, the amplitude modulation frequency, output, and offset voltage must be considered. Panel Operation 1. Press the MOD key. Waveform 2. Press F2 (Square). Square 3. Press the MOD key. 4.
AFG-3021/3022/3031/3032 User Manual PWM Carrier Frequency The carrier frequency depends on the square wave. The default carrier frequency is 1kHz. Panel Operation 1. To select the carrier FREQ/Rate frequency, press the FREQ/ Rate key. 2. The FREQ parameter will become highlighted in the parameter window.
AFG-3021/3022/3031/3032 User Manual 5. Use the selector keys and scroll wheel or number pad to enter the PWM frequency. 6. Press F1~F3 to select the frequency unit range. Range PWM Frequency 2mHz~20kHz Default 20kHz Modulation Duty Cycle Duty function is used to set the duty cycle as percentage. Panel Operation 1.
MODULATION 5. Use the selector keys and scroll wheel or number pad to enter the Duty cycle. 6. Press F1 (%) to select percentage units. Range Duty cycle 0% ~ 100% Default Note Pulse waveforms can be modulated with an external source using the external source function.
Page 133
Use the MOD INPUT terminal External Source on the rear panel when using an external source. For AFG-3022/3032, using the CH1 or CH2 MOD input depends on which channel is used for modulation. Note If an external modulation source is selected, pulse width modulation is controlled by the ±...
MODULATION Sweep The function generator can perform frequency sweeps for sine, square, ramp and triangle waveforms or amplitude sweeps for sine, square, triangle, pulse, ramp, noise and ARB waveforms. When Sweep mode is enabled, Burst or any other modulation modes will be disabled for the selected channel.
AFG-3021/3022/3031/3032 User Manual Selecting Sweep Mode The Sweep button is used to output a sweep. If no settings have been configured, the default settings Sweep for output amplitude, offset and frequency are used. Sweep Type Sweep type is used to select between whether a frequency or amplitude sweep is performed.
MODULATION Setting Start and Stop Frequency/Amplitude The start and stop frequencies/amplitudes define the upper and lower sweep limits. The function generator will sweep from the start through to the stop frequency/amplitude and cycle back to the start frequency/amplitude. The sweep is phase continuous over the full sweep frequency range (100μHz-30MHz).
AFG-3021/3022/3031/3032 User Manual 5. Press F1~F5 to select the Start/Stop frequency units or amplitude units. Range Sweep Range 1μHz~30MHz (Sine/Square) (Frequency) (20MHz AFG-3021/3022) 1μHz~1MHz (Ramp/Triangle) Start - Default 100Hz Stop - Default 1kHz Range Sweep Range 1mVpp~10Vpp (into 50Ω) (Amplitude) Start - Default 1Vpp Stop - Default...
Page 138
MODULATION 4. The Span or Center parameter will become highlighted in the Waveform Display area. Span Center 5. Use the selector keys and scroll wheel or number pad to enter the Span/Center frequency. 6. Press F1~F5 to select the Start/Stop frequency units. Range Center 1μHz~30MHz (Sine/Square)
AFG-3021/3022/3031/3032 User Manual Sweep Mode Sweep mode is used to select between continuous or gated sweeps. When set to continuous mode, the sweep function will be continuously output, according to the internal trigger. When set to gated mode the sweep output will be synchronized to the trigger input.
MODULATION 3. Press F3 (Function). Function 4. To select linear or logarithmic Linear sweep, press F1 (Linear) or F2 (Log). Sweep Waveform Type The sweep waveform type sets the shape of the sweep waveform that is created. The sawtooth waveform creates a The triangle waveform creates a swept waveform in the shape of a waveform in the shape of a...
AFG-3021/3022/3031/3032 User Manual 3. To select waveform type, Sawtooth Triangle press F4 (Sawtooth) or F5 (Triangle). Sweep Time The sweep time is used to determine how long it takes to perform a sweep from the start to stop frequencies/amplitude. The function generator automatically determines the number of discrete frequencies or the amplitude used in the sweep depending on the duration of the sweep.
Page 142
MODULATION 4. Use the selector keys and scroll wheel or number pad to enter the Sweep time. 5. Press F1~F2 to select the time mSEC unit. Range Sweep time 1ms ~ 500s Default GlobalTestSupply www. .com nd Quality Products Online at: sales@GlobalTestSupply.co...
AFG-3021/3022/3031/3032 User Manual Sweep Trigger Source In sweep mode the function generator will sweep each time a trigger signal is received. After a sweep output has completed, the function generator outputs the start frequency and waits for a trigger signal before completing the sweep.
Page 144
MODULATION 4. Press F1~F2 to choose the mSEC time unit. Range Internal Trigger Interval 1ms ~ 500s 5. If Manual was selected, press Manual Trigger Trigger F1 (Trigger) to manually start each sweep. 6. Press F6 (Return) to return to Return the menu.
AFG-3021/3022/3031/3032 User Manual Burst Mode The function generator can create a waveform burst with a designated number of cycles. Burst mode supports sine, square, triangle, pulse, ramp, noise (gated burst mode only) waveforms*. Burst *The ARB function also has an N-Cycle Burst mode, however it is not accessible from the Burst function mode.
MODULATION When the Trigger INPUT signal goes low, the waveforms will stop being output after the last waveform completes its period. The voltage level of the output will remain equal to the starting phase of the burst waveforms, ready for the signal to go high again. Burst Mode Burst Count Burst Period Phase Trigger...
AFG-3021/3022/3031/3032 User Manual 3. Use the selector keys and scroll wheel or number pad to enter the frequency. 4. Press F2~F6 to choose the frequency unit. Range Frequency 1uHz~30MHz (20MHz AFG-3021/3022) Frequency – Ramp 1uHz~1MHz Default 1kHz Waveform frequency and burst period are not the Note same.
Page 148
MODULATION 5. Use the selector keys and scroll wheel or number pad to enter the number of cycles. 6. Press F5 to select the Cyc unit. Range Cycles 1~1,000,000 Burst cycles are continuously output when the Note internal trigger is selected. The burst period determines the rate of bursts and the time between bursts.
AFG-3021/3022/3031/3032 User Manual Infinite Burst Count Panel Operation 1. Press the Burst key. Burst 2. Press F1 (N Cycle). N Cycle 3. Press F2 (Infinite). Infinite Note Infinite burst in only available when using manual triggering. Above 25MHz, Infinite burst is only available with square and sine waveforms.
Page 150
MODULATION 3. Press F4 (Period). Period 4. The Period parameter will become highlighted in the Waveform Display area. 5. Use the selector keys and scroll wheel or number pad to enter period time. 6. Press F1~F3 to choose the uSEC period time unit.
AFG-3021/3022/3031/3032 User Manual Burst Phase Burst Phase defines the starting phase of the burst waveform. The default is 0˚. Panel Operation 1. Press the Burst key. Burst 2. Press F1 (N Cycle). N Cycle 3. Press F3 (Phase). Phase 4. The Phase parameter will become highlighted in the Waveform Display area.
MODULATION When using sine, square, triangle or ramp Note waveforms, 0˚ is the point where the waveforms are at zero volts. 0˚ is the starting point of a waveform. For sine, square or Triangle, Ramp waveforms, 0˚ is at 0 volts (assuming there is no DC offset).
Page 153
AFG-3021/3022/3031/3032 User Manual 4. Choose a trigger type by Manual pressing F1 (INT), F2 (EXT) or F3 (Manual). 5. If a manual source is selected, Manual Triggering the trigger soft-key (F1) must be pressed each time to output a burst. When the internal trigger source is chosen, the Note burst is output continuously at a rate defined by...
AFG-3021/3022/3031/3032 User Manual Gated Trigger Polarity The Polarity setting sets the polarity of the input trigger signal for the gated mode. Panel Operation 1. Press the Burst key. Burst 2. Press F2 (Gate). Gate 3. Press F1 (Polarity). Polarity 4. Select either Pos (F1) or Gate N Cycle Neg (F2).
AFG-3021/3022/3031/3032 User Manual ECONDARY SYSTEM FUNCTION SETTINGS The secondary system functions are used to store and recall settings, set the LAN/USB/GPIB settings, view the software version, update the firmware, perform self calibration, set the interface type, change the language, set the output impedance, configure DSO link and other miscellaneous functions.
SECONDARY SYSTEM FUNCTION SETTINGS Save, Recall or Delete The AFG-3021, AFG-3022, AFG-3031 & AFG-3032 have non-volatile memory to store instrument state and ARB data. There are 10 memory files numbered 0~9. Each memory file can either store arbitrary waveform data (ARB), settings or both. When data (ARB or Setting data) is stored in a memory file, the data will be shown in red.
Page 159
AFG-3021/3022/3031/3032 User Manual Harmonic order SUM amplitude settings SUM frequency Harmonic display Sweep Source Source Shape Type Duty Time Frequency Start frequency Burst Type Stop frequency ...
Page 160
SECONDARY SYSTEM FUNCTION SETTINGS 3. Use the scroll wheel to highlight a memory file (Memory0 ~ Memory9). 4. Choose a file operation to Store perform on the memory Recall location: Delete Press F1 to store a file, press F2 to recall a file, or press F3 to delete a file.
Page 161
AFG-3021/3022/3031/3032 User Manual 6. Press F5 (Done) to complete Done the operation. Range Memory file Memory0 ~ Memory9 Data type ARB, Setting, ARB+Setting 7. To delete all the files for Delete All Delete All Memory0~Memory9, press 8. Press F1 (Done) to confirm Done the deletion of all files.
SECONDARY SYSTEM FUNCTION SETTINGS Selecting the Remote Interface The AFG-3021, AFG-3022, AFG-3031 & AFG-3032 has LAN, GPIB and USB interfaces for remote control. Only one remote interface can be used at any one time. GPIB Interface When using the GPIB interface, a GPIB address Background must be specified.
AFG-3021/3022/3031/3032 User Manual 6. Use the selector keys and scroll wheel or number pad to enter the GPIB address. 7. Press F5 (Done) to confirm Done the GPIB address. GPIB address Range 1~30 LAN Interface When using the LAN interface, an IP must be Background specified (DHCP, Auto IP or manually configured).
Page 164
SECONDARY SYSTEM FUNCTION SETTINGS Range DHCP Use DHCP to automatically configure the IP address of the unit for networks with a DHCP server. Auto IP Use Auto IP to automatically configure the IP address of the unit when it is directly connected to a host PC via an Ethernet cable.
AFG-3021/3022/3031/3032 User Manual 10. Finally, press F5 (Done) to Done confirm all the IP configuration settings. LAN Host Name The following describes how to set the host name Background for the unit when used in the LAN interface. Panel Operation 1. Press the UTIL key. UTIL 2.
SECONDARY SYSTEM FUNCTION SETTINGS 7. Use the scroll wheel to scroll through each character. 8. Press F1 (Enter Char) to select Done a character and continue to the next character. 9. Press F5 (Done) to confirm Done the host name. USB Interface The following shows how to configure the meter Background...
Note: The location of the “System” soft-key is different for the single and dual channel models. On the AFG-3021/3031, the “System” soft- key is mapped to F4, rather than F5, as on the AFG-3022/3032. Viewing and Updating the Software & Firmware Version Panel Operation 1.
SECONDARY SYSTEM FUNCTION SETTINGS Language Selection The AFG-3021, AFG-3022, AFG-3031 and AFG- Background 3032 can be operated in English, Traditional or Simplified Chinese. By default, the language is set to English. Panel Operation 1. Press the UTIL key. UTIL 2. Press F4 (System) [F5 for System AFG-3021/3031].
AFG-3021/3022/3031/3032 User Manual 5. Select F1(Simplified Chinese), 簡體中文 繁體中文 F2(English) or F3(Traditional Chinese) to choose the language. Setting the Beeper Sound The beeper sound can be set on or off for when a Background key is pressed or the scroll wheel is turned. Panel Operation 1.
SECONDARY SYSTEM FUNCTION SETTINGS Display Suspend This function will turn off the display until a front Background panel key is pressed. When a panel key is pressed the display will turn back on. Panel Operation 1. Press the UTIL key. UTIL 2.
AFG-3021/3022/3031/3032 User Manual Panel Operation 1. Press the UTIL key. UTIL 2. Press F4 (System)[F5 for System AFG-3021/3031]. 3. Press F2 (Display Opt). Display Opt 4. Press F2 (Brightness). Brightness Use the scroll wheel to set the brightness of the display. Range Brightness 1 (dim) ~ 10 (bright)
Page 172
SECONDARY SYSTEM FUNCTION SETTINGS synchronize other equipment to the internal reference clock of the function generator. See page 186 for details on multi-unit syncing. Connection Disconnect power cord and test GPIB leads before replacing fuse WARNING FUSE RATING To avoid electric shock the power cord protective grounding conductor AC 250V must be connected to ground.
The following describes how to set the output Note impedance on the AFG-3021 and the AFG-3031. To set the output impedance on the AFG-3022 or AFG-3032, please see page 179. Panel Operation 1. Press the CH1 or CH2 key. UTIL 2.
However the menu tree operation varies between the single and dual channel models. The procedure here is only applicable to the AFG-3021/3031. For the AFG-3022 and AFG-3032, please see page 180. Panel Operation 1. Connect the AFG-3021/3031’s USB host port to the GDS- 2000’s USB B device port.
Page 175
AFG-3021/3022/3031/3032 User Manual 6. After a few moments the AFG-3021/3031 will automatically switch over to the ARB function and the waveform that was saved from the DSO will be plotted as an ARB waveform. See the ARB chapter to edit or save the resultant waveform.
MULTI-UNIT OPERATION The dual channel section details how to operate the unit in dual channel mode (AFG-3022 & AFG-3032 only) and how to set any channel-specific settings. The multi-unit section describes how to sync multiple units together in a master-slave configuration.
AFG-3021/3022/3031/3032 User Manual Dual Channel Settings There are a number of settings that only apply to the AFG-3022 and AFG-3032, such a channel tracking, DSO link, output impedance settings and channel phase settings for each channel. Channel Phase Settings The phase settings allow you to configure the start...
The following describes how to set the output Note impedance on the AFG-3022 and 3032. To set the output impedance on the AFG-3021/3031, please see page 174. Panel Operation 1. Press the CH1 or CH2 key.
Note However the menu tree operation varies between the single and dual channel models. The procedure here is only applicable to the AFG-3022 and AFG- 3032. For the AFG-3021/3031, please see page 175. Panel Operation 1. Connect the AFG-3022/AFG- 3032 USB host port to the GDS-2000’s USB B device...
DUAL CHANNEL & MULTI-UNIT OPERATION 5. To select the DSO channel, press F1 (CH1), F3 (CH2), F4 (CH3) or F5 (CH4). The acquired data can then be displayed. 6. After a few moments the AFG-30XX will automatically switch over to the ARB function and the waveform that was saved from the DSO will be plotted as an ARB waveform.
Page 181
AFG-3021/3022/3031/3032 User Manual 3. Press F1 (Freq Cpl). Freq Cpl 4. To set the unselected Offset channel’s frequency as an offset from the selected channel’s frequency, press F2 (Offset). Use the selector keys and scroll wheel or number pad to enter the frequency offset.
DUAL CHANNEL & MULTI-UNIT OPERATION Range Offset Range -30MHz ~ 30MHz (-20MHz ~ 20MHz) Offset Resolution 1uHz. Unselected channel’s frequency = selected channel’s frequency + offset. Selected channel’s frequency is fixed. Ratio Range 1000.000 ~ 0.001 Ratio Resolution 0.001. Ratio = Unselected channel’s frequency/selected channel’s frequency.
AFG-3021/3022/3031/3032 User Manual 2. Press F5 (Dual Ch). Dual Ch 3. Press F2 (Ampl Cpl). Ampl Cpl 4. Press F1 to turn amplitude coupling ON or F2 to turn amplitude coupling OFF. Channel Tracking Channel tracking will set the waveform output of Background one channel to be the same as the other channel.
Page 184
DUAL CHANNEL & MULTI-UNIT OPERATION 4. To select the tracking Inverted function, press F1 (OFF), F2 (ON) or F3 (Inverted). GlobalTestSupply www. .com nd Quality Products Online at: sales@GlobalTestSupply.co...
AFG-3021/3022/3031/3032 User Manual Multi-Unit Syncing Multiple units can be synchronized to the same clock. The clock source can be an external reference or the internal reference output from the master AFG-30XX. Multi Unit Connection There are two different connection methods that Background can be used to perform multi-unit syncing, however the method chosen determines the...
Page 186
DUAL CHANNEL & MULTI-UNIT OPERATION When using the parallel connection method, a Parallel BNC cable is connected from the master REF OUT Connection port to a T-divider. The T-divider then connects to the REF IN port of the slave #1 and to the second T-divider with BNC cables.
AFG-3021/3022/3031/3032 User Manual Multi Unit Setup The following will describe what configuration is Background required for the master and each connected slave unit for multi-unit control. See page 172 details. When using the external reference function, the ARB Note and dual channel function is not supported. Please see the reference clock sources chapter on page 172 for more details.
Page 188
DUAL CHANNEL & MULTI-UNIT OPERATION 5. To configure the slave units: Press F2 (EXT) for each slave unit*. The slave units accept the reference signal from the master unit. Press F3 (EXT Sync) for each EXT Sync slave connected to the master unit.
AFG-3021/3022/3031/3032 User Manual RBITRARY WAVEFORMS The AFG-30XX can create user-defined arbitrary waveforms. Each waveform can include up to 8M data points. Each data point has a vertical range of 65535 (±32767) with a sample rate of 250MSa/s. Inserting Built-In Waveforms ........... 191 Inserting a Built-in Waveform ..........
ARBITRARY WAVEFORMS Inserting Built-In Waveforms The AFG-30XX function generators contain a number of functions to create a number of common waveforms including sine, square, ramp, sin(x)/x, exponential rise, exponential fall, pulse and DC waveforms. There are a total of 65 built-in waveforms to choose from. See page 414 for a graphical representation of each waveform.
Page 191
AFG-3021/3022/3031/3032 User Manual Trigonometric Arccos, Arctan, Sech, Arccot, Arctanh, Sinh, Arccsc, Cosh, Tan, Arcsec, Cot, Tanh, Arcsin, Csc, Arcsinh, Sec Window Barthannwin, Chebwin, Kaiser, Bartlett, Flattopwin, Triang, Blackman, Hamming, Tukeywin, Bohmanwin, Hann 4. The selected built-in waveform will be shown in red on the display.
ARBITRARY WAVEFORMS Range Item Setting Range Start 0 ~ 8388606 Length 2 ~ 8388608 Scale 1 ~ 32767 10. Press F4 (Done) to complete Done the operation. 11. Press F6 (Return) to return to Return the previous menus. Below a sine wave created at start: 0, Length: 40, Scale: 32767 Inserting a DC Waveform Panel Operation 1.
Page 193
AFG-3021/3022/3031/3032 User Manual 5. Press F3 (DC). 6. Press F1 (Start). Start 7. The Start property will become highlighted in red. 8. Use the selector keys and scroll wheel or number pad to enter the Start address of the DC waveform. 9.
ARBITRARY WAVEFORMS Below a DC waveform created at start:0, Length: 524288, Data: 10000. Inserting a Pulse Waveform The following operating procedure can be used to insert a pulse waveform into an ARB waveform. Range Frequency Resolution Duty Resolution 1pHz~5Hz 1pHz 0.0001% >5Hz~50Hz 1uHz...
Page 195
AFG-3021/3022/3031/3032 User Manual 6. Press F1 (Frequency). Frequency 7. The Pulse Freq property will become highlighted in red. 8. Use the selector keys and scroll wheel or number pad to enter the pulse frequency. 9. Press F1~F5 to select the frequency unit.
Page 196
ARBITRARY WAVEFORMS Below a Pulse waveform created with a frequency of 100kHz and a duty cycle of 50%. GlobalTestSupply www. .com nd Quality Products Online at: sales@GlobalTestSupply.co...
AFG-3021/3022/3031/3032 User Manual Display an Arbitrary Waveform Set the Horizontal Display Range The horizontal window bounds can be set in one of two ways: Using a start point and length, or a center point and length. Panel Operation 1. Press the ARB key. 2.
Page 198
ARBITRARY WAVEFORMS 7. Press F5 (Enter) to save the Enter setting. 8. Repeat steps 4~8 for either Setting the Start Start Center Start (F1) or Center F3. point or Center Point The Start soft-key is used to edit the Horizontal From parameter.
AFG-3021/3022/3031/3032 User Manual Set the Vertical Display Properties Like the horizontal properties, the vertical display properties of the waveform display can be created in two ways: Setting high and low values, or setting the center point. Panel Operation 1. Press the ARB key. 2.
Page 200
ARBITRARY WAVEFORMS 10. To vertically zoom in from Zoom Zoom in the center of the arbitrary waveform, press F4 (Zoom In). The Zoom In function will reduce the amplitude by half each time the function is used. The minimum allowable vertical low is -2, and the minimum vertical high is 2.
AFG-3021/3022/3031/3032 User Manual Page Navigation (Next Page) When viewing the waveform, the display window Background can be moved forward and backward using the Next/Back Page functions. Panel Operation 1. Press the ARB key. 2. Press F1 (Display). Display 3. Press F3 (Next Page) to move Next Page the display window one view length forward.
ARBITRARY WAVEFORMS Page Navigation (Back Page) When viewing the waveform, the display window Background can be moved forward and backward using the Next/Back Page functions. Panel Operation 1. Press the ARB key. 2. Press F1 (Display). Display 3. Press F4 (Back Page) to move Back Page the display window one view length backward.
AFG-3021/3022/3031/3032 User Manual Overview Display Panel Operation 1. Press the ARB key. 2. Press F1 (Display). Display 3. To make the display window Overview cover the whole waveform, press F5 (Overview). Horizontal: 0~8388607, Vertical: 32767~ -328767 Below shows the display after Overview has been selected.
ARBITRARY WAVEFORMS Editing an Arbitrary Waveform Adding a point to an Arbitrary Waveform The AFG-30XX has a powerful editing function Background that allows you to create points or lines anywhere on the waveform. Panel Operation 1. Press the ARB key. 2.
AFG-3021/3022/3031/3032 User Manual 9. The Data parameter will become highlighted in red. 10. Use the selector keys and scroll wheel or number pad to enter a Data value. 11. Press F5 (Enter) to save Enter settings. 12. Press F6 (Return) to return to Return the ARB menu.
Page 206
ARBITRARY WAVEFORMS 3. Press F2 (Line). Line 4. Press F1 (Start ADD). Start ADD 5. The Start Address parameter will become highlighted in red. 6. Use the selector keys and scroll wheel or number pad to enter the start address. 7.
AFG-3021/3022/3031/3032 User Manual Copy a Waveform Panel Operation 1. Press the ARB key. 2. Press F2 (Edit). Edit 3. Press F3 (Copy). Copy 4. Press F1 (Start). Start 5. The Copy From properties will become highlighted in red. 6. Use the selector keys and scroll wheel or number pad to enter the Copy From address.
ARBITRARY WAVEFORMS 8. Repeat steps 4~7 for Length (F2) and Paste To (F3). 9. Press F5 (Done) to confirm Done the selection. 10. Press F6 (Return) to return to Return the previous menus. A section of the waveform from points 30~45 was copied to points 0~15: Copy From: 30 Length: 15...
Page 209
AFG-3021/3022/3031/3032 User Manual 5. The Clear From property will become highlighted in red. 6. Use the selector keys and scroll wheel or number pad to enter the Clear From address. 7. Press F5 (Enter) to save Enter settings. 8. Repeat steps 4~8 for Length Length (F2).
ARBITRARY WAVEFORMS The same area after being cleared. The result after the whole waveform is deleted. ARB Protection The protection function designates an area of the arbitrary waveform that cannot be altered. Panel Operation 1. Press the ARB key. 2. Press F2 (Edit). Edit 3.
Page 211
AFG-3021/3022/3031/3032 User Manual 5. The Protect Start property will become highlighted in red. 6. Use the selector keys and scroll wheel or number pad to enter the Protect Start address. 7. Press F5 (Enter) to save Enter settings. 8. Repeat steps 4~8 for Length Length (F3).
Page 212
ARBITRARY WAVEFORMS 15. The waveform background will return back to black. The property “Protect Off” will be shown in gray. Below, the protected areas of the waveform are shown with an orange background: Protect Start: 0, Length: 15. GlobalTestSupply www. .com nd Quality Products Online at: sales@GlobalTestSupply.co...
AFG-3021/3022/3031/3032 User Manual Output an Arbitrary Waveform Up to 8Mpts (0~8388607) of an arbitrary waveform can be output from the function generator. Arbitrary waveforms can also be output for a defined or infinite amount of cycles. Output Length of an Arbitrary Waveform Panel Operation 1.
ARBITRARY WAVEFORMS Below the waveform from position 0 with a length of 1024 is output from the front panel terminal. Gated Output of the Arbitrary Waveform The ARB waveform output can be output using Background the rear panel trigger input when the trigger is set to Gate.
Page 215
AFG-3021/3022/3031/3032 User Manual 5. Choose Positive or Negative to select the trigger polarity. When a Gate mode is selected any previous trigger output setting is disabled. The Gated mode can be turned off by selecting a different output mode, such as Ncycle or Infinite.
ARBITRARY WAVEFORMS Output an N Cycle Arbitrary Waveform The output of an arbitrary waveform can be Background repeated for a designated number of cycles. The N Cycle function uses manual triggering or external triggering. Manual triggering will trigger each time. Range 1 to 8388607 cycles Panel Operation 1.
Page 217
AFG-3021/3022/3031/3032 User Manual 7. Use the selector keys and scroll wheel or number pad to enter the number of cycles. 8. Press F5 (Enter) to confirm Enter the number of cycles. 9. Press Manual (F4) to set the Manual Manual unit to manual triggering.
ARBITRARY WAVEFORMS 14. Press F6 (Return) to return to Return the previous menu. Below a waveform of 3 cycles is output from the front panel terminal. Output Arbitrary Waveforms – Infinite Cycles The output of an arbitrary waveform can be Background repeated an infinite amount of times to create a cyclic waveform.
Page 219
AFG-3021/3022/3031/3032 User Manual Note: The ARB waveform will be output when the Output key is pressed. 5. Press F6 (Return) to return to Return the previous menus. Below an infinite cycle waveform is output from the front panel terminal. GlobalTestSupply www.
ARBITRARY WAVEFORMS Saving/Loading an Arbitrary Waveform The AFG-30XX Series contain a number of functions to create a number of common waveforms including sine, square, ramp, sinc, exponential rise, exponential fall and DC waveforms. Saving a Waveform to Internal Memory Panel Operation 1. Press the ARB key. 2.
AFG-3021/3022/3031/3032 User Manual 10. Press F1 (Select) to save the Select waveform to the selected file. 11. Press F6 (Return) to return to Return the previous menus. Below the file ARB1 is selected using the scroll wheel. Saving a Waveform to USB Memory Panel Operation 1.
Page 222
ARBITRARY WAVEFORMS 6. Press F5 (Enter) to confirm Enter the Start point. 7. Repeat steps 4~6 for Length Length (F2). 8. Press F4 (USB). 9. Use the scroll wheel to navigate the filesystem. 10. Press Select to select Select directories or file names. 11.
Page 223
AFG-3021/3022/3031/3032 User Manual 14. Use F1 (Enter Char) or F2 Enter Char Backspace (Backspace) to create a folder name. 15. Press F5 (Save) to save the Save folder name. 16. Press F3 (New File). Create New File New File 17. The text editor will appear with a default file name of “NEW_FIL”.
ARBITRARY WAVEFORMS Below, the folder “ABC” and the file “AFG.CSV” have been created in the root directory. Load a Waveform from Internal Memory Panel Operation 1. Press the ARB key. 2. Press F5 (Load). Load 3. Press F1 (To) to choose the starting point to load the waveform from.
Page 225
AFG-3021/3022/3031/3032 User Manual 6. Press F5 (Enter) to confirm Enter the Start point. 7. Press F3 (Memory). Memory 8. Use the scroll wheel to navigate the filesystem. 9. Press Select to select Select directories or file names. The ARB waveform will be loaded immediately.
ARBITRARY WAVEFORMS Load a Waveform from USB Panel Operation 1. Press the ARB key. 2. Press F5 (Load). Load 3. Press F1 (To) to choose the starting point to load the waveform from. Set to 0 by default 4. The “Load To” property will become highlighted in red.
Page 227
AFG-3021/3022/3031/3032 User Manual 9. Press F1 (Select) to select the Select file to load. The ARB waveform will be loaded immediately. Below the file AFG.CSV is selected using the scroll wheel loaded to position 0. GlobalTestSupply www. .com nd Quality Products Online at: sales@GlobalTestSupply.co...
Save and Recall Commands ..........384 Error Messages..............386 SCPI Status Registers ............399 Establishing a Remote Connection The AFG-3021, AFG-3022, AFG3031 and AFG-3032 support USB, LAN and GPIB remote connections. Configure USB interface PC side connector Type A, host...
Page 230
REMOTE INTERFACE 3. Connect the USB cable to the rear panel USB B (slave) port. GlobalTestSupply www. .com nd Quality Products Online at: sales@GlobalTestSupply.co...
Page 231
AFG-3021/3022/3031/3032 User Manual Configure GPIB interface 24 pin Female GPIB Connector configuration 1-30 GPIB address Maximum 15 devices altogether, 20m cable GPIB constraints length, 2m between each device Unique address assigned to each device At least 2/3 of the devices turned On ...
Page 232
REMOTE INTERFACE 3. Use the scroll wheel or number pad to choose an address. 4. Press Done (F5) to confirm. Done Configure LAN interface Domain Name MAC Address configuration DNS IP Address Instrument Name Gateway IP Address User Password Subnet Mask Instrument IP Address HTTP Port 80 (fixed) Panel Operation 1.
Page 233
AFG-3021/3022/3031/3032 User Manual Use Auto IP to automatically configure the IP Auto IP address of the unit when it is directly connected Connections to a host PC via the Ethernet cable. 4. Press Config (F2) followed by Config AutoIP Auto IP (F2), Done(F5). Press Done Done Done(F5) again.
Page 234
→ System → Hardware tab. Run this query command via the terminal. Functionality check *idn? This should return the Manufacturer, Model number, Serial number, and Firmware version in the following format. GW INSTEK,AFG-3032,SN:XXXXXXXX,Vm.mm GlobalTestSupply www. .com nd Quality Products Online at: sales@GlobalTestSupply.co...
Page 235
AFG-3021/3022/3031/3032 User Manual When a remote connection is established all panel Display keys are locked except for F6. 1. Press REM/LOCK (F6) to REM/LOCK return the function generator to local mode. GlobalTestSupply www. .com nd Quality Products Online at: sales@GlobalTestSupply.co...
REMOTE INTERFACE Web Browser Control Interface The AFG-30XX also has a browser-based interface to remotely control the unit over a network. Overview The Welcome Page is the home page for the Welcome Page browser control interface. This page lists instrument information and the LAN configuration.
Page 237
AFG-3021/3022/3031/3032 User Manual The Browser Web Control allows you to Browser Web remotely control and view the unit over a LAN. Control The unit can be controlled via a virtual control panel using a mouse, with SCPI controls via an SCPI input box or by running SCPI commands in a file.
Page 238
REMOTE INTERFACE 2. Next enable the virtual Interface UTIL interface on the AFG-30XX. Remote Press the Utility key followed by Interface (F2), LAN (F3) and Remote (F1) to enable/disable the Virtual interface. 3. Enter the IP address of the unit into the address bar of your web browser as follows: 4.
AFG-3021/3022/3031/3032 User Manual Command Syntax IEEE488.2, 1992 (fully compatible) Compatible standard SCPI, 1994 (partially compatible) The SCPI standard is an ASCII based standard that Command Tree defines the command syntax and structure for programmable instruments. Commands are based on a hierarchical tree structure.
Page 240
REMOTE INTERFACE A query is a simple or compound Query command followed by a question mark (?). A parameter (data) is returned. The maximum or minimum value for a parameter can also be queried where applicable. SOURce1:FREQuency? Example SOURce1:FREQuency? MIN Command forms Commands and queries have two different forms, long and short.
Page 241
AFG-3021/3022/3031/3032 User Manual 1: command header Command offset SOURce1:DCOffset < >LF Format 2: single space 3: parameter 4: message terminator Square Brackets [] Commands that contain squares brackets indicate that the contents are optional. The function of the command is the same with or without the square bracketed items.
Page 242
REMOTE INTERFACE NRf type with a 1, 1.5, 4.5e-1 <NRf+> suffix including <Numeric> MAX, MIN, MINimum, MAXimum or DEFault parameters. Arbitrary ASCII <aard> characters. Discrete ASCII IMM, EXT, <discrete> character parameters NRf+ type 1 KHZ, 1.0 HZ, <frequency> including ΜHZ <peak deviation frequency unit in Hz>...
Page 243
AFG-3021/3022/3031/3032 User Manual A space is used to separate a Command Space parameter from a Separators keyword/command header. A colon is used to separate Colon (:) keywords on each node. A semi colon is used to separate Semicolon (;) subcommands that have the same node level.
488.2 Common Commands *IDN? System Query Returns the function generator manufacturer, Description model number, serial number and firmware version number in the following format: GW INSTEK,AFG-3032,SN:XXXXXXXX,Vm.mm Query Syntax IDN? Return parameter <string> Example *IDN? GW INSTEK,AFG-3032,SN:XXXXXXXX,Vm.mm Returns the identification of the function generator.
Page 251
AFG-3021/3022/3031/3032 User Manual Return parameter +0 Pass judgment Fail judgment Example *TST? The function generator passed the self-test. *OPC System Command This command sets the Operation Complete Bit Description (bit 0) of the Standard Event Status Register after the function generator has completed all pending operations.
Page 252
REMOTE INTERFACE *WAI System Command This command waits until all pending operations Description have completed before executing additional commands. I.e. when the OPC bit is set. This command is only used for triggered sweep Note and burst modes. Syntax *WAI GlobalTestSupply www.
AFG-3021/3022/3031/3032 User Manual Status Register Commands *CLS System Command The *CLS command clears all the event registers, Description the error queue and cancels an *OPC command. Syntax *CLS *ESE System Command The Standard Event Status Enable command Description determines which events in the Standard Event Status Event register can set the Event Summary Bit (ESB) of the Status Byte register.
Page 254
REMOTE INTERFACE Example *ESE? Bit 2 is set. *ESR? System Command Reads and clears the Standard Event Status Description Register. The bit weight of the standard event status register is returned. The *CLS will also clear the standard event status Note register.
Page 255
AFG-3021/3022/3031/3032 User Manual *SRE System Command The Service Request Enable Command determines Description which events in the Status Byte Register are allowed to set the MSS (Master summary bit). Any bit that is set to “1” can cause the MSS bit to be set. The *CLS command clears the status byte event Note register, but not the enable register.
Page 256
REMOTE INTERFACE *PSC System Command The Power-On Status Clear command is used to Description clear a number enable registers at power-on. The following enable register groups are cleared when the *PSC command is enabled: Questionable data enable register Standard operation enabled register Status byte condition enable register Standard event enable register Syntax...
Page 257
AFG-3021/3022/3031/3032 User Manual Voltage overload 4 Over temperature Loop unlock Ext Mod Overload Cal Error External Reference Query Example STAT:QUES:COND? Returns the bit weight of the questionable status condition register (bit 0). Indicates that there are no errors. STATus:QUEStionable:EVENt? System Command Reads and clears the Questionable Status Event Description register.
Page 258
REMOTE INTERFACE Example STAT:QUES:ENAB 17 Sets a bit weight of 17 (bits 0 and 4). I.e, enables voltage overload and over temperature bits. Query Syntax STATus:QUEStionable:ENABle? Return Parameter Bit Register Register Voltage overload 4 Over temperature Loop unlock Ext Mod Overload Cal Error External Reference Query Example...
AFG-3021/3022/3031/3032 User Manual System Commands SYSTem:ERRor? System Query Reads an error from the error queue. See page 404 Description for details regarding the error queue. Query Syntax SYSTem:ERRor? Return parameter <string> Returns an error string, <256 ASCII characters. Example SYSTem:ERRor? -138 Suffix not allowed Returns an error string.
Page 260
REMOTE INTERFACE SYSTem:REMote System Command Disables the front panel keys and puts the function Description generator into remote mode. Syntax SYSTem:REMote Example SYST:REM SYSTem:LANGuage System Command Sets or queries the display language. Select the Description language shown on the function generator front- panel display.
Page 261
AFG-3021/3022/3031/3032 User Manual Query Syntax SYSTem:VERSion? Return parameter <string> Example SYST:VERS? AFG-3032 VX.XXX_XXXX FPGA:XXXX BootLoad:XXXX Returns the date and version for that date. GlobalTestSupply www. .com nd Quality Products Online at: sales@GlobalTestSupply.co...
REMOTE INTERFACE Apply Commands The APPLy command has 8 different types of outputs (Sine, Square, Ramp, Pulse, Noise, Triangle, Harmonic, User). The command is the quickest, easiest way to output waveforms remotely. Frequency, amplitude and offset can be specified for each function. As only basic parameters can be set with the Apply command, other parameters use the instrument default values.
Page 263
AFG-3021/3022/3031/3032 User Manual When setting the amplitude, MINimum, Output MAXimum and DEFault can be used. The range Amplitude depends on the function being used and the output termination (50Ω or high impedance). The default amplitude for all functions is 100 mVpp (50Ω). If the amplitude has been set and the output termination is changed from 50Ω...
Page 264
REMOTE INTERFACE The offset is also determined by the output termination (50Ω or high impedance). If the offset has been set and the output termination has changed from 50Ω to high impedance, the offset will double. Changing the output termination from high impedance to 50Ω...
Page 265
AFG-3021/3022/3031/3032 User Manual Parameter <frequency> 1μHz~30MHz (20MHz AFG-3021/3022) amplitude < > 1mV~10V (50Ω) <offset> 0~4.99V (50Ω) Example SOUR1:APPL:SQU 2KHZ,MAX,MAX Sets frequency to 2kHz and sets the amplitude and offset to the maximum. Source Specific SOURce[1|2]:APPLy:RAMP Command Outputs a ramp wave from the selected channel Description when the command has executed.
Page 266
REMOTE INTERFACE The PW settings from the SOURce[1]:PULS: WIDT Note command are preserved. Edge and pulse width may be adjusted to supported levels. Repetition rates will be approximated from the frequency. For accurate repetition rates, the period should be adjusted using the SOURce[1]:PULS:PER command Syntax SOUR[1|2]:APPLy:PULSe [<frequency>...
Page 267
AFG-3021/3022/3031/3032 User Manual Source Specific SOURce[1|2]:APPLy:TRIangle Command Outputs a triangle wave from the selected channel Description when the command has executed. Frequency, amplitude and offset can also be set. Syntax SOURce[1|2]:APPLy:TRIangle [<frequency> [,<amplitude> [,<offset>] ]] Parameter <frequency> 1μHz~1MHz amplitude < >...
Page 268
REMOTE INTERFACE Source Specific SOURce[1|2]:APPLy:HARMonic Command Outputs a sine wave with harmonic components Description from the selected channel when the command has executed. Frequency, amplitude and offset can also be set. The maximum frequency is limited by the highest order. Highest order n: maximum frequency is 30MHz/n or 20MHz/n for AFG- 3021/3022)).
Page 269
AFG-3021/3022/3031/3032 User Manual Parameter <frequency> 1µHz~125MHz <amplitude> 0~10V (50Ω) <offset> 0~5V (50Ω) Example SOUR1:APPL:USER Source Specific SOURce[1|2]:APPLy? Command Outputs a string with the current settings for the Description selected channel. The string can be passed back appended to the Note Apply Command.
REMOTE INTERFACE Output Commands Unlike the Apply commands, the Output commands are low level commands to program the function generator. 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 271
AFG-3021/3022/3031/3032 User Manual If the function mode is changed and the current frequency setting is not supported by the new mode, the frequency setting will be altered to next highest value. The duty cycle of square waveforms depends on the frequency settings.
Page 272
REMOTE INTERFACE from 50Ω to high impedance, the amplitude will double. Changing the output termination from high impedance to 50Ω will half the amplitude. The offset and amplitude are related by the following equation. |Voffset| < Vmax – Vpp/2 If the output termination is set to high impedance, dBm units cannot be used.
Page 273
AFG-3021/3022/3031/3032 User Manual Source Specific SOURce[1|2]:PHASe Command Sets or queries the output phase angle (-360º~360º) Description of the selected channel. The default phase is 0º. Syntax SOURce[1|2]:PHASe{<angle> |MINimum|MAXimum} Example SOUR[1]:PHAS:MAX Sets the output phase to the maximum. Query Syntax SOURce[1|2]:PHASe {MINimum|MAXimum} Return Parameter <NR3>...
Page 274
REMOTE INTERFACE |Voffset| < Vmax – Vpp/2 If the output specified is out of range, the maximum offset will be set. The offset is also determined by the output termination (50Ω or high impedance). If the offset has been set and the output termination has changed from 50Ω...
Page 275
AFG-3021/3022/3031/3032 User Manual duty cycle available at that frequency will be used. A “settings conflict” error will result from the above scenario. For square waveforms, the Apply command and AM/FM modulation modes ignore the duty cycle settings. Syntax SOURce[1|2]:SQUare:DCYCle {< percent> |MINimum|MAXimum} Example SOUR1:SQU:DCYC MAX...
Page 276
REMOTE INTERFACE Return Parameter <NR3> Returns the symmetry as a percentage. Example SOUR1:RAMP:SYMMetry? +1.0000E+02 The symmetry is set as 100%. Source Specific OUTPut[1|2] Command Enables/Disables or queries the front panel Description output. The default is set to off. If the output is overloaded by an external voltage, Note the output will turn off and an error message will be displayed.
Page 277
AFG-3021/3022/3031/3032 User Manual Source Specific OUTPut[1]:LOAD Command Sets or queries the output termination. Two Description impedance settings can be chosen, DEFault (50Ω) and INFinity (high impedance >10 kΩ). The output termination is to be used as a reference only. If the output termination is set 50Ω but the actual load impedance is not 50Ω, then the amplitude and offset will not be correct.
Page 278
REMOTE INTERFACE Source Specific OUTPut[1|2]:SYNC Command This command turns waveform gating on or off for Description the selected channel’s output. When gating is turned on, it allows the output signal to be output when the trigger input is asserted. It does not turn the output on, change the phase or other timing characteristics.
Page 279
AFG-3021/3022/3031/3032 User Manual Source Specific SOURce[1]:VOLTage:UNIT Command Sets or queries the output amplitude units. There Description are three types of units: VPP, VRMS and DBM. The units set with the VOLTage:UNIT command Note will be used as the default unit for all amplitude units unless a different unit is specifically used for a command.
REMOTE INTERFACE Pulse Configuration Commands The pulse chapter is used to control and output pulse waveforms. Unlike the APPLy command, low level control is possible including setting the rise time, fall time, period and pulse width. Period Pulse Width Rise time Fall time Source Specific SOURce[1|2]:PULSe:WIDTh...
Page 281
AFG-3021/3022/3031/3032 User Manual The pulse width is set to 20 nanoseconds. Source Specific SOURce[1|2]:PULSe:DCYCle Command Sets or queries the pulse duty cycle. Description The duty cycle is limited by the rise/fall time as Note noted below: Duty ≧ 0.625× 100× [rise time - 0.6ns +fall time - 0.6ns]/period Duty ≦...
Page 282
REMOTE INTERFACE Syntax SOURce[1|2]:PULSe:EDGEtime{<seconds>|MINimum |MAXimum} Example SOUR1:PULS:EDGE MAX Sets the edge time to the maximum allowed. Query Syntax SOURce[1|2]:PULSe:EDGEtime? [MINimum|MAXimum] Return Parameter <NR3> 9.32ns ~ 799.9ks Example SOUR1:PULS:EDGE? MIN +9.3200E-09 The edge time is 9.32 nanoseconds. Source Specific SOURce[1|2]:PULSe:RISE Command Sets or queries the pulse rise time.
AFG-3021/3022/3031/3032 User Manual Source Specific SOURce[1|2]:PULSe:FALL Command Sets or queries the pulse fall time. The default fall Description time is 10us. The rise and fall time can be different. Range: 9.32ns ~ 799.9ks The fall time is limited by the pulse width, period Note and rise time as noted below: Pulse Width - 0.625 * [(Rise Time - 0.6nS) + (Fall...
Page 284
REMOTE INTERFACE Sets the highest order harmonic to the maximum allowed. Query Syntax SOURce[1|2]:HARMonic:TOTAl? [MINimum|MAXimum] Return Parameter <NR1> 2 ~ 8 Example SOUR1:HARM:? MIN Returns the minimum harmonic. Source Specific SOURce[1|2]:HARMonic:TYPE Command Specifies which harmonics are output; odd, even, Description all or user specified.
Page 285
AFG-3021/3022/3031/3032 User Manual Returns EVEN harmonic (Limited to the 2 harmonic). Source Specific SOURce[1|2]:HARMonic:ORDEr Command Sets or queries the amplitude and phase of each Description order. By default, each order is set to 3Vpp, with a phase of 0º. Syntax SOURce[1|2]:HARMonic:ORDEr {<id>,<amplitude>,<phase>} Parameter/...
Page 286
REMOTE INTERFACE Parameter/ FREQuency Sets the display to Return Parameter frequency TIME Sets the display to time Example SOURce1:HARMonic:DISPlay TIME Sets the display to TIME. Query Syntax SOURce[1|2]:HARMonic:DISPlay? Returns TIME or FREQ. Example SOUR1:HARM:DISP? TIME Returns the display format as TIME. GlobalTestSupply www.
AFG-3021/3022/3031/3032 User Manual Amplitude Modulation (AM) Commands AM Overview To successfully create an AM waveform, the following commands must be executed in order. 1. Turn on AM modulation using the Enable AM Modulation SOURce[1|2]: AM:STAT ON command Configure Carrier 2. Use the APPLy command to select a carrier waveform.
Page 288
REMOTE INTERFACE Source Specific SOURce[1|2]:AM:STATe Command Sets or disables AM modulation for the selected Description channel. By default AM modulation is disabled. AM modulation must be enabled before setting other parameters. Burst or sweep mode will be disabled if AM Note modulation is enabled on the same channel.
Page 289
AFG-3021/3022/3031/3032 User Manual Syntax SOURce[1|2]:AM:MODulation:INPut {INTernal|EXTernal} Example SOUR1:AM:MOD:INP EXT Sets the modulation source to external. Query Syntax SOURce[1|2]:AM:MODulation:INPut? Return Parameter INT Internal External Example SOUR1:AM:MOD:INP? The modulation source is set to internal. Source Specific SOURce[1|2]:AM:INTernal:FUNCtion Command Sets the shape of the modulating waveform from Description sine, square, triangle, upramp and dnramp for the selected channel.
Page 290
REMOTE INTERFACE Source Specific SOURce[1|2]:AM:INTernal:FREQuency Command Sets the frequency of the internal modulating Description waveform only for the selected channel. The default frequency is 100Hz. Syntax SOURce[1|2]:AM:INTernal:FREQuency {<frequency>|MINimum|MAXimum} Parameter <frequency> 2mHz~ 20kHz Example SOUR1:AM:INT:FREQ +1.0000E+02 Sets the modulating frequency to 100Hz. Query Syntax SOURce[1|2]:AM:INTernal:FREQuency? [MINimum|MAXimum]...
Page 291
AFG-3021/3022/3031/3032 User Manual Example SOUR1:AM:DEPT 50 Sets the modulation depth to 50%. Query Syntax SOURce[1|2]:AM:DEPTh? [MINimum|MAXimum] Return Parameter <NR3> Return the modulation depth as a percentage. Example SOUR1:AM:DEPT? +1.0000E+02 The modulation depth is 100%. GlobalTestSupply www. .com nd Quality Products Online at: sales@GlobalTestSupply.co...
REMOTE INTERFACE Frequency Modulation (FM) Commands FM Overview The following is an overview of the steps required to generate an FM waveform. 1. Turn on FM modulation using the Enable FM Modulation SOURce[1|2]: FM:STAT ON command. 2. Use the APPLy command to select a carrier Configure Carrier waveform.
Page 293
AFG-3021/3022/3031/3032 User Manual Source Specific SOURce[1|2]:FM:STATe Command Sets or disables FM modulation for the selected Description channel. By default FM modulation is disabled. FM modulation must be enabled before setting other parameters. Burst or sweep mode will be disabled if FM Note modulation is enabled on the same channel.
Page 294
REMOTE INTERFACE Syntax SOURce[1|2]:FM:MODulation:INPut {INTernal|EXTernal} Example SOUR1:FM:MOD:INP EXT Sets the modulation source to external. Query Syntax SOURce[1|2]:FM:MODulation:INPut? Return Parameter INT Internal External Example SOUR1:FM:MOD:INP? The modulation source is set to internal. Source Specific SOURce[1|2]:FM:INTernal:FUNCtion Command Sets the shape of the modulating waveform from Description sine, square, triangle, upramp and dnramp for the selected channel.
Page 295
AFG-3021/3022/3031/3032 User Manual Source Specific SOURce[1|2]:FM:INTernal:FREQuency Command Sets the frequency of the internal modulating Description waveform only for the selected channel. The default frequency is 10Hz. Syntax SOURce[1|2]:FM:INTernal:FREQuency {<frequency>|MINimum|MAXimum} Parameter <frequency> 2mHz~ 20kHz Example SOUR1:FM:INT:FREQ +1.0000E+02 Sets the modulating frequency to 100Hz. Query Syntax SOURce[1|2]:FM:INTernal:FREQuency? [MINimum|MAXimum]...
Page 296
REMOTE INTERFACE frequency. The carrier frequency must be greater than or equal to the peak deviation frequency. The sum of the deviation and carrier frequency must not exceed the maximum frequency for a specific carrier shape. If an out of range deviation is set for any of the above conditions, the deviation will be automatically adjusted to the maximum value allowed and an “out of range”...
AFG-3021/3022/3031/3032 User Manual Frequency-Shift Keying (FSK) Commands FSK Overview The following is an overview of the steps required to generate an FSK modulated waveform. 1. Turn on FSK modulation using the Enable FSK SOURce[1|2]: FSK:STAT ON command. Modulation 2. Use the APPLy command to select a carrier Configure Carrier waveform.
Page 298
REMOTE INTERFACE Syntax SOURce[1|2]:FSKey:STATe {OFF|ON} Example SOUR1:FSK:STAT ON Enables FSK modulation Query Syntax SOURce[1|2]:FSKey:STATe? Return Parameter 0 Disabled (OFF) Enabled (ON) Example SOUR1:FSK:STAT? FSK modulation is currently enabled. Source Specific SOURce[1|2]:FSKey:MODulation:INPut Command Sets or queries the FSK source as internal or Description external for the selected channel.
Page 299
AFG-3021/3022/3031/3032 User Manual Source Specific SOURce[1|2]:FSKey:FREQuency Command Sets the FSK hop frequency. The default hop Description frequency is set to 100Hz. For FSK, the modulating waveform is a square Note wave with a duty cycle of 50%. Syntax SOURce[1|2]:FSKey:FREQuency {<frequency>|MINimum|MAXimum} Parameter <frequency>...
Page 300
REMOTE INTERFACE Query Syntax SOURce[1|2]:FSKey:INTernal:RATE? [MINimum|MAXimum] Return Parameter <NR3> Returns the FSK rate in Example SOUR1:FSK:INT:RATE? MAX +1.0000E+05 Returns the maximum FSK rate allowed. GlobalTestSupply www. .com nd Quality Products Online at: sales@GlobalTestSupply.co...
AFG-3021/3022/3031/3032 User Manual Phase Modulation (PM) Commands PM Overview The following is an overview of the steps required to generate a PM waveform. 1. Turn on PM modulation using the Enable PM Modulation SOURce[1|2]:PM:STAT ON command. 2. Use the APPLy command to select a carrier Configure Carrier waveform.
Page 302
REMOTE INTERFACE Source Specific SOURce[1|2]:PM:STATe Command Sets or disables PM modulation for the selected Description channel. By default PM modulation is disabled. PM modulation must be enabled before setting other parameters. Burst or sweep mode will be disabled if PM Note modulation is enabled on the same channel.
Page 303
AFG-3021/3022/3031/3032 User Manual Sets the PM modulating wave shape to sine. Query Syntax SOURce[1|2]:PM:INTernal:FUNCtion? Return Parameter SIN Sine UPRAMP Upramp Square DNRAMP Dnramp Triangle Example SOUR1:PM:INT:FUNC? The shape for the modulating waveform is Sine. Source Specific SOURce[1|2]:PM:INTernal:FREQuency Command Sets the phase modulation frequency for the Description selected channel.
Page 304
REMOTE INTERFACE Syntax SOURce[1|2]:PM:DEViation {<peak deviation in degrees>|MINimum|MAXimum} Parameter <peak deviation in 0° ~ 360° degrees> Example SOUR1:PM:DEV MAX Sets the phase deviation to 360°. Query Syntax SOURce[1|2]:PM:DEViation? [MINimum|MAXimum] Return Parameter <NR3> Returns the phase deviation in degrees. Example SOURce1:PM:DEViation? MAX +3.600E+02 The maximum phase deviation is 360°.
AFG-3021/3022/3031/3032 User Manual Additive Modulation (SUM) Commands SUM Overview The following is an overview of the steps required to generate a SUM waveform. 1. Turn on SUM modulation using the Enable SUM Modulation SOURce[1|2]:SUM:STATe ON command. 2. Use the APPLy command to select a carrier Configure Carrier waveform.
Page 306
REMOTE INTERFACE Source Specific SOURce[1|2]:SUM:STATe Command Sets or disables SUM modulation for the selected Description channel. By default SUM modulation is disabled. SUM modulation must be enabled before setting other parameters. Burst or sweep mode will be disabled if SUM Note modulation is enabled on the same channel.
Page 307
AFG-3021/3022/3031/3032 User Manual Syntax SOURce[1|2]:SUM:MODulation:INPut {INTernal|EXTernal} Example SOUR1:SUM:MOD:INP EXT Sets the modulation source to external. Query Syntax SOURce[1|2]:SUM:MODulation:INPut? Return Parameter INT Internal External Example SOUR1:SUM:MOD:INP? The modulation source is set to internal. Source Specific SOURce[1|2]:SUM:INTernal:FUNCtion Command Sets the shape of the modulating waveform from Description sine, square, triangle, upramp and dnramp for the selected channel.
Page 308
REMOTE INTERFACE Source Specific SOURce[1|2]:SUM:INTernal:FREQuency Command Sets the frequency (SUM frequency) of the internal Description modulating waveform for the selected channel. The default frequency is 10Hz. Syntax SOURce[1|2]:SUM:INTernal:FREQuency {<frequency>|MINimum|MAXimum} Parameter <frequency> 2mHz~ 20kHz Example SOUR1:SUM:INT:FREQ +1.0000E+02 Sets the modulating frequency to 100Hz. Query Syntax SOURce[1|2]:SUM:INTernal:FREQuency? [MINimum|MAXimum]...
Page 309
AFG-3021/3022/3031/3032 User Manual Example SOUR1:SUM:AMPL? +1.0000E+02 The SUM amplitude is 100%. GlobalTestSupply www. .com nd Quality Products Online at: sales@GlobalTestSupply.co...
REMOTE INTERFACE Pulse Width Modulation (PWM) Commands PWM Overview The following is an overview of the steps required to generate a PWM modulated waveform. 1. Turn on PWM modulation using the Enable PWM Modulation SOURce[1|2]: PWM:STATe ON command. 2. Use the APPLy command to select a pulse Configure Carrier waveform.
Page 311
AFG-3021/3022/3031/3032 User Manual Source Specific SOURce[1|2]:PWM:STATe Command Turns FSK Modulation on or off. By default FSK Description modulation is off. Burst or sweep mode will be disabled if PWM Note modulation is enabled on the same channel. As only one modulation is allowed at any one time, other modulation modes will be disabled when FSK modulation is enabled on the same channel.
Page 312
REMOTE INTERFACE Return Parameter INT Internal External Example SOUR1:PWM:MOD:INP? The PWM source is set to internal. Source Specific SOURce[1|2]:PWM:INTernal:FUNction Command Sets the shape of the modulating waveform from Description sine, square, triangle, upramp and dnramp. The default shape is sine. Square and triangle waveforms have a 50% duty Note cycle.
Page 313
AFG-3021/3022/3031/3032 User Manual Syntax SOURce[1|2]:PWM:INTernal:FREQuency {<frequency>|MINimum|MAXimum} Parameter <frequency> 2 mHz~ 20 kHz Example SOUR1:PWM:INT:FREQ MAX Sets the frequency to the maximum value. Query Syntax SOURce[1|2]:PWM:INTernal:FREQuency? Return Parameter <NR3> Returns the frequency in Example SOUR1:PWM:INT:FREQ? MAX +2.0000E+04 Returns the modulating frequency. (20kHz) Source Specific SOURce[1|2]:PWM:DUTY Command...
Page 314
REMOTE INTERFACE Example SOUR1:PWM:DUTY? +3.0000E+01 The current duty cycle is 30%. GlobalTestSupply www. .com nd Quality Products Online at: sales@GlobalTestSupply.co...
AFG-3021/3022/3031/3032 User Manual Frequency Sweep Commands Sweep Overview Below shows the order in which commands must be executed to perform a sweep. 1. Turn on Sweep mode modulation using the Enable Sweep Mode SOURce[1|2]: SWE:STAT ON command. 2. Use the APPLy command to select the Select waveform waveform shape.
Page 316
REMOTE INTERFACE 4. Choose Linear or Logarithmic spacing using Select Sweep the SOURce[1|2]:SWE:FUNC command. Mode 5. Choose the sweep time using the Select Sweep SOURce[1|2]:SWE:TIME command. Time 6. Select an internal or external sweep trigger Select the sweep source using the SOURce[1|2]:TRIG trigger source command.
Page 317
AFG-3021/3022/3031/3032 User Manual Example SOUR1:SWE:TYPE FREQ Sets sweep mode to frequency. Query Syntax SOURce[1|2]:SWEep:TYPE? Return Parameter FREQ Frequency sweep AMPL Amplitude sweep Example SOUR1:SWE:TYPE? FREQ Sweep type is frequency. Source Specific SOURce[1|2]:SWEep:MODE Command Sets or queries the sweep triggering mode. The Description triggering mode can be set to continuous or gate.
Page 318
REMOTE INTERFACE Parameter Sawtooth shaped sweep Triangle (shuttle cock) shaped sweep. Example SOUR1:SWE:SHAPe SAW Sets the sweep shape to sawtooth. Query Syntax SOURce[1|2]:SWEep:SHAPe? Return Parameter sawtooth Sawtooth shaped sweep triangle Triangle (shuttle cock) shaped sweep. Example SOUR1:SWE:SHAPe? Sawtooth The sweep shape is set as sawtooth. Source Specific SOURce[1|2]:SWEep:MANual:TRIGger Command...
Page 319
AFG-3021/3022/3031/3032 User Manual Parameter <frequency> 1μHz~ 30MHz (20MHz AFG-3021/3022) 1μHz~ 1MHz (Ramp, Triangle) Example SOUR1:SWE:FREQ:STAR +2.0000E+03 Sets the start frequency to 2kHz. Query Syntax SOURce[1|2]:SWEep:FREQuency:STARt? [MINimum| MAXimum] Return Parameter <NR3> Returns the start frequency in Hz. Example SOUR1:SWE:FREQ:STAR? MAX +3.0000E+07 Returns the maximum start frequency allowed.
Page 320
REMOTE INTERFACE Example SOUR1:SWE:FREQ:STOP? MAX +3.0000E+07 Returns the maximum stop frequency allowed. Source Specific SOURce[1|2]:SWEep:FREQuency:CENTer Command Sets or queries the center frequency of the sweep Description for the selected channel. 550 Hz is the default center frequency. The maximum center frequency depends on the Note sweep span and maximum frequency: max center freq = max freq –...
Page 321
AFG-3021/3022/3031/3032 User Manual Source Specific SOURce[1|2]:SWEep:FREQuency:SPAN Command Sets or queries the frequency span of the sweep for Description the selected channel. 900 Hz is the default frequency span. The span frequency is equal to the stop-start frequencies. To sweep up or down, set the span as positive or Note negative.
Page 322
REMOTE INTERFACE Example SOUR1:SWE:FUNC LIN Sets the spacing to linear. Query Syntax SOURce[1|2]:SWEep:FUNCtion? Return Parameter LIN Linear spacing Logarithmic spacing Example SOUR1:SWE:FUNC? The spacing is currently set as linear. Source Specific SOURce[1|2]:SWEep:TIME Command Sets or queries the sweep time. The default sweep Description time is 1 second.
Page 323
AFG-3021/3022/3031/3032 User Manual Source Specific SOURce[1|2]:SWEep:TRIGger Command Sets or queries the trigger source as internal, Description external, manual or off for the selected channel. Internal is the default trigger source. INTernal will constantly output a swept waveform at a defined interval time.
Page 324
REMOTE INTERFACE Return Parameter INT,<NR3> Internal trigger, interval time in seconds External trigger Manual trigger Sweep continuously Example SOUR1:SWE:TRIG? INT +1.00000E+00 The sweep source is set to an interval time of 1 second. Source Specific SOURce[1|2]:SWEep:AMPLitude:STARt Command Sets the start amplitude for when the sweep is set Description to the amplitude sweep type.
Page 325
AFG-3021/3022/3031/3032 User Manual Source Specific SOURce[1|2]:SWEep:AMPLitude:STOP Command Sets the stop amplitude for when the sweep is set Description to the amplitude sweep type. By default the stop amplitude is set to 3Vpp. Syntax SOURce[1|2]:SWEep:AMPLitude:STOP {<ampltude>|MINimum|MAXimum} Parameter <NR3> Sweep amplitude in volts. (range:1mV~10V @50Ω) Example SOUR1:SWE:AMPL:STOP 3...
REMOTE INTERFACE Burst Mode Commands Burst Mode Overview Burst mode can be configured to use an internal trigger (N Cycle mode) or an external trigger (Gate mode) using the Trigger INPUT terminal on the rear panel. Using N Cycle mode, each time the function generator receives a trigger, the function generator will output a specified number of waveform cycles (burst).
Page 327
AFG-3021/3022/3031/3032 User Manual The following is an overview of the steps required to generate a burst waveform. 1. Turn on Burst mode using the Enable Burst Mode SOURce[1|2]:BURS:STAT ON command. Configuration 2. Use the APPLy command to select a sine, square, ramp, pulse or triangle burst waveform*.
Page 328
REMOTE INTERFACE Source Specific SOURce[1|2]:BURSt:STATe Command Turns burst mode on or off for the selected Description channel. By default burst mode is turned off. When burst mode is turned on, sweep and any Note modulation modes are disabled on the same channel.
Page 329
AFG-3021/3022/3031/3032 User Manual Example SOUR1:BURS:MODE TRIG Sets the burst mode to triggered. Query Syntax SOURce[1|2]:BURSt:MODE? Return Parameter TRIG Triggered mode GATE Gated mode Example SOUR1:BURS:MODE? TRIG The current burst mode is triggered. Source Specific SOURce[1|2]:BURSt:NCYCles Command Sets or queries the number of cycles (burst count) Description in triggered burst mode for the selected channel.
Page 330
REMOTE INTERFACE Example SOUR1:BURS:NCYCl INF Sets the number of burst cycles to continuous (infinite). Query Syntax SOURce[1|2]:BURSt:NCYCles? [MINimum|MAXimum] Return Parameter <NR3> Returns the number of cycles. INF is returned if the number of cycles is continuous. Example SOUR1:BURS:NCYC? +1.0000E+02 The burst cycles are set to 100. Source Specific SOURce[1|2]:BURSt:INTernal:PERiod Command...
Page 331
AFG-3021/3022/3031/3032 User Manual Example SOUR1:BURS:INT:PER +1.0000E+01 Sets the period to 10 seconds. Query Syntax SOURce[1|2]:BURSt:INTernal:PERiod? [MINimum|MAXimum] Return Parameter <NR3> Returns the burst period in seconds. Example SOUR1:BURS:INT:PER? +1.0000E+01 The burst period is 10 seconds. Source Specific SOURce[1|2]:BURSt:PHASe Command Sets or queries the starting phase for the burst for Description the selected channel.
Page 332
REMOTE INTERFACE Source Specific SOURce[1|2]:BURSt:TRIGger:MANual Command This command is used to manually trigger a burst Description waveform when the source trigger is set to manual for the selected channel. This command is the equivalent of pressing the trigger soft-key on the front panel for manual triggering.
Page 333
AFG-3021/3022/3031/3032 User Manual If the APPLy command was used, the source is Note automatically set to IMMediate. The *OPC/*OPC? command/query can be used to signal the end of the burst. Syntax SOURce[1|2]:BURSt:TRIGger {IMMediate|EXTernal|MANual} Example SOUR1:BURS:TRIG:SOUR EXT Sets the burst trigger source to external. Query Syntax SOURce[1|2]:BURSt:TRIGger? Return Parameter IMM...
Page 334
REMOTE INTERFACE Example SOUR1:BURS:TRIG:DEL +1.0000E+01 The trigger delay is 10 seconds. Source Specific SOURce[1|2]:BURSt:TRIGger:SLOPe Command Sets or queries the trigger edge for externally Description triggered bursts from the Trigger INPUT terminal on the rear panel for the selected channel. By default the trigger is rising edge (Positive).
Page 335
AFG-3021/3022/3031/3032 User Manual Syntax SOURce[1|2]:BURSt:GATE:POLarity{NORMal|INVerte Parameter NORMal Logically high INVertes Logically low Example SOUR1:BURS:GATE:POL INV Sets the state to logically low (inverted). Query Syntax SOURce[1|2]:BURSt:GATE:POLarity? Return Parameter NORM Normal(High) logical level Inverted (low) logical level Example SOUR1:BURS:GATE:POL? The true state is inverted(logically low). GlobalTestSupply www.
REMOTE INTERFACE Arbitrary Waveform Commands Arbitrary Waveform Overview Use the steps below to output an arbitrary waveform over the remote interface. 1. Use the Output Arbitrary Waveform SOURce[1|2]:ARB:BUILt:ARB_waveform command (Example: SOURce[1|2]:ARB:BUILt:SQUare) to output the arbitrary waveform currently selected in memory. 2.
AFG-3021/3022/3031/3032 User Manual Source Specific SOURce[1|2]:DATA:DAC Command The SOURce[1|2]:DATA:DAC command is used Description to download binary or decimal integer values into memory using the IEEE-488.2 binary block format or as an ordered list of values. The integer values (±32767) correspond to the Note 1 maximum and minimum peak amplitudes of the waveform.
AFG-3021/3022/3031/3032 User Manual Source Specific SOURce[1|2]:ARB:EDIT:DELete Command Deletes a segment of a waveform from memory for Description the selected channel. The segment is defined by a starting address and length. A waveform/waveform segment cannot be Note deleted when being output. Syntax SOURce[1|2]:ARB:EDIT:DELete [<STARt>[,<LENGth>]] Parameter...
REMOTE INTERFACE Parameter <address> Address of data point: 0~8388607 <data> Value data: ± 32,767 Example SOUR1:ARB:EDIT:POIN 1000, 32767 Creates a point on the arbitrary waveform at address 1000 with the highest amplitude. Source Specific SOURce[1|2]:ARB:EDIT:PROTect Command Protects a segment of the arbitrary waveform from Description deletion/editing or returns the protection state and co-ordinates (if any).
AFG-3021/3022/3031/3032 User Manual Source Specific SOURce[1|2]:ARB:EDIT:PROTect:ALL Command Protects the arbitrary waveform currently in non- Description volatile memory/ currently being output. Syntax SOURce[1|2]:ARB:EDIT:PROTect:ALL Example SOUR1:ARB:EDIT:PROT:ALL Source Specific SOURce[1|2]:ARB:EDIT:UNProtect Command Unprotects the arbitrary waveform currently in Description non-volatile memory/currently being output. Syntax SOURce[1|2]:ARB:EDIT:UNProtect Example SOUR1:ARB:EDIT:UNP...
REMOTE INTERFACE Syntax SOURce[1|2]:ARB:BUILt:SQUare [<STARt>[,<LENGth>[,<SCALe>]]] Parameter <STARt> Start address*: 0~8388606 <LENGth> Length*: 2~8388608 <SCALe> Scale: ±32767 * Start + Length ≤ 8388608 Example SOUR1:ARB:BUIL:SQU 1000, 1000, 100 Creates a square wave 1000 points in length with a scale of 100 and a start address of 1000. Source Specific SOURce[1|2]:ARB:BUILt:PULSe Command...
AFG-3021/3022/3031/3032 User Manual Source Specific SOURce[1|2]:ARB:BUILt:RAMP Command Creates a ramp wave with a specified start Description address, length and scale for the selected channel. Syntax SOURce[1]:ARB:BUILt:RAMP[<STARt>[,<LENGth>[ ,<SCALe>]]] Parameter <STARt> Start address*: 0~8388606 <LENGth> Length*: 2~8388608 <SCALe> Scale: ±32767 * Start + Length ≤ 8388608 Example SOUR1:ARB:BUIL:RAMP 1000, 1000, 100 Creates a ramp wave 1000 points in length with a...
AFG-3021/3022/3031/3032 User Manual Source Specific SOURce[1|2]:ARB:BUILt:DC Command Creates a DC waveform with a specified start Description address, length and scale. Syntax SOURce[1|2]:ARB:BUILt:DC [<STARt>[,<LENGth>[,<Data>]]] Parameter <STARt> Start address*: 0~8388606 <LENGth> Length*: 2~8388608 <Data> Data: ±32767 * Start + Length ≤ 8388608 Example SOUR1:ARB:BUIL:DC 1000, 1000, 100 Creates a DC waveform of 1000 points in length...
AFG-3021/3022/3031/3032 User Manual Parameter <STARt> Start address*: 0~8388606 <LENGth> Length*: 2~8388608 <SCALe> Scale: ±32767 * Start + Length ≤ 8388608 Example SOUR1:ARB:BUIL:absatan 1000, 1000, 100 Creates an absolute atan waveform 1000 points in length with a scale of 100 and a start address of 1000.
REMOTE INTERFACE Example SOUR1:ARB:BUIL:abssinehalf 1000, 1000, 100 Creates an absolute sine half waveform 1000 points in length with a scale of 100 and a start address of 1000. Source Specific SOURce[1|2]:ARB:BUILt:ampalt Command Creates an amplifying oscillation waveform. Description Syntax SOURce[1|2]:ARB:BUILt:ampalt [<STARt>[,<LENGth>[,<SCALe>]]] Parameter <STARt>...
AFG-3021/3022/3031/3032 User Manual Source Specific SOURce[1|2]:ARB:BUILt:diric_even Command Creates an even Dirichlet kernel waveform. Description Syntax SOURce[1|2]:ARB:BUILt:diric_even [<STARt>[,<LENGth>[,<SCALe>]]] Parameter <STARt> Start address*: 0~8388606 <LENGth> Length*: 2~8388608 <SCALe> Scale: ±32767 * Start + Length ≤ 8388608 Example SOUR1:ARB:BUIL:diric_even 1000, 1000, 100 Creates an even diric waveform 1000 points in length with a scale of 100 and a start address of 1000.
AFG-3021/3022/3031/3032 User Manual Source Specific SOURce[1|2]:ARB:BUILt:haversine Command Creates a haversine waveform. Description Syntax SOURce[1|2]:ARB:BUILt:haversine[<STARt>[,<LENGth >[,<SCALe>]]] Parameter <STARt> Start address*: 0~8388606 <LENGth> Length*: 2~8388608 <SCALe> Scale: ±32767 * Start + Length ≤ 8388608 Example SOUR1:ARB:BUIL:haversin 1000, 1000, 100 Creates a haversine waveform 1000 points in length with a scale of 100 and a start address of 1000.
AFG-3021/3022/3031/3032 User Manual Parameter <STARt> Start address*: 0~8388606 <LENGth> Length*: 2~8388608 <SCALe> Scale: ±32767 * Start + Length ≤ 8388608 Example SOUR1:ARB:BUIL:roundhalf 1000, 1000, 100 Creates a positive half circle waveform 1000 points in length with a scale of 100 and a start address of 1000.
REMOTE INTERFACE Example SOUR1:ARB:BUIL:sinetra 1000, 1000, 100 Creates a piecewise sine waveform 1000 points in length with a scale of 100 and a start address of 1000. Source Specific SOURce[1|2]:ARB:BUILt:stepresp Command Creates a Heaviside step function(step response). Description Syntax SOURce[1|2]:ARB:BUILt:stepresp [<STARt>[,<LENGth>[,<SCALe>]]] Parameter <STARt>...
AFG-3021/3022/3031/3032 User Manual Example SOUR1:ARB:BUIL:sinever 1000, 1000, 100 Creates a piecewise sine wave waveform 1000 points in length with a scale of 100 and a start address of 1000. Source Specific SOURce[1|2]:ARB:BUILt:trapezia Command Creates a trapezoid waveform. Description Syntax SOURce[1|2]:ARB:BUILt:trapezia [<STARt>[,<LENGth>[,<SCALe>]]] Parameter <STARt>...
REMOTE INTERFACE Source Specific SOURce[1|2]:ARB:BUILt:dlorentz Command Creates a derivative of the Lorentz function Description waveform. Syntax SOURce[1|2]:ARB:BUILt:dlorentz [<STARt>[,<LENGth>[,<SCALe>]]] Parameter <STARt> Start address*: 0~8388606 <LENGth> Length*: 2~8388608 <SCALe> Scale: ±32767 * Start + Length ≤ 8388608 Example SOUR1:ARB:BUIL:dlorentz 1000, 1000, 100 Creates a derivative of Lorentz function waveform 1000 points in length with a scale of 100 and a start address of 1000.
REMOTE INTERFACE Source Specific SOURce[1|2]:ARB:BUILt:sinc Command Creates a cardinal sine function waveform. Description Syntax SOURce[1|2]:ARB:BUILt:sinc [<STARt>[,<LENGth>[,<SCALe>]]] Parameter <STARt> Start address*: 0~8388606 <LENGth> Length*: 2~8388608 <SCALe> Scale: ±32767 * Start + Length ≤ 8388608 Example SOUR1:ARB:BUIL:sinc 1000, 1000, 100 Creates a cardinal sine function waveform 1000 points in length with a scale of 100 and a start address of 1000.
AFG-3021/3022/3031/3032 User Manual Source Specific SOURce[1|2]:ARB:BUILt:xsquare Command Creates a quadratic (x ) function waveform. Description Syntax SOURce[1|2]:ARB:BUILt:xsquare [<STARt>[,<LENGth>[,<SCALe>]]] Parameter <STARt> Start address*: 0~8388606 <LENGth> Length*: 2~8388608 <SCALe> Scale: ±32767 * Start + Length ≤ 8388608 Example SOUR1:ARB:BUIL:xsquare 1000, 1000, 100 Creates a quadratic function waveform 1000 points in length with a scale of 100 and a start address of 1000.
REMOTE INTERFACE Source Specific SOURce[1|2]:ARB:BUILt:arccot Command Creates an inverse cotangent function waveform. Description Syntax SOURce[1|2]:ARB:BUILt:arccot [<STARt>[,<LENGth>[,<SCALe>]]] Parameter <STARt> Start address*: 0~8388606 <LENGth> Length*: 2~8388608 <SCALe> Scale: ±32767 * Start + Length ≤ 8388608 Example SOUR1:ARB:BUIL:arccot 1000, 1000, 100 Creates an inverse cotangent function waveform 1000 points in length with a scale of 100 and a start address of 1000.
AFG-3021/3022/3031/3032 User Manual Source Specific SOURce[1|2]:ARB:BUILt:arcsec Command Creates an inverse secant function waveform. Description Syntax SOURce[1|2]:ARB:BUILt:arccsc [<STARt>[,<LENGth>[,<SCALe>]]] Parameter <STARt> Start address*: 0~8388606 <LENGth> Length*: 2~8388608 <SCALe> Scale: ±32767 * Start + Length ≤ 8388608 Example SOUR1:ARB:BUIL:arccsc 1000, 1000, 100 Creates an inverse secant function waveform 1000 points in length with a scale of 100 and a start address of 1000.
REMOTE INTERFACE Source Specific SOURce[1|2]:ARB:BUILt:arcsinh Command Creates an inverse hyperbolic sine waveform. Description Syntax SOURce[1|2]:ARB:BUILt:arcsinh [<STARt>[,<LENGth>[,<SCALe>]]] Parameter <STARt> Start address*: 0~8388606 <LENGth> Length*: 2~8388608 <SCALe> Scale: ±32767 * Start + Length ≤ 8388608 Example SOUR1:ARB:BUIL:arcsinh 1000, 1000, 100 Creates an inverse hyperbolic sine waveform 1000 points in length with a scale of 100 and a start address of 1000.
AFG-3021/3022/3031/3032 User Manual Source Specific SOURce[1|2]:ARB:BUILt:arctanh Command Creates an inverse hyperbolic tangent waveform. Description Syntax SOURce[1|2]:ARB:BUILt:arctanh [<STARt>[,<LENGth>[,<SCALe>]]] Parameter <STARt> Start address*: 0~8388606 <LENGth> Length*: 2~8388608 <SCALe> Scale: ±32767 * Start + Length ≤ 8388608 Example SOUR1:ARB:BUIL:arctanh 1000, 1000, 100 Creates an inverse hyperbolic tangent waveform 1000 points in length with a scale of 100 and a start address of 1000.
REMOTE INTERFACE Source Specific SOURce[1|2]:ARB:BUILt:cot Command Creates a cotangent waveform. Description Syntax SOURce[1|2]:ARB:BUILt:cot [<STARt>[,<LENGth>[,<SCALe>]]] Parameter <STARt> Start address*: 0~8388606 <LENGth> Length*: 2~8388608 <SCALe> Scale: ±32767 * Start + Length ≤ 8388608 Example SOUR1:ARB:BUIL:cot 1000, 1000, 100 Creates a cotangent waveform 1000 points in length with a scale of 100 and a start address of 1000.
AFG-3021/3022/3031/3032 User Manual Source Specific SOURce[1|2]:ARB:BUILt:sec Command Creates a secant waveform. Description Syntax SOURce[1|2]:ARB:BUILt:sec [<STARt>[,<LENGth>[,<SCALe>]]] Parameter <STARt> Start address*: 0~8388606 <LENGth> Length*: 2~8388608 <SCALe> Scale: ±32767 * Start + Length ≤ 8388608 Example SOUR1:ARB:BUIL:sec 1000, 1000, 100 Creates a secant waveform 1000 points in length with a scale of 100 and a start address of 1000.
REMOTE INTERFACE Source Specific SOURce[1|2]:ARB:BUILt:sinh Command Creates a hyperbolic sine waveform. Description Syntax SOURce[1|2]:ARB:BUILt:sinh [<STARt>[,<LENGth>[,<SCALe>]]] Parameter <STARt> Start address*: 0~8388606 <LENGth> Length*: 2~8388608 <SCALe> Scale: ±32767 * Start + Length ≤ 8388608 Example SOUR1:ARB:BUIL:sinh 1000, 1000, 100 Creates a hyperbolic sine waveform 1000 points in length with a scale of 100 and a start address of 1000.
AFG-3021/3022/3031/3032 User Manual Source Specific SOURce[1|2]:ARB:BUILt:tanh Command Creates a hyperbolic tangent waveform. Description Syntax SOURce[1|2]:ARB:BUILt:tanh [<STARt>[,<LENGth>[,<SCALe>]]] Parameter <STARt> Start address*: 0~8388606 <LENGth> Length*: 2~8388608 <SCALe> Scale: ±32767 * Start + Length ≤ 8388608 Example SOUR1:ARB:BUIL:tanh 1000, 1000, 100 Creates a hyperbolic tangent waveform 1000 points in length with a scale of 100 and a start address of 1000.
REMOTE INTERFACE Source Specific SOURce[1|2]:ARB:BUILt:bartlett Command Creates a Bartlett window function waveform. Description Syntax SOURce[1|2]:ARB:BUILt:bartlett [<STARt>[,<LENGth>[,<SCALe>]]] Parameter <STARt> Start address*: 0~8388606 <LENGth> Length*: 2~8388608 <SCALe> Scale: ±32767 * Start + Length ≤ 8388608 Example SOUR1:ARB:BUIL:bartlett 1000, 1000, 100 Creates a Bartlett window function waveform 1000 points in length with a scale of 100 and a start address of 1000.
AFG-3021/3022/3031/3032 User Manual Source Specific SOURce[1|2]:ARB:BUILt:bohmanwin Command Creates a Bohmanwin window function waveform. Description Syntax SOURce[1|2]:ARB:BUILt:bohmanwin [<STARt>[,<LENGth>[,<SCALe>]]] Parameter <STARt> Start address*: 0~8388606 <LENGth> Length*: 2~8388608 <SCALe> Scale: ±32767 * Start + Length ≤ 8388608 Example SOUR1:ARB:BUIL:bohmanwin 1000, 1000, 100 Creates a Bohmanwin window function waveform 1000 points in length with a scale of 100 and a start address of 1000.
REMOTE INTERFACE Source Specific SOURce[1|2]:ARB:BUILt:flattopwin Command Creates a flat top weighted window function Description waveform. Syntax SOURce[1|2]:ARB:BUILt:chebwin [<STARt>[,<LENGth>[,<SCALe>]]] Parameter <STARt> Start address*: 0~8388606 <LENGth> Length*: 2~8388608 <SCALe> Scale: ±32767 * Start + Length ≤ 8388608 Example SOUR1:ARB:BUIL:chebwin 1000, 1000, 100 Creates a flat top weighted window function waveform 1000 points in length with a scale of 100 and a start address of 1000.
AFG-3021/3022/3031/3032 User Manual Source Specific SOURce[1|2]:ARB:BUILt:hann Command Creates a Hann window function waveform. Description Syntax SOURce[1|2]:ARB:BUILt:hann [<STARt>[,<LENGth>[,<SCALe>]]] Parameter <STARt> Start address*: 0~8388606 <LENGth> Length*: 2~8388608 <SCALe> Scale: ±32767 * Start + Length ≤ 8388608 Example SOUR1:ARB:BUIL:hann 1000, 1000, 100 Creates a Hann window function waveform 1000 points in length with a scale of 100 and a start address of 1000.
REMOTE INTERFACE Source Specific SOURce[1|2]:ARB:BUILt:traing Command Creates a Triangle window function waveform. Description Syntax SOURce[1|2]:ARB:BUILt:traing [<STARt>[,<LENGth>[,<SCALe>]]] Parameter <STARt> Start address*: 0~8388606 <LENGth> Length*: 2~8388608 <SCALe> Scale: ±32767 * Start + Length ≤ 8388608 Example SOUR1:ARB:BUIL:traing 1000, 1000, 100 Creates a Triangle window function waveform 1000 points in length with a scale of 100 and a start address of 1000.
AFG-3021/3022/3031/3032 User Manual Source Specific SOURce[1|2]:ARB:OUTPut Command Marks a section of the ARB waveform to be Description output. Syntax SOURce[1|2]:ARB:OUTPut [<STARt>[,<LENGth>]] Parameter <STARt> Start address*: 0~8388606 <LENGth> Length*: 2~8388608 Example SOUR1:ARB:OUTP 100, 1000 Sets the ARB output section from point 100 to 1100. Query Syntax SOUR1:ARB:OUTP? Return Parameter Returns the following string:...
REMOTE INTERFACE Return Parameter <NRf> Returns the rate in Hz. Example SOUR1:ARB:RATE? +2.000000000000E+04 The rate is 20 kHz. Source Specific SOURce[1|2]:ARB:GATE Command Sets or queries whether a high or low level TTL Description signal applied to the trigger input turns the output on or off when the ARB output trigger is in the Gated mode (for the selected channel).
AFG-3021/3022/3031/3032 User Manual Source Specific SOURce[1|2]:ARB:NCYCles Command Sets how the ARB Ncycle mode is triggered Description Syntax SOURce[1|2]:ARB:NCYCles {INFinite|MANual|EXTernal} Parameter INFinite Continuous cycles MANual Manual trigger EXTernal External trigger Example SOUR1:ARB:NCYC INF Sets the number of ARB waveform output cycles to continuous (infinite).
REMOTE INTERFACE Example SOUR1:ARB:NCYC:CYC MAX Sets the number of ARB waveform output cycles to the maximum. Query Syntax SOURce[1|2]:ARB:NCYCles:CYCle? {[MINimum|MAXimum]} Return Parameter <NR3> Number of Ncycles. Example SOUR1:ARB:NCYC:CYC? +8.388607E+06 Sets the number of ncycles to 8388607. Source Specific SOURce[1|2]:ARB:MANual:TRIGger Command This command is used to manually trigger the Description ARB output for the selected channel.
AFG-3021/3022/3031/3032 User Manual Tracking Commands Source Specific SOURce[1|2]:COUPle:FREQuency:MODE Command Sets the frequency coupling mode for the AFG- Description 3022 and AFG-3032 models. By default, frequency coupling is turned off. Syntax SOURce[1|2]:COUPle:FREQuency:MODE {OFF|OFFSet|RATio} Parameter Coupling off, independent output OFFSet Holds the frequency difference at a constant offset value RATio Holds the frequency ratio between each...
SOURce[1|2]:COUPle:FREQuency:OFFSet Command Sets the frequency coupling offset value. The Description default value is 0Hz. Applicable for the AFG-3022 and 3032 only. Note: CH2 frequency = CH1 frequency + offset frequency. CH1 frequency is fixed regardless of whether the SOURce1 or SOURce2 command is used.
Sets the frequency coupling ratio value for the Description selected channel. The default value is 1. Applicable for the AFG-3022 and AFG-3032 only. The frequency ratio is defined as: CH2 frequency / CH1 frequency. CH1 frequency is fixed regardless of whether the SOURce1 or SOURce2 command is used.
Sets or queries the amplitude coupling state. Description Amplitude coupling sets the amplitude of the selected channel to be the same as the other channel. By default amplitude coupling is turned off. Only applicable to the AFG-3022 and the AFG- 3032. Syntax SOURce[1|2]:COUPle:AMPLitude {ON|OFF} Parameter Turns amplitude coupling on.
Page 381
AFG-3021/3022/3031/3032 User Manual Example SOUR1:TRAC:STAT ON Turns channel tracking on. Query Syntax SOURce[1|2]:TRACking:STATe? Parameter Channel tracking is on. Inverted channel tracking is on. Channel tracking is off. Example SOUR1:TRAC:STAT? Indicates that channel tracking is on. GlobalTestSupply www. .com nd Quality Products Online at: sales@GlobalTestSupply.co...
REMOTE INTERFACE Reference Commands Source Specific SOURce[1|2]:REFerence Command Sets or queries the 10MHz reference source as Description internal or external. Syntax SOURce[1|2]:REFerence {INTernal|EXTernal} Parameter INTernal Sets the reference to the internal source. EXTernal Sets the reference to the external source. Example SOUR1:REF INT Sets the reference to the internal source.
AFG-3021/3022/3031/3032 User Manual Save and Recall Commands Up to 10 different instrument states can be stored to non-volatile memory (memory locations 0~9). Instrument *SAV Command Saves the current instrument state to a specified Description save slot. When a state is saved, all the current instrument settings, functions and waveforms are also saved.
Page 384
REMOTE INTERFACE Example MEM:STAT:DEL 0 Delete instrument state from memory location 0. Instrument MEMory:STATe:DELete ALL Command Delete memory from all memory locations, 0~9. Description Syntax MEMory:STATe:DELete ALL Example MEM:STAT:DEL ALL Deletes all the instrument states from memory locations 0~9. Source Specific MEMory:STATe? Command Queries the memory state of memory locations 0...
AFG-3021/3022/3031/3032 User Manual Error Messages The AFG-30XX has a number of specific error codes. Use the SYSTem:ERRor command to recall the error codes. For more information regarding the error queue, see page 404. Command Error Codes -101 Invalid character An invalid character was used in the command string.
Page 386
REMOTE INTERFACE -112 Program mnemonic too long A command header contains more than 12 characters: OUTP:SYNCHRONIZATION ON -113 Undefined header An undefined header was encountered. The header is syntactically correct. Example: the header contains a character mistake. SOUR1:AMM:DEPT MIN -123 Exponent too large Numeric exponent exceeds 32,000.
Page 387
AFG-3021/3022/3031/3032 User Manual -158 String data not allowed An unexpected character string was used where none were expected. Example: A character string is used instead of a valid parameter. SOURce1:SWEep:FUNCtion ’TEN’ -161 Invalid block data Invalid block data was received. Example: The number of bytes sent with the DATA:DAC command doesn’t correlate to the number of bytes specified in the block header.
Page 388
REMOTE INTERFACE -221 Settings conflict; infinite burst changed trigger source to MANual Example: The trigger source is changed to immediate from manual when infinite burst mode is selected. -221 Settings conflict; burst period increased to fit entire burst Example: The function generator automatically increases the burst period to allow for the burst count or frequency.
Page 389
AFG-3021/3022/3031/3032 User Manual -221 Settings conflict;frequency made compatible with burst mode Example: When the function is changed to burst, the output frequency is automatically adjusted if over range. -221 Settings conflict;not able to modulate this function Example: A modulated waveform cannot be generated with noise or pulse waveforms.
Page 390
REMOTE INTERFACE -221 Settings conflict;amplitude changed due to function Example: The amplitude (VRM / dBm) has been adjusted to suit the selected function. For the AFG- 30XX, a typical square wave has a much higher amplitude (5V Vrms) compared to a sine wave (~3.54) due to crest factor.
Page 391
AFG-3021/3022/3031/3032 User Manual -221 Settings conflict;high level changed due to low level Example: The high level value was set too low. The high level is set 1 mV greater than the low level. -222 Data out of range;value clipped to upper limit Example: The parameter was set out of range.
Page 392
REMOTE INTERFACE -222 Data out of range;frequency; Example: If the frequency was set to a value out of range, it is automatically set to an upper or lower limit. -222 Data out of range;user frequency; value clipped to upper limit Example: If the frequency is set to a value out of range for an arbitrary waveform using SOURce[1|2]: APPL:USER, it is automatically set to...
Page 393
AFG-3021/3022/3031/3032 User Manual -222 Data out of range; burst period limited by length of burst; value clipped to upper limit Example: The burst period must be greater than burst count divided by the frequency + 200 ns. The burst period is adjusted to satisfy these conditions. burst period >...
Page 394
REMOTE INTERFACE -222 Data out of range;FM deviation; value clipped to ... Example: The frequency deviation is outside of range. The deviation is automatically adjusted to an upper or lower limit, depending on the frequency. -222 Data out of range;trigger delay; value clipped to upper limit Example: The trigger delay was set to a value out of range.
Page 395
AFG-3021/3022/3031/3032 User Manual -315 Configuration memory lost;memory corruption detected Indicates that a fault (check sum error) has occurred with the non-volatile memory that stores the configuration settings. -350 Queue overflow Indicates that the error queue is full (over 20 messages generated, and not yet read). No more messages will be stored until the queue is empty.
Page 396
REMOTE INTERFACE Query Errors -410 Query INTERRUPTED Indicates that a command was received but the data in the output buffer from a previous command was lost. -420 Query UNTERMINATED The function generator is ready to return data, however there was no data in the output buffer. For example: Using the APPLy command.
Page 397
AFG-3021/3022/3031/3032 User Manual 800 Block length must be even Example: As block data (DATA:DAC VOLATILE) uses two bytes to store each data point, there must be an even number or bytes for a data block. GlobalTestSupply www. .com nd Quality Products Online at: sales@GlobalTestSupply.co...
REMOTE INTERFACE SCPI Status Registers The status registers are used to record and determine the status of the function generator. The function generator has a number of register groups: Questionable Status Registers Standard Event Status Registers Status Byte Register As well as the output and error queues. Each register group is divided into three types of registers: condition registers, event registers and enable registers.
Page 399
AFG-3021/3022/3031/3032 User Manual AFG-30XX Status System Questionable Status Register Condition Event Enable 0 Volt Ovld <1> <2> <4> <8> 4 Over Temp <16> 5 Loop Unlock <32> Error Queue <64> 7 Ext Mod Ovld <128> 8 Cal Error <256> 9 External Ref <512>...
Page 400
REMOTE INTERFACE Questionable Status Register The Questionable Status Registers will show if any Description faults or errors have occurred. Bit Summary Register Bit Weight Voltage overload Over temperature Loop unlock Ext Mod Overload Cal Error External Reference Standard Event Status Registers The Standard Event Status Registers indicate when Description the *OPC command has been executed or whether...
Page 401
AFG-3021/3022/3031/3032 User Manual Bit Summary Register Bit Weight Operation complete bit Query Error Device Error Execution Error Command Error Power On Operation The operation complete bit is set Error Bits complete when all selected pending operations are complete. This bit is set in response to the *OPC command.
Page 402
REMOTE INTERFACE The Status Byte Register The Status Byte register consolidates the status Description events of all the status registers. The Status Byte register can be read with the *STB? query or a serial poll and can be cleared with the *CLS command.
Page 403
AFG-3021/3022/3031/3032 User Manual Standard Event The Event Status bit is set if an “enabled” event in the Standard Event Status Event Register has occurred. Master The Master Summary Status is Summary/ used with the *STB? query. When Service the *STB? query is read the MSS Request bit bit is not cleared.
PPENDIX Fuse Replacement 1. Remove the power cord and remove the fuse Procedure socket using a minus driver. 2. Replace the fuse in the holder. AFG-3022 & AFG-3032: T1A/250V Ratings AFG-3021 & AFG-3031: T0.63A/250V GlobalTestSupply www. .com nd Quality Products Online at:...
AFG-3021/3022/3031/3032 User Manual AFG-3021, AFG-3022, AFG-3031 & AFG-3032 Specifications The specifications apply when the function generator is powered on for at least 30 minutes under +20°C~+30°C. General Specification AFG-3021 AFG-3031 AFG-3022 AFG-3032 Channels Instrument Isolated Isolated Isolated Isolated Chassis Signal Ground —...
Page 406
APPENDIX Frequency Characteristics Range Sine 20MHz 30MHz 20MHz 30MHz Square 20MHz 30MHz 20MHz 30MHz Triangle, Ramp 1MHz Resolution 1μHz Accuracy Stability ±1 ppm 0 to 50˚C ±0.3 ppm 18 to 28˚C Aging ±1 ppm, per 1 year ≤1 μHz Tolerance Output Characteristics(2) Amplitude Range...
Page 407
AFG-3021/3022/3031/3032 User Manual Square wave Characteristics Rise/Fall Time <8 ns(3) Overshoot <5% Asymmetry 1% of period +1 ns Variable Duty 20.0% to 20.0% to 20.0% to 20.0% to Cycle 80.0%: 80.0%: 80.0%: 80.0%: ≤ 20 MHz ≤ 25 MHz ≤ 20 MHz ≤...
Page 408
APPENDIX AM Modulation Carrier Sine, Square, Triangle, Ramp, Pulse, Arb Waveforms Modulating Sine, Square, Triangle, Up/Dn Ramp Waveforms Modulating 2mHz to 20kHz Frequency Depth 0% to 120.0% Source Internal / External FM Modulation Carrier Sine, Square, Triangle, Ramp Waveforms Modulating Sine, Square, Triangle, Up/Dn Ramp Waveforms Modulating...
Page 409
AFG-3021/3022/3031/3032 User Manual Modulating 2mHz to 20kHz Frequency Source Internal /External Carrier Sine, Triangle, Ramp Waveforms Modulating Sine, Square, Triangle, Up/Dn Ramp Waveforms Phase Deviation 0° to 360°, 0.1° resolution Setting Range Modulating 2mHz to 20kHz Frequency Source Internal Sweep Waveforms Frequency Sweep: Sine, Square, Triangle, Ramp...
Page 410
APPENDIX Ground 42Vpk max. Isolation (same ground as corresponding channel) Modulation Output (AFG-3021/3031) Type AM, FM, PWM, PM, Sum, Sweep ≥ 1Vpp Amplitude Impedance > 10kΩ typical External Trigger Input Type For FSK, Burst, Sweep, N Cycle ARB Input Level TTL Compatibility Slope Rising or Falling (Selectable)
Page 411
4.3 inch TFT LCD, 480 × 3 (RGB) × 272 General Specifications Power Source AC100 - 240V, 50 - 60Hz Power 85 VA for AFG-3032 & AFG-3022 Consumption 50VA for AFG-3021 & AFG-3031 Operating Temperature to satisfy the specification: Environment 18 ~ 28˚C...
No. 69, Lushan Road, Suzhou New District Jiangsu, China declares that the below mentioned product AFG-3021, AFG-3031, AFG-3022, AFG-3032 Are herewith confirmed to comply with the requirements set out in the Council Directive on the Approximation of the Law of Member States relating to Electromagnetic Compatibility (2004/108/EC &...
AFG-3021/3022/3031/3032 User Manual ARB Built-In Waveforms Basic y= sin(x) Sine 50% duty square waveform Square 50% symmetry Ramp y=sinc(x) Sinc Exponential rise Exp Rise Exponential fall Exp Fall DC waveform Pulse waveform with Pulse user-defined frequency and duty GlobalTestSupply www. .com nd Quality Products Online at: sales@GlobalTestSupply.co...
Page 414
APPENDIX Common 1 y=|atan(x)| Absatan The absolute of atan(x) y=(1-sin(x))/2 Havercosine Havercosine function Piecewise sine function Sinever y=|sin(x)| Abssin The absolute of sin(x) y=(1-cos(x))/2 Haversin Haversine function Step down Stair_down y=sin(x),0<x<pi Abssinehalf y=0,pi<x<2pi Half_wave function Negative pulse N_pulse Step up and step down Stair_ud GlobalTestSupply www.
Page 415
AFG-3021/3022/3031/3032 User Manual y=e(x).sin(x) Ampalt Oscillation rise y=-x Negramp Line segment Step up Stair_up Common 2 y=e(-x).sin(x) Attalt Oscillation down Sampled aperiodic rectangle Rectpuls Heaviside step function Stepresp Even Diric f(x)=-1^(x*(n-1)/2*pi) x=0,±2*pi,±4*pi,…… y=sqrt(1-x^2) Roundhalf The half roud GlobalTestSupply www. .com nd Quality Products Online at: sales@GlobalTestSupply.co...
Page 416
APPENDIX Piecewise function Trapezia Diric f(x)=sin(nx/2)/n*sin(x/2) x=±pi,±3pi,…… Sawtooth or triangle wave Sawtoot Sampled aperiodic triangle Tripuls f(x)=a*e^(-(x-b)^2)/c^2) Gauspuls Gaussian-modulated sinusoidal pulse Piecewise function Sinetra Math The derivative of the lorentz Dlorentz function 2x/(k*x^2+1) Logarithm function y=sqrt(x) Sqrt GlobalTestSupply www. .com nd Quality Products Online at: sales@GlobalTestSupply.co...
Page 417
AFG-3021/3022/3031/3032 User Manual y=sin(x)/x Sinec Lorentz function Lorentz y=1/(k*x^2+1) Parabola Xsquare A waveform representing a Gauss gaussian bell curve Trig Arc cosine Arccos Arc tangent Arctan Hyperbolic secant Sech Arc cotangent Arccot Hyperbolic arc tangent Arctanh GlobalTestSupply www. .com nd Quality Products Online at: sales@GlobalTestSupply.co...
Page 419
AFG-3021/3022/3031/3032 User Manual Hyperbolic arc sine Arcsinh Secant Window Modified Bartlett-Hann window Barthannwin The Chebyshev window Chebywin function The Kaiser window function Kaiser The Bartlett window is very Bartlett similar to a triangular window as returned by the triang function. The Flattopwin window Flattopwin function...
Page 420
APPENDIX The Hamming window function Hamming The Tukey window function Tukeywin The Bohman window function Bohmanwin The Hann window function Hann GlobalTestSupply www. .com nd Quality Products Online at: sales@GlobalTestSupply.co...
Need help?
Do you have a question about the AFG-3022 and is the answer not in the manual?
Questions and answers