Page 5
Warranty Tektronix warrants that the product will be free from defects in materials and workmanship for a period of three (3) years from the date of original purchase from an authorized Tektronix distributor. If the product proves defective during this warranty period, Tektronix, at its option, either will repair the defective product without charge for parts and labor, or will provide a replacement in exchange for the defective product.
Connecting the Interface The AFG1000 Series has a USB (type B) connector on the rear panel, as shown in the following figure. This connector conforms to USB-TMC. Attach a USB cable to this connector.
NOTE: The details on TekVISA concepts and operations are explained in the TekVISA Programmer Manual that can be also found on the Tektronix Web site. Where to find more information The following table lists related documentation available for your instrument.
Messages A command message is a command or query name, followed by any information the instrument needs to execute the command or query. Command messages consist of five element types. AFG1000 Series Arbitrary Function Generator Programmer Manual...
Page 13
These branch queries return information about all the mnemonics below the specified branch or level. Query Responses When a query is sent to the instrument, only the values are returned. When the returned value is a mnemonic, it is noted in abbreviated format. AFG1000 Series Arbitrary Function Generator Programmer Manual...
Parameter Types Every parameter in the command and query descriptions is of a specified type. (See Table 3.) The parameters are enclosed in brackets, such as <value>. AFG1000 Series Arbitrary Function Generator Programmer Manual...
Page 15
ASCII 127-255 are defined as special characters. These characters are used in arbitrary block arguments only; using these characters in other parts of any command yields unpredictable results. AFG1000 Series Arbitrary Function Generator Programmer Manual...
Page 16
<NR3>. (SI units are units that conform to the Systeme International d'Unites standard.) For example, 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. AFG1000 Series Arbitrary Function Generator Programmer Manual...
Page 17
100mhz SOURCE1:frequency 10MHZ NOTE: Literal strings (quoted) are case sensitive, for example, file names. No embedded spaces are allowed between or within nodes. correct SOURCE1:FREQUENCY 10MHZ incorrect SOURCE1: FREQUENCY 10MHZ AFG1000 Series Arbitrary Function Generator Programmer Manual...
All of the common commands and queries are listed in the last part of the Syntax and Commands section. The following are examples of common commands: *CLS The following are examples of common queries *IDN? AFG1000 Series Arbitrary Function Generator Programmer Manual...
Output Commands Output commands let you set output attributes. The following table lists and describes the Output commands. Table 7: Output commands Command Description OUTPut[1|2]:IMPedance Set/query impedance OUTPut[1|2][:STATe] Set/query output on or off AFG1000 Series Arbitrary Function Generator Programmer Manual...
Page 21
System commands let you control miscellaneous instrument functions. The following table lists and describes the System commands. Table 10: System commands Command Description *IDN? Return identification information Return option information *OPT? Reset *RST Return error event queue SYSTem:ERRor[:NEXT]? AFG1000 Series Arbitrary Function Generator Programmer Manual...
Page 22
Description *TRG Force trigger event AFG Control AFG Control command copies setups between two channels. Table 14: AFG Control command Command Description AFGControl:CSCopy Copy CH1 (or CH2) setup parameters to CH2 (or CH1) AFG1000 Series Arbitrary Function Generator Programmer Manual...
CH1 setup parameters into CH2. *CLS (No Query Form) This command clears all the event registers and queues, which are used in the instrument status and event reporting system. Group Status AFG1000 Series Arbitrary Function Generator Programmer Manual...
<Model>::={AFG1022| AFG1062} <Serial Number> <Firmware Level>::=SCPI:99.0 FV:2.0.0 Examples *IDN? might return the following response: TEKTRONIX,AFG1062,1331030,SCPI:99.0 FV:2.0.0 MMEMory:CATalog? (Query Only) This query-only command returns the current state of the mass storage system (USB memory). AFG1000 Series Arbitrary Function Generator Programmer Manual...
MMEMory:CATalog? 32751616,27970560,"Case,DIR,0","PWS400~1,DIR,0",”SAMPLE1.tfw, ,5412”,”Test.zip,,1735” MMEMory:CDIRectory This command changes the current working directory in the mass storage system. Group Mass Memory Syntax MMEMory:CDIRectory [<directory_name>] MMEMory:CDIRectory? Arguments <directory_name>::=<string> indicates the current working directory for the AFG1000 Series Arbitrary Function Generator Programmer Manual...
Examples MMEMory:DELete ”/AFG/WORK0/TEK001.tfw” deletes the specified file from the /AFG/WORK directory. *OPT? (Query Only) This query-only command returns a list of the options installed in your instrument. Group System Syntax *OPT? Arguments None AFG1000 Series Arbitrary Function Generator Programmer Manual...
MAXimum sets the load impedance to 10 kΩ. Returns <ohms>::=<NR3> Examples OUTPut1:IMPedance MAXimum sets the CH 1 load impedance to 10 kΩ. OUTPut[1|2][:STATe] This command sets or query the instrument output state for the specified channel. AFG1000 Series Arbitrary Function Generator Programmer Manual...
Related Commands *SAV Arguments 0, 1, 2, … 30, or 31 specifies the location of setup memory. Examples *RCL 3 restores the instrument from a copy of the settings stored in memory location 3. AFG1000 Series Arbitrary Function Generator Programmer Manual...
Syntax *SAV {0|1|2|…|30|31} Related Commands *RCL Arguments 0, 1, 2, … 30, or 31 specifies the location of setup memory. Examples *SAV 2 saves the current instrument state in the memory location 2. AFG1000 Series Arbitrary Function Generator Programmer Manual...
Set the internal modulation frequency from 2 mHz to 20.00 kHz with resolution of 1 mHz. Conditions For the AFG1022, use . Modulation, sweep, and burst conditions do [SOURce1] not apply to CH2 for the AFG1022. AFG1000 Series Arbitrary Function Generator Programmer Manual...
Conditions For the AFG1022, use . Modulation, sweep, and burst conditions do [SOURce1] not apply to CH2 for the AFG1022. Group Source Syntax [SOURce[1|2]]:AM:INTernal:FUNCtion {SINusoid|SQUare|RAMP|PRNoise |USER<NR1>|EMEMory|EFILe} [SOURce[1|2]]:AM:INTernal:FUNCtion? Related Commands SOURce[1|2]]:AM:SOURce AFG1000 Series Arbitrary Function Generator Programmer Manual...
<file_name>::=<string> specifies a file name in the mass storage system. The <file_name> includes path. Path separators are forward slashes (/). Returns <file_name> Examples SOURce1:AM:INTernal:FUNCtion:EFILe “SAMPLE1” sets a file named “SAMPLE1” in the mass storage. AFG1000 Series Arbitrary Function Generator Programmer Manual...
AM modulation. Conditions For the AFG1022, use . Modulation, sweep, and burst conditions do [SOURce1] not apply to CH2 for the AFG1022. Group Source Syntax [SOURce[1|2]]:AM:STATe {ON|OFF|<NR1>} [SOURce[1|2]]:AM:STATe? AFG1000 Series Arbitrary Function Generator Programmer Manual...
Amplitude resolution 1 mVp-p or four digits Conditions AFG1062 only Group Source Syntax [SOURce[1|2]]:ASKey[:AMPLitude] {<amplitude>|MINimum|MAXimum} [SOURce[1|2]]:ASKey[:AMPLitude] [MINimum|MAXimum] Arguments <amplitude>::=<NRf>[<units>] where: <NRf> is the modulation amplitude. <units>::=[Vpp] MINimum sets the modulation amplitude to minimum value. AFG1000 Series Arbitrary Function Generator Programmer Manual...
This command enables or disables ASK modulation. The query returns the state of ASK modulation. Select a sine, square, ramp, or arbitrary waveform as the carrier waveform. Conditions AFG1062 only Group Source Syntax [SOURce[1|2]]:ASKey:STATe {ON|OFF|<NR1>} [SOURce[1|2]]:ASKey:STATe? Arguments ON or <NR1>≠0 enables ASK modulation. AFG1000 Series Arbitrary Function Generator Programmer Manual...
This command sets or queries the number of cycles (burst count) to be output in burst mode for the specified channel. The query returns 9.9E+37 if the burst count is set to INFinity. Conditions For the AFG1022, use . Modulation, sweep, and burst conditions do [SOURce1] AFG1000 Series Arbitrary Function Generator Programmer Manual...
CH2 for the AFG1022. Group Source Syntax [SOURce[1|2]]:BURSt:SOURce [TIMer|MANual|EXTernal] [SOURce[1|2]]:BURSt:SOURce? Arguments specifies an internal clock as the trigger source. TIMer specifies a manual trigger input as the trigger source. MANual AFG1000 Series Arbitrary Function Generator Programmer Manual...
This command sets or queries the peak frequency deviation of FM modulation for the specified channel. The setting range of frequency deviation depends on the waveform selected as the carrier. For more information, refer to the AFG1000 Series Specifications and Performance Verification Technical Reference. AFG1000 Series Arbitrary Function Generator Programmer Manual...
Set the internal modulation frequency from 2 mHz to 20.00 kHz with resolution of 1 mHz. Conditions For the AFG1022, use . Modulation, sweep, and burst conditions do [SOURce1] not apply to CH2 for the AFG1022. Group Source Syntax [SOURce[1|2]]:FM:INTernal:FREQuency {<frequency>|MINimum|MAXimum} [SOURce[1|2]]:FM:INTernal:FREQuency ? [MINimum|MAXimum] AFG1000 Series Arbitrary Function Generator Programmer Manual...
For the AFG1062, <NR1> can be any number from 0 to 31. A user defined waveform saved in the user waveform memory or the EMEMory can be selected as a modulating signal. EFILe AFG1000 Series Arbitrary Function Generator Programmer Manual...
This command sets or queries the source of modulating signal of FM modulation for the specified channel. Conditions For the AFG1022, use . Modulation, sweep, and burst conditions do [SOURce1] not apply to CH2 for the AFG1022. AFG1000 Series Arbitrary Function Generator Programmer Manual...
CH2 for the AFG1022. 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. AFG1000 Series Arbitrary Function Generator Programmer Manual...
[SOURce[1|2]]:FREQuency:CONCurrent (or period) of the channel specified by the header suffix to another channel. If you specify CH 1 with the header, the CH 1 frequency will be copied to CH 2. AFG1000 Series Arbitrary Function Generator Programmer Manual...
If you change the type of output waveform, it might change the output frequency because changing waveform types impacts on the setting range of output frequency. The resolution is 1 μHz or 12 digits. For more information, refer to the AFG1000 Series Specifications and Performance Verification Technical Reference. Group...
Arguments CW|FIXed means that the frequency is controlled by the [SOURce[1|2]]:FREQuency[:CW|:FIXed] command. The sweep is invalid. SWEep means that the output frequency is controlled by the sweep command set. The sweep is valid. AFG1000 Series Arbitrary Function Generator Programmer Manual...
{MINimum|MAXimum} Related Commands [SOURce[1|2]]:FREQuency:CENTer, [SOURce[1|2]]:FREQuency:MODE 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. AFG1000 Series Arbitrary Function Generator Programmer Manual...
This command is always used with the [SOURce[1|2]]:FREQuency:STOP command. The setting range of start frequency depends on the waveform selected for sweep. For more information, refer to the AFG1000 Series Specifications and Performance Verification Technical Reference. Conditions For the AFG1022, use .
This command sets or queries the hop frequency of FSK modulation for the specified channel. Conditions For the AFG1022, use . Modulation, sweep, and burst conditions do [SOURce1] not apply to CH2 for the AFG1022. Group Source Syntax [SOURce[1|2]]:FSKey[:FREQuency] {<frequency>|MINimum|MAXimum} [SOURce[1|2]]:FSKey[:FREQuency] ? {MINimum|MAXimum} AFG1000 Series Arbitrary Function Generator Programmer Manual...
[SOURce1] not apply to CH2 for the AFG1022. Group Source Syntax [SOURce[1|2]]:FSKey:INTernal:RATE {<rate>|MINimum|MAXimum} [SOURce[1|2]]:FSKey:INTernal:RATE {MINimum|MAXimum} Arguments <rate>::=<NRf>[<units>] where: <NRf> is the modulation rate. <units>::=[Hz | kHz | MHz] <rate> Returns Examples SOURce1:FSKey:INTernal:RATE 50Hz AFG1000 Series Arbitrary Function Generator Programmer Manual...
FSK modulation. Select a sine, square, ramp, or arbitrary waveform as the carrier waveform. Conditions For the AFG1022, use . Modulation, sweep, and burst conditions do [SOURce1] not apply to CH2 for the AFG1022. Group Source Syntax [SOURce[1|2]]:FSKey:STATe {ON|OFF|<NR1>} AFG1000 Series Arbitrary Function Generator Programmer Manual...
“SAMPLE1” in the mass storage. [SOURce[1|2]]:FUNCtion[:SHAPe] This command sets or queries the shape of the output waveform. When the specified user memory is deleted, this command causes an error if you select the user memory. AFG1000 Series Arbitrary Function Generator Programmer Manual...
RAD. The query returns the value in RAD. This command is supported when you select a waveform other than DC and Noise. Group Source Syntax [SOURce[1|2]]:PHASe[:ADJust] {<phase>|MINimum|MAXimum} [SOURce[1|2]]:PHASe[:ADJust] ? {MINimum|MAXimum} Arguments <phase>::=<NR3>[<units>] AFG1000 Series Arbitrary Function Generator Programmer Manual...
This command sets or queries the peak frequency deviation of PM modulation for the specified channel. Conditions For the AFG1022, use . Modulation, sweep, and burst conditions do [SOURce1] not apply to CH2 for the AFG1022. AFG1000 Series Arbitrary Function Generator Programmer Manual...
Set the internal modulation frequency from 2 mHz to 20.00 kHz with resolution of 1 mHz. Conditions For the AFG1022, use . Modulation, sweep, and burst conditions do [SOURce1] not apply to CH2 for the AFG1022. Group Source Syntax [SOURce[1|2]]:PM:INTernal:FREQuency {<frequency>|MINimum|MAXimum} [SOURce[1|2]]:PM:INTernal:FREQuency ? [MINimum|MAXimum] AFG1000 Series Arbitrary Function Generator Programmer Manual...
For the AFG1062, <NR1> can be any number from 0 to 31. A user defined waveform saved in the user waveform memory or the EMEMory can be selected as a modulating signal. EFILe AFG1000 Series Arbitrary Function Generator Programmer Manual...
This command sets or queries the source of modulation signal of PM modulation for the specified channel. Conditions For the AFG1022, use . Modulation, sweep, and burst conditions do [SOURce1] not apply to CH2 for the AFG1022. AFG1000 Series Arbitrary Function Generator Programmer Manual...
. Modulation, sweep, and burst conditions do [SOURce1] not apply to CH2 for the AFG1022. 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 AFG1000 Series Arbitrary Function Generator Programmer Manual...
CH 1 phase deviation. [SOURce[1|2]]:PSKey:INTernal:RATE This command sets or queries the internal modulation rate of PSK modulation for the specified channel. Use this command when the internal modulation source is selected. AFG1000 Series Arbitrary Function Generator Programmer Manual...
Group Source Syntax [SOURce[1|2]]:PSKey:SOURce [INTernal|EXTernal] [SOURce[1|2]]:PSKey:SOURce? Arguments 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 AFG1000 Series Arbitrary Function Generator Programmer Manual...
0.1% to 99.9% in increments of 0.1. For frequencies greater than 1 MHz, the duty cycle is fixed at 50%. The instrument will hold the settings of leading edge and trailing edge when the duty cycle is varied. AFG1000 Series Arbitrary Function Generator Programmer Manual...
Set the internal modulation frequency from 2 mHz to 20.00 kHz with resolution of 1 mHz. Select the source of modulating signal by using the [SOURce[1|2]]:PWM:SOURce [INTernal|EXTernal] command. Conditions AFG1062 only Group Source Syntax [SOURce[1|2]]:PWM:INTernal:FREQuency {<frequency>|MINimum|MAXimum} [SOURce[1|2]]:PWM:INTernal:FREQuency? Related Commands [SOURce[1|2]]:PWM:SOURce AFG1000 Series Arbitrary Function Generator Programmer Manual...
One of four types of function waveform can be selected as a modulating signal. USER<NR1>|EMEMory <NR1> specifies the user waveform memory location. For the AFG1022, <NR1> can be any number from 0 to 255. For the AFG1062, <NR1> can be any number from 0 to 31. AFG1000 Series Arbitrary Function Generator Programmer Manual...
<file_name> includes path. Path separators are forward slashes (/). Returns <file_name> Examples SOURce1:PWM:INTernal:FUNCtion:EFILe “SAMPLE1” creates a file named “SAMPLE1” in the mass storage. [SOURce[1|2]]:PWM:SOURce This command sets or queries the source of modulating signal of PWM modulation for the specified channel. AFG1000 Series Arbitrary Function Generator Programmer Manual...
PWM modulation. Select only pulse waveform as a carrier waveform for PWM. Conditions AFG1062 only 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> AFG1000 Series Arbitrary Function Generator Programmer Manual...
PWmin is the minimum pulse width. Conditions AFG1062 only Group Source Syntax [SOURce[1|2]]:PWM[:DEViation]:DCYCle {<percent>|MINimum|MAXimum} [SOURce[1|2]]:PWM[:DEViation]:DCYCle? Arguments <percent>::=<NR2>[<units>] where: <NR2> is the PWM deviation. <units>::=PCT Returns <percent> Examples SOURce1:PWM[:DEViation]:DCYCle sets the CH 1 PWM deviation to 5.0%. AFG1000 Series Arbitrary Function Generator Programmer Manual...
The query returns the type for the sweep spacing for the specified channel. Conditions For the AFG1022, use . Modulation, sweep, and burst conditions do [SOURce1] not apply to CH2 for the AFG1022. Group Source Syntax [SOURce[1|2]]:SWEep:SPACing {LINear|LOGarithmic} [SOURce[1|2]]:SWEep:SPACing? AFG1000 Series Arbitrary Function Generator Programmer Manual...
{<seconds>|MINimum|MAXimum} [SOURce[1|2]]:SWEep:TIME? 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. AFG1000 Series Arbitrary Function Generator Programmer Manual...
This command sets or queries the output amplitude for the specified channel. Units Amplitude resolution 1 mVp-p or four digits Set the units of output amplitude by using the bezel menu selection. Group Source Syntax [SOURce[1|2]]:VOLTage[:LEVel][:IMMediate][:AMPLitude] {<amplitude>|MINimum|MAXimum} [SOURce[1|2]]:VOLTage[:LEVel][:IMMediate][:AMPLitude] AFG1000 Series Arbitrary Function Generator Programmer Manual...
<Error/event description>::=<string> Examples SYSTEM:ERROR:NEXT? might return the following response: -201,"Invalid while in local" If the instrument detects an error or an event occurs, the event number and event message will be returned. AFG1000 Series Arbitrary Function Generator Programmer Manual...
For the AFG1022, <NR1> can be any number from 0 to 255. For the AFG1062, <NR1> can be any number from 0 to 31. Examples DATA:COPY USER0,EMEMory copies the waveform data in the edit memory to the user waveform memory AFG1000 Series Arbitrary Function Generator Programmer Manual...
2000 bytes of binary data are to be transmitted. TRACe|DATA[:DATA]:VALue This command sets or queries the data value at the specified point in the edit memory. Group Trace Syntax TRACe|DATA[:DATA]:VALue EMEMory,<point>,<data> TRACe|DATA[:DATA]:VALue? EMEMory,<point> AFG1000 Series Arbitrary Function Generator Programmer Manual...
<NR1> sets the number of points for the waveform created in the edit memory. For the AFG1022, <NR1> can be any number from 2 to 8192. For the AFG1062, <NR1> can be any number from 2 to 1048576. Returns <NR1> AFG1000 Series Arbitrary Function Generator Programmer Manual...
OPC message are complete. Group Synchronization 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. AFG1000 Series Arbitrary Function Generator Programmer Manual...
The event queue is an FIFO queue, which stores events as they occur in the instrument. The event queue can store up to 64 events. The oldest error code and text are retrieved by using the following command: SYSTem:ERRor[:NEXT]? AFG1000 Series Arbitrary Function Generator Programmer Manual...
Need help?
Do you have a question about the AFG1000 Series and is the answer not in the manual?
Questions and answers