Page 1
Programmer Manual AFG3000 Series Arbitrary/Function Generators 071-1639-04 This document supports firmware version 3.0.0 and above. www.tektronix.com www.valuetronics.com...
Page 3
Tektronix, shipping charges prepaid, and with a copy of customer proof of purchase. Tektronix shall pay for the return of the product to Customer if the shipment is to a location within the country in which the Tektronix service center is located. Customer shall be responsible for paying all shipping charges, duties, taxes, and any other charges for products returned to any other locations.
[SOURce[1|2]]:PULSe:HOLD ......... . 2-71 AFG3000 Series Arbitrary/Function Generators Programmer Manual...
Page 7
TRACe|DATA:DEFine (No Query Form) ....... . 2-107 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
Page 8
Index ............Index-1 AFG3000 Series Arbitrary/Function Generators Programmer Manual...
Page 9
Figure E-6: Operation – Edit by Data Point ......E-19 AFG3000 Series Arbitrary/Function Generators Programmer Manual...
Page 10
Figure E-13: Save As - Character entry box ......E-34 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
Page 11
Table E-5: More menu ..........E-6 AFG3000 Series Arbitrary/Function Generators Programmer Manual...
Page 12
Table E-13: Utility menu ..........E-23 viii AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
Page 13
Preface This manual provides operating information for the AFG3000 Series Arbitrary/Function Generators. The following instruments are supported by this manual: AFG3011 AFG3021B AFG3022B AFG3101 AFG3102 AFG3251 AFG3252 The manual consists of the following sections: Getting Started covers operating principles of the instrument, which helps you understand how your generator operates.
Page 14
In addition to this AFG3000 Series Arbitrary/Function Generators Programmer Manual, the following documentation is available for this instrument: AFG3000 Series Quick Start User Manual. The quick start user manual provides information on installation, general features, operating the instrument, and user interface.
Getting Started The AFG3000 Series Arbitrary/Function Generators front panel is divided into easy to use functional areas. This section provides you with a quick overview of the controls. Figure 1-1 shows the front panel of dual-channel model. 3102 DUAL CHANNEL...
This section introduces you to the front panel controls of the instrument and provides a brief overview on how to use the front panel key controls. Figure 1-2: Front panel controls The AFG3000 Series Arbitrary/Function Generators front-panel key controls are divided into the following categories: Action buttons...
Edit text and graphical views. This is the only function of the single-channel model view button. When the instrument is in the Save/Recall, Utility, Output, or Help menu, pushing the View button will have no effect. AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
Figure 1-3: Waveform parameter and graph display View Format 2. Figure 1-4 is a graph compare view. In this view, the Channel Select button selects the active graph. The selected channel is highlighted. Figure 1-4: Graph comparison AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
View Format 3. Figure 1-5 is a channel compare view. In this view, Channel 1 is selected with the Channel Select button. Figure 1-5: Waveform parameter comparison (CH1 selected) In Figure 1-6, Channel 2 is selected with the Channel Select button. Figure 1-6: Waveform parameter comparison (CH2 selected) AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
Page 22
Save menu map. Recall button. The Recall button opens the Recall menu. See Table E-10 on page E-13 for the Recall menu map. Help button. The Help button opens the built-in Help. AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
Page 23
The selected button is lit with an LED. Continuous Modulation Sweep Burst If your instrument is a dual-channel model, Run Mode can be set independently for each channel. AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
More... button. Pushing the More... button causes the More waveform menu to be displayed on the screen, and causes the More... LED to turn on. See Table E-5 on page E-6 for the menu map. AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
This will allow you to change the digit with the knob. Refer to page 1-15 for entering or changing numeric values using the knob and the arrow keys. AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
Page 26
To unlock the front-panel, use the remote command or push the front-panel Cancel button twice in a row. This method is not applied if the arbitrary/function generator is in the GPIB LLO (Local Lockout) state. 1-10 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
You can save a screen image of the arbitrary/function generator to a USB memory. Push the front-panel two arrow keys underneath the rotary knob simultaneously after setting the display to show the screen you want to save as image. 1-11 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
External Reference out of range Waiting for Trigger You can also display a text message in this area by using the following remote command. See page 2-21. DISPlay[:WINDow]:TEXT[:DATA] 1-12 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
(Some documentation may also refer to the bezel buttons as side-menu buttons or soft keys.) The AFG3000 Series Arbitrary/Function Generators use four types of menu button status. See Figure 1-10. Currently selected and active (focused) Toggle button selection.
Figure 1-11 shows the default display of sine waveform. Figure 1-11: Default display Select the Frequency/Period/Phase Menu bezel button from the default display, you can change the values of frequency, period, or phase. Figure 1-12: Frequency/Period/Phase Menu 1-14 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
To change the value, use the general purpose knob. Turn the knob clockwise to increase the value; turn the knob counterclockwise to decrease the value. Frequency is selected (active). The value is changed to “5”. Figure 1-15: Screen display with Frequency active (3) 1-15 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
To change the amplitude value, push the Top Menu button, and then select the Amplitude/Level Menu bezel button. You can change the values of amplitude, offset, high level, or low level. Figure 1-17: Amplitude/Level Menu 1-16 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
Figure 1-18: PWM sample screen From Figure 1-18, pushing the Frequency/Period shortcut button will change the bezel menu to look like Figure 1-19. Frequency is active. Figure 1-19: PWM parameter menu (Freq is selected) 1-17 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
The next time you push the Frequency/Period button, Period will be selected. The Duty/Width and Leading/Trailing shortcut buttons are operational NOTE. only when Pulse is selected in the Functional button. 1-18 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
CH 2 Input connector is used to apply an external modulating signal to the CH 2 output signal. The signal input level applied to this connector will control the modulation depth. 1-19 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
Page 36
Security Slot. Use a standard laptop computer security cable to secure your arbi- trary/function generator to your location. Chassis Ground Screw. The chassis ground screw is used to ground the arbi- trary/function generator. Use a unified coarse screw (#6-32, 6.35 mm length or less). 1-20 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
Page 39
Backus-Naur Form (BNF) notation. Refer to Table 2-1 for the symbols that are used. Table 2-1: BNF notation Symbol Meaning < > Defined element Is defined as Exclusive OR Group; one element is required Optional; can be omitted Previous element(s) may be repeated Comment AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
Page 40
A single comma between arguments of multiple-argument commands. It may optionally have white space characters before and after the comma. A white space character between command header and argument. It may <Space> optionally consist of multiple white space characters. AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
When the returned value is a mnemonic, it is noted in abbreviated format, as shown in Table 2-3. Table 2-3: Query response examples Query Response SOURce:PULSe:DCYcle? 50.0 OUTPut:POLarity? NORM AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
Figure 2-2: Example of SCPI subsystem hierarchy tree You can create commands and queries from these subsystem hierarchy trees. Commands specify actions for the instrument to perform. Queries return measure- ment data and information about parameter settings. AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
Page 43
NRf numeric Flexible decimal number that See NR1, NR2, NR3 examples may be type NR1, NR2, or NR3 in this table string Alphanumeric characters (must “Testing 1, 2, 3” be within quotation marks) AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
Figure 2-3: Example of abbreviating a command The numeric suffix of a command or query may be included in either the NOTE. long form or short form. The arbitrary/function generator will default to “1” if no suffix is used. AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
<NR3>. (SI units are units that conform to the System International d’Unites standard.) For example, you can use the input format 200 mV or 1.0 MHz instead of 200.0E–3 or 1.0E+6, respectively, to specify voltage or frequency. AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
Page 46
:SOURCE:FREQUENCY 10MHZ is the same as :source:frequency 100mhz :SOURCE:frequency 10MHZ Quoted strings are case sensitive. NOTE. No embedded spaces are allowed between or within nodes. :OUTPUT:FILTER:LPASS:FREQUENCY 200MHZ correct :OUTPUT: FILTER: LPASS:FREQUENCY 200MHZ incorrect AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
Delete the setup memory MEMory:STATe:LOCK Set/query the lock of setup memory overwrite and deletion MEMory:STATe:RECall:AUTo Set/query the recall of last set memory *RCL Recall instrument setting from setup memory *SAV Save instrument setting to setup memory AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
ABORt (No Query Form) Initializes all the current trigger system parameters and resets all trigger sequences. Group Trigger Syntax ABORt Arguments None Examples ABORt resets the trigger system. 2-15 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
Page 54
<NR1>≠0 indicates that the arbitrary/function generator detected an error. Examples *CAL? performs an internal calibration and returns results. For example, it might return 0, which indicates that the calibration completed without any errors. 2-16 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
Page 55
This command clears all the event registers and queues, which are used in the arbi- trary/function generator status and event reporting system. Group Status Syntax *CLS Arguments None Examples *CLS clears all the event registers and queues. 2-17 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
Page 56
<NR1> where <NR1>=0 indicates that the self-test completed without errors. <NR1>≠0 indicates that the arbitrary/function generator detected an error. Examples DIAGnostic:ALL performs self-test. DIAGnostic:ALL? performs self-test and might return an error code. 2-18 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
DISPlay:SAVer[:STATe]? command setting. The screen saver will be enabled immediately (without waiting for five minutes). Group Display Related Commands DISPlay:SAVer[:STATe]? Syntax DISPlay:SAVer:IMMediate Arguments None Examples DISPlay:SAVer:IMMediate sets the screen saver state to on. 2-19 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
Page 58
DISPlay:SAVer:IMMediate Syntax DISPlay:SAVer[:STATe] {ON|OFF|<NR1>} DISPlay:SAVer[:STATe]? Arguments ON or <NR1>≠0 enables the screen saver function. OFF or <NR1>=0 disables the screen saver function. Returns <NR1> Examples DISPlay:SAVer:STATe OFF disables the screen saver function. 2-20 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
DISPlay[:WINDow]:TEXT:CLEar (No Query Form) This command clears the text message from the display screen. Group Display Syntax DISPlay[:WINDow]:TEXT:CLEar Arguments None Examples DISPlay:WINDow:TEXT:CLEar clears the text message from the screen. 2-21 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
Page 60
Examples *ESE 177 sets the ESER to 177 (binary 10110001), which sets the PON, CME, EXE and OPC bits. *ESE? might return 186, indicating that the ESER contains the binary value 10111010. 2-22 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
Page 61
000 through 999. The image files are saved in a folder named “TEK” in the USB memory. Group Screen copy Syntax HCOPy:SDUMp[:IMMediate] Arguments None Examples HCOPy:SDUMp:IMMediate copies the screen image and may create a file TEK00001.BMP in a USB memory. 2-23 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
Page 62
1 means that the specified setup memory has been saved. 0 means that the specified setup memory has been deleted. Examples MEMory:STATe:VALid? 0 might return 1 if the specified setup memory has been saved. 2-24 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
ON or <NR1>≠0 locks the specified location of setup memory. OFF or <NR1>=0 allows you to overwrite or delete the specified location of setup memory. Returns <NR1> Examples MEMory:STATe:LOCK 1,ON locks the setup memory of location number 1. 2-25 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
Page 64
ON or <NR1>≠0 enables the recall of the setup memory you last used before powering off the instrument. OFF or <NR1>=0 disables the last setup recall function. Returns <NR1> Examples MEMory:STATe:RECall:AUTo ON sets the instrument to recall the last setup memory when powered-on. 2-26 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
Page 65
<file_name> is the exact name of a file. <file_type> is DIR for directory, otherwise it is blank. <file_size> is the size of the file, in bytes. Examples MMEMory:CATalog? might return the following response: 32751616,27970560,”SAMPLE1.TFS,,5412” 2-27 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
You can delete a directory if it is empty. Group Mass Memory Syntax MMEMory:DELete <file_name> Arguments <file_name>::=<string> specifies a file to be deleted. Examples MMEMory:DELete ”TEK001.TFW” deletes the specified file from the mass storage. 2-28 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
Mass Memory Related Commands MMEMory:STORe:TRACe Syntax MMEMory:LOAD:TRACe EMEMory,<file_name> Arguments <file_name>::=<string> specifies a waveform data file to be copied. Examples MMEMory:LOAD:TRACe EMEMory,”TEK001.TFW” copies a file named TEK001.TFW in the mass storage into Edit Memory. 2-29 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
Page 68
Group Mass Memory Syntax MMEMory:MDIRectory <directory_name> Arguments <directory_name>::=<string> specifies a directory name to be created. Examples MMEMory:MDIRectory ”SAMPLE1” creates a directory named “SAMPLE1” in the mass storage system. 2-30 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
Page 69
<file_name>::=<string> specifies a file name in the mass storage system. The <file_name> includes path. Path separators are forward slashes (/). Examples MMEMory:STORe:TRACe EMEMory,”SAMPLE1.TFW” Copies the content of EMEMory to a file named “SAMPLE1.TFW” in the mass storage system. 2-31 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
Page 70
This query-only command returns a list of the options installed in your arbi- trary/function generator. Group System Syntax *OPT? Arguments None Returns <OPT>[,<OPT>[,<OPT>[,<OPT>]]] Examples *OPT? might return 0, which indicates no option is installed in the instrument. 2-32 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
INFinity sets the load impedance to >10 kΩ. MINimum sets the load impedance to 1 Ω. MAXimum sets the load impedance to 10 kΩ. Returns <ohms>::=<NR3> Examples OUTPut1:IMPedance MAXimum sets the CH 1 load impedance to 10 kΩ . 2-33 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
OUTPut[1|2][:STATe]? Arguments ON or <NR1>≠0 enables the arbitrary/function generator output. OFF or <NR1>=0 disables the arbitrary/function generator output. Returns <NR1> Examples OUTPut1:STATe ON sets the arbitrary/function generator CH 1 output to ON. 2-34 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
TRIGger means TRIGger is selected for Trigger Out. SYNC means SYNC is selected for Trigger Out. Returns TRIG|SYNC Examples OUTPut:TRIGger:MODE SYNC outputs one cycle waveform from the Trigger Output connector when Inf-Cycles starts. 2-35 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
*RCL {0|1|2|3|4} Arguments 0, 1, 2, 3, or 4 specifies the location of setup memory. Examples *RCL 3 restores the instrument from a copy of the settings stored in memory location 3. 2-36 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
Related Commands *RCL Syntax *SAV {0|1|2|3|4} Arguments 0, 1, 2, 3, or 4 specifies the location of setup memory. Examples *SAV 2 saves the current instrument state in the memory location 2. 2-37 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
MINimum sets the modulation depth to minimum value. MAXimum sets the modulation depth to maximum value. Returns <depth> Examples SOURce1:AM:DEPth MAXimum sets the depth of modulating signal on CH 1 to the maximum value. 2-38 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
EFILe EFILe is used as a modulating signal. Returns SIN|SQU|TRI|RAMP|NRAM|PRN|USER1|USER2|USER3|USER4|EMEMory|EFILe Examples SOURce1:AM:INTernal:FUNCtion SQUare selects Square as the shape of modulating waveform for the CH 1 output. 2-40 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
INTernal means that the carrier waveform is modulated with an internal source. EXTernal means that the carrier waveform is modulated with an external source. Returns INT|EXT Examples SOURce1:AM:SOURce INTernal sets the CH 1 source of modulating signal to internal. 2-41 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
Syntax [SOURce[1|2]]:BURSt:MODE{TRIGgered|GATed} [SOURce[1|2]]:BURSt:MODE? Arguments TRIGgered means that triggered mode is selected for burst mode. GATed means that gated mode is selected for burst mode. Returns TRIG|GAT Examples SOURce1:BURSt:MODE TRIGgered selects triggered mode. 2-42 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
INFinity sets the burst count to infinite count. MINimum sets the burst count to minimum count. MAXimum sets the burst count to maximum count. Returns <cycles> Examples SOURce1:BURSt:NCYCles 2 sets the CH 1 burst count to 2. 2-43 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
Syntax [SOURce[1|2]]:BURSt:STATe {ON|OFF|<NR1>} [SOURce[1|2]]:BURSt:STATe? Arguments ON or <NR1>≠0 enables the burst mode. OFF or <NR1>=0 disables the burst mode. Returns <NR1> Examples SOURce1:BURSt:STATe ON enables the burst mode for the CH 1. 2-44 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
<units>::=[s | ms | µs | ns] MINimum sets the delay time to minimum value. MAXimum sets the delay time to maximum value. Returns <delay> Examples SOURce1:BURSt:DELay 20ms sets the CH 1 delay time to 20 ms. 2-45 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
AFG3100 or AFG3200 series arbitrary/function generators. “” disables the internal noise add and external signal add function. Returns “NOIS”|“EXT”|“BOTH”|“” Examples SOURce1:COMBine:FEED EXTernal adds an external signal to the CH 1 output signal. 2-46 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
Source Syntax [SOURce[1|2]]:FM:DEViation {<deviation>|MINimum|MAXimum} [SOURce[1|2]]:FM:DEViation?[MINimum|MAXimum] Arguments <deviation>::=<NRf>[<units>] where <NRf> is the frequency deviation. <units>::=[Hz | kHz | MHz] Returns <deviation> Examples SOURce1:FM:DEViation 1.0MHz sets the CH 1 frequency deviation to 1.0 MHz. 2-47 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
EFILe EFILe is used as a modulating signal. Returns SIN|SQU|TRI|RAMP|NRAM|PRN|USER1|USER2|USER3|USER4|EMEMory|EFILe Examples SOURce1:FM:INTernal:FUNCtion SQUare selects Square as the shape of modulating waveform for the CH 1 output. 2-49 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
INTernal means that the carrier waveform is modulated with the internal source. EXTernal means that the carrier waveform is modulated with an external source. Returns INT|EXT Examples SOURce1:FM:SOURce INTernal sets the CH 1 source of modulating signal to internal. 2-50 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
FM modulation. Group Source Syntax [SOURce[1|2]]:FM:STATe {ON|OFF|<NR1>} [SOURce[1|2]]:FM:STATe? Arguments ON or <NR1>≠0 enables FM modulation. OFF or <NR1>=0 disables FM modulation. Returns <NR1> Examples SOURce1:FM:STATe ON enables the CH 1 FM modulation. 2-51 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
[SOURce[1|2]]:FREQuency:MODE Syntax [SOURce[1|2]]:FREQuency:CENTer {<frequency>|MINimum|MAXimum} [SOURce[1|2]]:FREQuency:CENTer? Arguments <frequency>::=<NRf>[<units>] where <NRf> is the center frequency. <units>::=[Hz | kHz | MHz] Returns <frequency> Examples SOURce1:FREQuency:CENTer 550kHz sets the CH 1 center frequency to 550 kHz. 2-52 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
Arguments ON or <NR1>≠0 enables the concurrent copy function. OFF or <NR1>=0 disables the concurrent copy function. Returns <NR1> Examples SOURce1:FREQuency:CONCurrent ON copies the frequency value of CH 1 to CH 2. 2-53 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
<NRf> is the output frequency. <units>::=[Hz | kHz | MHz] Returns <frequency> Examples SOURce1:FREQuency:FIXed 500kHz sets the CH 1 output frequency to 500 kHz when the Run Mode is set to other than Sweep. 2-54 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
SWEep means that the output frequency is controlled by the sweep command set. The sweep is valid. Returns CW|FIXed|SWEep Examples SOURce1:FREQuency:MODE SWEep specifies the sweep command set for controlling the CH 1 output frequency. 2-55 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
[SOURce[1|2]]:FREQuency:SPAN {<frequency>|MINimum|MAXimum} [SOURce[1|2]]:FREQuency:SPAN? [MINimum|MAXimum] Arguments <frequency>::=<NRf>[<units>] where <NRf> is the frequency span. <units>::=[Hz | kHz | MHz] Returns <frequency> Examples SOURce1:FREQuency:SPAN 900 kHz sets the CH 1 frequency span to 900 kHz. 2-56 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
[SOURce[1|2]]:FREQuency:STOP {<frequency>|MINimum|MAXimum} [SOURce[1|2]]:FREQuency:STOP? [MINimum|MAXimum] Arguments <frequency>::=<NRf>[<units>] where <NRf> is the stop frequency. <units>::=[Hz | kHz | MHz] Returns <frequency> Examples SOURce1:FREQuency:STOP 100KHz sets the stop frequency of CH 1 to 100 kHz. 2-58 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
Group Source Syntax [SOURce[1|2]]:FSKey:STATe {ON|OFF|<NR1>} [SOURce[1|2]]:FSKey:STATe? Arguments ON or <NR1>≠0 enables FSK modulation. OFF or <NR1>=0 disables FSK modulation. Returns <NR1> Examples SOURce1:FSKey:STATe ON enables the CH 1 FSK modulation. 2-60 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
The setting range is 0.0% to 100.0%. Group Source Syntax [SOURce[1|2]]:FUNCtion:RAMP:SYMMetry {<symmetry>|MINimum|MAXimum} [SOURce[1|2]]:FUNCtion:RAMP:SYMMetry? [MINimum|MAXimum] Arguments <symmetry>::=<NR2>[<units>] where <NR2> is the symmetry. <units>::=PCT Returns <symmetry> Examples SOURce1:FUNCtion:RAMP:SYMMetry 80.5 sets the symmetry of the CH 1 ramp waveform to 80.5%. 2-61 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
USER[1]|USER2|USER3|USER4|EMEMory A user defined waveform saved in the user waveform memory or the EMEMory can be selected as an output waveform. 2-62 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
–1 PI to +1 PI, relative to phase value –180 to +180, relative to phase value Returns <phase> Examples SOURce1:PHASe:ADJust MAXimum sets the maximum value for the phase of CH 1 output frequency. 2-63 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
0 PI to +1 PI, relative to phase value 0 to +180, in 1 degree steps, relative to phase value Returns <deviation> Examples SOURce1:PM:DEViation MAXimum sets the maximum value for the CH 1 phase deviation. 2-64 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
EFILe EFILe is used as a modulating signal. Returns SIN|SQU|TRI|RAMP|NRAM|PRN|USER1|USER2|USER3|USER4|EMEMory|EFILe Examples SOURce1:PM:INTernal:FUNCtion SQUare selects Square as the shape of modulating waveform for the CH 1 output. 2-66 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
INTernal means that the carrier waveform is modulated with an internal source. EXTernal means that the carrier waveform is modulated with an external source. Returns INT|EXT Examples SOURce1:PM:SOURce INTernal sets the CH 1 source of modulating signal to internal. 2-67 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
Group Source Syntax [SOURce[1|2]]:PM:STATe {ON|OFF|<NR1>} [SOURce[1|2]]:PM:STATe? Arguments ON or <NR1>≠0 enables PM modulation. OFF or <NR1>=0 disables PM modulation. Returns <NR1> Examples SOURce1:PM:STATe ON enables the CH 1 PM modulation. 2-68 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
SOURce<3|4>:POWer[:LEVel][:IMMediate][:AMPLitude] {<percent>| MINimum|MAXimum} SOURce<3|4>:POWer[:LEVel][:IMMediate][:AMPLitude]?[MINimum |MAXimum] Arguments <percent>::=<NR2>[<units>] where <NR2> is the noise level. <units>::=PCT Returns <percent> Examples SOURce3:POWer:LEVel:IMMediate:AMPLitude 50PCT sets the internal noise level that is added to the output signal to 50%. 2-69 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
This command sets or queries the lead delay of the pulse waveform for the speci- fied channel. Group Source Syntax [SOURce[1|2]]:PULSe:DELay {<delay>|MINimum|MAXimum} [SOURce[1|2]]:PULSe:DELay?[MINimum|MAXimum] Arguments <delay>::=<NR2>[<units>] where <NR2> is the lead delay. <units>::=[ns | µs | ms | s] 2-70 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
WIDTh means that the arbitrary/function generator holds the pulse width setting. DUTY means that the arbitrary/function generator holds the pulse duty setting. Returns WIDT|DUTY Examples SOURce1:PULSe:HOLD WIDTh holds the CH 1 pulse width setting. 2-71 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
<NRf> is the leading edge time of pulse waveform. <units>::=[ns | µs | ms | s] Returns <seconds> Examples SOURce1:PULSe:TRANsition:LEADing 200ns sets the CH 1 leading edge time to 200 ns. 2-72 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
[SOURce[1|2]]:PULSe:TRANsition:TRAiling?[MINimum|MAXimum] Arguments <seconds>::=<NRf>[<units>] where <NRf> is the trailing edge of pulse waveform. <units>::=[ns | µs | ms | s] Returns <seconds> Examples SOURce1:PULSe:TRANsition:TRAiling 200ns sets the trailing edge time to 200 ns. 2-73 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
[SOURce[1|2]]:PULSe:WIDTh {<seconds>|MINimum|MAXimum} [SOURce[1|2]]:PULSe:WIDTh?[MINimum|MAXimum] Arguments <seconds>::=<NRf>[<units>] where <NRf> is the pulse width. <units>::=[ns | µs | ms | s] Returns <seconds> Examples SOURce1:PULSe:WIDTh 200ns sets the CH 1 pulse width to 200 ns. 2-74 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
EFILe EFILe is used as a modulating signal. Returns SIN|SQU|TRI|RAMP|NRAM|PRN|USER1|USER2|USER3|USER4|EMOMory|EFILe Examples SOURce1:PWM:INTernal:FUNCtion SQUare selects Square as the shape of modulating waveform for the CH 1 output. 2-76 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
INTernal means that the carrier waveform is modulated with the internal source. EXTernal means that the carrier waveform is modulated with an external source. Returns INT|EXT Examples SOURce1:PWM:SOURce INTernal sets the source of modulating signal on CH 1 to internal. 2-77 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
PWM. Group Source Syntax [SOURce[1|2]]:PWM:STATe {ON|OFF|<NR1>} [SOURce[1|2]]:PWM:STATe? Arguments ON or <NR1>≠0 enables PWM modulation. OFF or <NR1>=0 disables PWM modulation. Returns <NR1> Examples SOURce1:PWM:STATe ON enables the CH 1 PWM modulation. 2-78 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
PWmin is the minimum pulse width. Group Source Syntax [SOURce[1|2]]:PWM[:DEViation]:DCYCle {<percent>|MINimum|MAXimum} [SOURce[1|2]]:PWM[:DEViation]:DCYCle? [MINimum|MAXimum] Arguments <percent>::=<NR2>[<units>] where <NR2> is the PWM deviation. <units>::=PCT Returns <percent> Examples SOURce1:PWM[:DEViation]:DCYCle 5.0 sets the CH 1 PWM deviation to 5.0%. 2-79 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
[SOURce[1|2]]:SWEep:HTIMe? [MINimum|MAXimum] Arguments <seconds>::=<NRf>[<units>] where <NRf> is the hold time in seconds. <units>::=[ns | µs | ms | s] Returns <seconds> Examples SOURce1:SWEep:HTIMe 1ms sets the CH 1 hold time to 1 ms. 2-80 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
MANual sets the sweep mode to manual. The instrument outputs one sweep when a trigger input is received. Returns AUTO|MAN Examples SOURce1:SWEep:MODE AUTO sets the CH1 sweep mode to auto. The instrument outputs a continuous sweep. 2-81 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
Source Syntax [SOURce[1|2]]:SWEep:SPACing {LINear|LOGarithmic} [SOURce[1|2]]:SWEep:SPACing? Arguments LINear sets the sweep spacing to linear. LOGarithmic sets the sweep spacing to logarithmic. Returns LIN|LOG Examples SOURce1:SWEep:SPACing LINear sets the CH1 sweep spacing to linear. 2-82 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
[SOURce[1|2]]:SWEep:TIME? [MINimum|MAXimum] Arguments <seconds>::=<NRf>[<units>] where <NRf> is the sweep time in seconds. <units>::=[ns | µs | ms | s] Returns <seconds> Examples SOURce1:SWEep:TIME 100ms sets the CH 1 sweep time to 100 ms. 2-83 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
Source Syntax [SOURce[1|2]]:VOLTage:CONCurrent[:STATe] {ON|OFF|<NR1>} [SOURce[1|2]]:VOLTage:CONCurrent[:STATe]? Arguments ON or <NR1>≠0 enables the concurrent copy function. OFF or <NR1>=0 disables the concurrent copy function. Returns <NR1> Examples SOURce1:VOLTage:CONCurrent:STATe ON enables the concurrent copy function. 2-84 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
[SOURce[1|2]]:VOLTage[:LEVel][:IMMediate]:HIGH?[MINimum|MAXimum] Arguments <voltage>::=<NRf>[<units>] where <NRf> is the high level of output amplitude. <units>::=[mV | V] Returns <voltage> Examples SOURce1:VOLTage:LEVel:IMMediate:HIGH 1V sets the high level of CH 1 output amplitude to 1 V. 2-85 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
[SOURce[1|2]]:VOLTage[:LEVel][:IMMediate]:LOW? [MINimum|MAXimum] Arguments <voltage>::=<NRf>[<units>] where <NRf> is the low level of output amplitude. <units>::=[mV | V] Returns <voltage> Examples SOURce1:VOLTage:LEVel:IMMediate:LOW -1V sets the low level of CH 1 output amplitude to –1 V. 2-86 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
[SOURce[1|2]]:VOLTage:LIMit:HIGH? [MINimum|MAXimum] Arguments <voltage>::=<NRf>[<units>] where <NRf> is the higher limit of output amplitude. <units>::=[mV | V] Returns <voltage> Examples SOURce1:VOLTage:LIMit:HIGH 1V sets the higher limit of CH 1 output amplitude to 1 V. 2-89 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
DBM sets the units of the output voltage to dBm. You cannot specify DBM if the load impedance is set to infinite. Returns VPP|VRMS|DBM Examples SOURce1:VOLTage:UNIT VPP sets the voltage units to V 2-91 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
Returns <bit_value> Examples *SRE 48 sets the bits in the SRER to binary 00110000. *SRE? might return 32, showing that the bits in the SRER have the binary value of 00100000. 2-92 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
This command sets or queries the mask for the Operation Enable Register. Group Status Syntax STATus:OPERation:ENABle <bit_value> STATus:OPERation:ENABle? Arguments <bit_value>::=<NR1> Returns <bit_value> Examples STATus:OPERation:ENABle 1 sets the CALibrating bit in the OENR to on. 2-93 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
00000000 00000001 and the CALibrating bit is set to on. STATus:PRESet (No Query Form) This command presets the SCPI status registers (OENR and QENR). Group Status Syntax STATus:PRESet Arguments None Examples STATus:PRESet presets the SCPI status registers. 2-94 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
This command sets or queries the mask for the Questionable Enable Register. Group Status Syntax STATus:QUEStionable:ENABle <bit_value> STATus:QUEStionable:ENABle? Arguments <bit_value>::=<NR1> Returns <bit_value> Examples STATus:QUEStionable:ENABle 32 sets the FREQuency bit in the QENR to on. 2-95 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
This query-only command returns the contents of the Status Byte Register (SBR) using the Master Summary Status (MSS) bit. Group Status Syntax *STB? Arguments None Returns <NR1> Examples *STB? might return 96, showing that the SBR contains the binary value 01100000. 2-96 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
Group System Related Commands SYSTem:BEEPer[:IMMediate] Syntax SYSTem:BEEPer:STATe {ON|OFF|<NR1>} SYSTem:BEEPer:STATe? Arguments ON or <NR1>≠0 enables the beeper. OFF or <NR1>=0 disables the beeper. Returns <NR1> Examples SYSTem:BEEPer:STATe ON enables the beeper function. 2-97 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
The query command returns “0” (OFF) or “1” (ON). Group System Syntax SYSTem:KCLick[:STATe] {ON|OFF|<NR1>} SYSTem:KCLick[:STATe]? Arguments ON or <NR1>≠0 enables click sound. OFF or <NR1>=0 disables click sound. Returns <NR1> Examples SYSTem:KCLick:STATe ON enables the click sound. 2-98 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
SYSTem:KLOCk:STATe ON locks front panel controls. SYSTem:PASSword:CDISable (No Query Form) This command disables protected commands. The instrument security protection is activated. In the AFG3000 Series Arbitrary/Function Generators, no remote commands are under the control of SYSTem:PASSword commands. Group System Related Commands...
Syntax and Commands SYSTem:PASSword[:CENable] (No Query Form) This command enables protected commands to function. The instrument security protection is deactivated. In the AFG3000 Series Arbitrary/Function Generators, no remote commands are under the control of SYSTem:PASSword commands. Group System Related Commands...
Calibration data is not erased. The communication settings are initialized to the factory default settings. This might cause a remote communication error. Group System Syntax SYSTem:SECurity:IMMediate Arguments None Examples SYSTem:SECurity:IMMediate initializes the instrument. 2-101 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
This query-only command returns the conformed SCPI version of the instrument. Group System Syntax SYSTem:VERSion? Arguments None Returns <SCPI Version>::=YYYY.V where YYYY — indicates year. V — indicates the version number for that year. Examples SYSTem:VERSion? might return 1999.0. 2-102 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
DATA:COPY USER1,EMEMory copies the waveform data in the edit memory to the user waveform memory USER1. DATA:COPY EMEMory,USER1 copies the waveform data in the user waveform memory USER1 to the edit memory. 2-103 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
The block data element #42000 indicates that 4 is the number of digits in 2000 (byte count) and the 2000 bytes of binary data are to be transmitted. 2-104 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
DATA:DATA:LINE EMEMory,1,2047,250,4094 sets a data value of 2047 for start point 1 and a data value of 4094 for end point 250, and interpolates linearly between these two points in the edit memory. 2-105 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
2047 for the point number 500 in the edit memory. DATA:DATA:VALue? EMEMory,500 might return “2047” This example indicates that the data value of point number 500 is set to 2047. 2-106 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
(1000) and value (8191). Examples DATA:DEFine EMEMory,1000 sets the length of the edit memory to 1000 points and resets the data points to the default value. 2-107 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
Syntax TRACe|DATA:LOCK[:STATe]{USER[1]|USER2|USER3|USER4},{ON|OFF|<NR1>} TRACe|DATA:LOCK[:STATe]?{USER[1]|USER2|USER3|USER4} Arguments ON or <NR1>≠0 locks the specified user waveform memory. OFF or <NR1>=0 unlocks the specified user waveform memory. Returns <NR1> Examples DATA:LOCK:STATe USER1,ON locks the USER1 waveform memory. 2-108 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
500 in the edit memory. *TRG (No Query Form) This command generates a trigger event. Group Trigger Related Commands TRIGger[:SEQuence][:IMMediate] Syntax *TRG Arguments None Examples *TRG generates a trigger event. 2-109 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
TIMer specifies an internal clock as the trigger source. EXTernal specifies an external trigger input as the trigger source. Returns TIM|EXT Examples TRIGger:SEQuence:SOURce EXTernal sets an external trigger input as the trigger source. 2-110 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
5 ms. TRIGger[:SEQuence][:IMMediate] (No Query Form) This command forces a trigger event to occur. Group Trigger Syntax TRIGger[:SEQuence][:IMMediate] Arguments None Examples TRIGger:SEQuence:IMMediate generates a trigger event. 2-111 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
Group Synchronization Related Commands *OPC Syntax *WAI Arguments None Examples *WAI prevents the instrument from executing any further commands or queries until all pending commands that generate an OPC message are complete. 2-112 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
The error and event reporting system consists of the following three blocks: Standard/Event Status Operation Status Questionable Status The operations processed in these blocks are summarized in status bytes, which provide the error and event data. AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
Device Dependent Error Execution Error Command Error User Request SRER Power On *SRE<bit_value> SESR ESER *STB? Error and Event *SRE? Status Block *ESE<bit_value> *ESR? Status Byte *ESE? Register Figure 3-1: Error and event handling process AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
Page 155
This block reports on the status of signals and data, such as the accuracy of entered data and signals generated by the instrument. The register configuration and process flow are the same as the Questionable Status Block. AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
Message Available Bit. This bit indicates that a message has been placed in the output queue and can be retrieved. Questionable Status Bit. Error/Event Queue Summary. ––––– Not used AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
Request Control. The arbitrary/function generator does not use this bit. Operation Complete. Indicates that the operation is complete. This bit is set when all pending operations complete following the *OPC command. AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
2 to 1 ––––– Not used Calibration. Indicates whether the instrument is being calibrated. This bit is set when calibration is in progress and is reset when the calibration is complete. AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
To set the ESB in the SBR (when the SESR bit has been set), set the ESER bit corresponding to that event. To prevent the ESB from being set, reset the ESER bit corresponding to that event. AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
Error/Event Queue. Retrieve the event code with the following command sequence: *ESR? SYSTem:ERRor[:NEXT]? If you omit the *ESR? query, the SESR bit will remain set, even if the event disap- pears from the Error/Event Queue. 3-10 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
Messages and Codes Error and event codes with negative values are SCPI standard codes. Error and event codes with positive values are unique to the AFG3000 Series Arbitrary/Func- tion Generators. Table 3-5 lists event code definitions. When an error occurs, you can find its error class by checking for the code range in Table 3-6 through Table 3-14.
Page 164
Block data not allowed –170 Expression error –171 Invalid expression –178 Expression data not allowed –180 Macro error –181 Invalid outside macro definition –183 Invalid inside macro definition –184 Macro parameter error 3-12 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
File name not found –257 File name error –258 Media protected –260 Expression error –261 Math error in expression –270 Macro error –271 Macro syntax error –272 Macro execution error –273 Illegal macro label 3-13 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
Page 166
Program currently running –285 Program syntax error –286 Program runtime error –290 Memory use error –291 Out of memory –292 Referenced name does not exist –293 Referenced name already exists –294 Incompatible type 3-14 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
UNTERMINATED after indefinite response Power-on Events These events occur when the instrument detects an off to on transition in its power supply. Table 3-10: Power-on events Event code Event message –500 Power on 3-15 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
These events occur when instrument’s synchronization protocol, having been Events enabled by an *OPC command, completes all selected pending operations. Table 3-13: Operation complete events Event code Event message –800 Operation complete 3-16 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
Page 173
The following two example programs, which demonstrate methods that you can use to control the arbitrary/function generator through the General Purpose Inter- face Bus (GPIB), are included on the AFG3000 Series Arbitrary/Function Gener- ators Product CD. Example 1: Set up a Waveform Output Example 2: Waveform Transfer and Copy The example programs are written in Microsoft Visual Basic Version 6.0.
Page 174
Tvc1.WriteString ("SOURCE2:VOLTAGE:OFFSET 0.00") 'Set offset 0V Tvc1.WriteString ("SOURCE2:PHASE:ADJUST 90DEG") 'Set phase 90degrees 'Save settings and output on Tvc1.WriteString ("*SAV 1") 'Save settings to Setup1 Tvc1.WriteString ("*RCL 1") 'Recall settings from Setup1 End Sub AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
Page 175
Data = (1000 - i) * Int(16382 / 200) High = Int(Data / 256) Low = Data - (High * 256) wave(2 * i) = High wave(2 * i + 1) = Low AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
Page 176
'Copy contents of edit memory to USER1 Tvc1.WriteString ("TRAC:COPY USER1,EMEM") 'Set CH1 output parameters Tvc1.WriteString ("FUNCTION USER1") 'Set output waveform USER1 Tvc1.WriteString ("FREQUENCY 8K") 'Set frequency 8kHz Tvc1.WriteString ("OUTPUT ON") 'Set CH1 output on End Sub AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
Calibration Service 5 Years Option D1 Calibration Data Report Option D3 Calibration Data Report 3 Years (with Option C3) Option D5 Calibration Data Report 5 Years (with Option C5) Option R5 Repair Service 5 Years AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
Appendix A: Accessories and Options Accessories All accessories (standard and optional) are available by contacting your local Tektronix field office. Table A-2 lists standard accessories for this instrument. Standard The following accessories are shipped with the instrument: Table A-2: Standard accessories...
Page 181
012-0482-00 50 Ω BNC Cable, 250 cm (98 in), W shield 012-1256-00 GPIB Interface cable, 2 m, W shield 012-0991-00 Fuse adapter, BNC-P to BNC-R 013-0345-00 Fuse set, 3 pcs, 0.125 A 159-0454-00 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
When the instrument is used by students or other inexperienced users, always attach the fuse adapter to the output connectors to avoid damage. Fuse adapter 0.125 A fuse Figure A-1: Fuse adapter AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
2. Use a soft cloth dampened with water to clean the instrument. Use an aqueous solution of 75% isopropyl alcohol for more efficient cleaning. CAUTION. To avoid damage to the surface of the instrument, do not use any abrasive or chemical cleaning agents. AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
Page 184
Appendix B: General Care and Cleaning AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
1.000 000 MHz Sweep Time 10 ms Sweep Hold Time 0 ms Sweep Return Time 1 ms Sweep Type Linear Sweep Mode Repeat Sweep Source Internal Trigger Slope Positive Trigger Interval 1.000 ms AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
Page 190
The front-panel Default button does not reset the following settings: Language option Power-on settings Display contrast Screen saver Click tone Beeper Saved setup files Saved waveform files Calibration data GPIB setup Ethernet setup Access protection AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
This section describes the menus associated with each front-panel menu button or control. Menu System The user interface of the AFG3000 Series Arbitrary/Function Generators was designed for easy access to specialized functions through the menu structure. When you push a front panel-button, the arbitrary/function generator displays the corresponding menu on the right side of the screen.
Output menu button on the front panel. Refer to page 1-3 for the Top Menu button. Save/Recall Menu, page E-13 Edit Menu, page E-14 Utility Menu, page E-23 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
Continuous ––– Modulation Refer to Table E-6 Sweep Refer to Table E-7 Burst Refer to Table E-8 Output Menu Refer to Table E-9 Dual-channel model only. dBm is used only for sine waveform. AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
Lead Delay signals. Amplitude/Level Menu Refer to Table E-1 Run Mode Menu Continuous ––– Modulation Refer to Table E-6 Burst Refer to Table E-8 Output Menu Refer to Table E-9 Dual-channel model only. AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
Edit Memory is deleted when the instrument power is turned off. When the arbitrary/function generator outputs an Arb waveform, the NOTE. peak-to-peak voltage of the measurement result is the same as the setup value if the waveform data is normalized. AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
Output Menu Refer to Table E-9 When the arbitrary/function generator outputs Sin(x)/x, Gaussian, Lorentz, NOTE. Exponential Rise, Exponential Decay, or Haversine waveforms, the peak-to-peak voltage is defined as twice the 0 to peak value. AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
The carrier frequency must always be greater than or equal to the deviation. Also the sum of the carrier frequency and deviation must be less than or equal to the maximum frequency for the selected waveform. AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
Page 198
FSK Hop frequency. Pulse Width Modulation. Pulse width modulation is a modulation technique in which the width of a pulse waveform is varied by the voltage of the modulating waveform. AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
-more- (3 of 3) The sweep function outputs a waveform with the output signal frequency varying linearly or logarithmically. Logarithmical sweep Linear sweep Stop frequency Start frequency Sweep time Sweep time Figure E-1: Sweep type AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
Trigger. One sweep waveform is output when a trigger input is received. You can select a trigger source from an external signal applied to the front-panel Trigger Input connector, the trigger signal generated internally, the manual trigger, or the remote interface. E-10 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
When the trigger source is set to External, you can select Positive or Negative as the trigger slope. The instrument will trigger on the rising edge (Positive) or falling edge (Negative) of the signal applied to the front-panel Trigger Input connector. E-11 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
The maximum value of noise range is limited by waveform and amplitude range. AFG310x and AFG325x series only. Dual-channel model only. Ω Load Impedance. The output impedance of the AFG3000 series is 50 . If you con- Ω nect a load other than 50 , the displayed Amplitude, Offset, and High/Low values are different from the output voltage.
(See the Utility Menu on page E-23.) The Lock/Unlock menu allows you to lock the file against accidental overwrite. When a memory location is locked, a lock icon appears on the screen. E-13 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
USB memory, to Edit Memory. Once Read is executed, the edit waveform is overwritten. (blank) Change Directory Opens a directory. This menu item is available when USB is selected. Cancel -more- (1/3) E-14 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
Page 205
Creates a new directory. This menu item is available when USB is selected. -more- (2/2) -more- (2/3) Zoom Fit Adjusts the graph scale and display the complete waveform cycle. (blank) (blank) (blank) -more- (3/3) E-15 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
New. Pushing the New bezel button will display a standard waveform selection submenu. You can select a standard waveform from five waveform types (Sine, Square, Pulse, Ramp, and Noise). For example, selecting Sine will write a sine E-16 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
Use to change the specified data point in the waveform currently being edited. (blank) (blank) Execute From X1 Use to delete an area between specified points in the waveform currently being edited. (blank) To X2 (blank) Execute (blank) (blank) E-17 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
When you select Operations > Cut, two cursors are displayed like Line edit. The edit operation is applied to the portion between the two cursors. E-18 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
For example, you specify a data point X and then push Execute, the instrument will automatically move from point X to X + 1 in anticipation of your next input. E-19 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
Read from... Push the front-panel Edit button and then push the Read from... > Memory bezel menu to load a waveform file from the internal memory or a USB memory into Edit Memory. E-20 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
Waveform stored in internal or USB memory 1000 1000 Stored waveform is pasted at the front of the waveform being edited. Waveform after executing Paste at Beginning 2000 1000 Figure E-8: Paste at Beginning E-21 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
Edit Memory must be saved into the user waveform memory or a USB memory. For more information on saving a user-defined waveform file, refer to Saving a Waveform File on page E-31. E-22 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
The main -more- (1 of 2) display area (see page 1-11) is not translated. Korean Simplified Chinese Traditional Chinese Russian -more- (2 of 2) E-23 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
Page 214
Select Setup to list the CH1 and CH2 waveform parameter configuration. Misc. Select Misc. to list the instrument network configuration and user preferences. (blank) Page Up Returns to previous page. Page Down Moves to next page. -more- (1 of 3) E-24 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
Page 215
If your network supports DHCP (Dynamic Host Configuration Protocol), select the DHCP On so that the instrument can automatically set its network address through DHCP. These menus are available only when a USB memory is inserted correctly to the instrument. E-25 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
Page 216
5. Push the -more- bezel button of the slave unit, and select External as (trigger) Source. To synchronize multiple instruments, you must stop running output signals once before triggering using the Burst mode. E-26 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
Page 217
USB memory with a single button push. Pushing the Backup Internal -> USB Memory button will copy the internal memory contents to a USB memory. The Restore function is provided for copying the contents of USB memory to the internal memory. E-27 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
Page 218
Firmware Update. You can use the Utility menu to update your arbitrary/function generator instrument firmware. If Tektronix offers a newer version of firmware, download the firmware file to your USB memory from the Tektronix Web site. 1. Go to www.tektronix.com.
Page 219
5. Select OK to activate the new password. To activate or deactivate the access protection, you must enter the NOTE. password you set. If you forget the password, you must return the instrument to Tektronix to reset the password. E-29 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
The currently selected item is highlighted. You can open a directory by selecting that row and then pushing the Change Directory bezel button. To open a file, select that row and then push OK. E-30 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
Page 221
Lock/Unlock bezel button. If the lock icon disappears, it indicates that the file is unlocked. To delete a file or directory, select a file or directory and then push the Erase bezel button. E-31 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
File names are displayed only in English characters regardless of current NOTE. instrument language selection. If you use non-English characters to name a file, these characters are replaced by Roman symbols such as #, $,% on the display screen. E-32 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
3. Use the general purpose knob to scroll a file or directory. Select Save to overwrite the existing file. Select Save As to display the submenu to enter a file name. (USB only) Select Make Directory to create a new directory. (USB only) E-33 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
Save As or Write to, the date and time information is not displayed. If a file is created by other tools such as ArbExpress software, the date and time information is displayed on the arbitrary/function generator screen. E-34 AFG3000 Series Arbitrary/Function Generators Programmer Manual www.valuetronics.com...
Need help?
Do you have a question about the AFG3000 Series and is the answer not in the manual?
Questions and answers