Page 1
Programmer Manual AWG710 4GS/s Arbitrary Waveform Generator 070-A829-50 This document applies to firmware version 3.0 and above. www.tektronix.com...
Page 3
Tektronix, with shipping charges prepaid. 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.
Preface This is the programmer manual for the AWG710 Arbitrary Waveform Genera- tors. This manual provides information necessary for operating the instrument over both the General Purpose Interface Bus (GPIB) and Ethernet interfaces. This manual provides the following information: H The Getting Started section describes how to connect and set up the waveform generator for remote operation.
Getting Started The AWG710 Arbitrary Waveform Generator has GPIB and 10Base–T/100Base– TX Ethernet interface capability. You can write computer programs that remotely set the front panel controls or that transfer waveform data. To help you get started with programming the waveform generator, this section includes the following subsections: H Manual Overview –...
Figure 1–3 on page 1–3 illustrates the basic operation of this system. The Status and Events Reporting subsection, which begins on page 3–1, describes how to use the status reporting functions that conform to SCPI and IEEE–488.2 in your programs. AWG710 Arbitrary Waveform Generator Programmer Manual...
A floppy disk (see Figure 1–4) is supplied with this manual. The disk contains a Microsoft Visual C++ and Visual BASIC source-code version of each program. AWG Example Programs Figure 1-4: The floppy disk AWG710 Arbitrary Waveform Generator Programmer Manual...
The waveform generator has a 24-pin GPIB connector on its rear panel, as shown in Figure 1–5. This connector has a D-type shell and conforms to IEEE Std 488.1-1987. Attach an IEEE Std 488.1-1987 GPIB cable (Tektronix Part Number 012-0991-XX) to the GPIB connector. GPIB connector...
Getting Started Stack GPIB connectors, if needed, as shown in Figure 1–6. Figure 1-6: How to stack GPIB connectors AWG710 Arbitrary Waveform Generator Programmer Manual...
4. Move the cursor to the GPIB Configuration field using the up/down (↑/↓) arrow buttons, then select Talk/Listen using either the general purpose knob or the left/right (←/→) arrow buttons. See Figure 1–8 on page 1–7. AWG710 Arbitrary Waveform Generator Programmer Manual...
The waveform generator is set up for bidirectional communication with your controller. Do the following to isolate the waveform generator from the bus: Select Off Bus in the GPIB Configuration field. This selection disables all communication with the controller. AWG710 Arbitrary Waveform Generator Programmer Manual...
NOTE. For remote operations, the instrument must be connected to the controller. The waveform generator has an Ethernet (10Base–T/100Base–Tx) port on the rear panel as shown in Figures 1–9. Attach an Ethernet cable to the Ethernet port. Ethernet port Figure 1-9: Ethernet port location AWG710 Arbitrary Waveform Generator Programmer Manual...
Page 25
Enabled using the left/right (←/→) arrow buttons. AWG710 sends an acquisition request, then the server sends the address. The address is displayed in the IP Address field. 5. If necessary, use the Destination Network and Gateway Address fields to set the destination network and the address.
"no response from...". 5. Repeat steps 2 and 3 to verify the connection for other remote computers on the network. Figure 1-11: Message box to indicate the establishment of communication 1-11 AWG710 Arbitrary Waveform Generator Programmer Manual...
Table 2-1: BNF symbols and meanings 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 AWG710 Arbitrary Waveform Generator Programmer Manual...
Figure 2-1: 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 measurement data and information about parameter settings. AWG710 Arbitrary Waveform Generator Programmer Manual...
Table 2–2. Table 2-2: Query response examples Query Response SOURce:VOLTage:AMPLitude? 1.000 AWGControl:RMODe? CONT A few queries also initiate an operation action before returning information. For example, the *CAL? query runs a calibration. AWG710 Arbitrary Waveform Generator Programmer Manual...
Table 2–3. The parameter type is listed after the parameter. Some parameter types are defined specifically for the AWG710 command set and some are defined by SCPI. Table 2-3: Parameter types used in syntax descriptions...
Figure 2-2: Example of abbreviating a command NOTE. The numeric suffix of a command or query may be included in either the long form or short form; the AWG710 will default to “1” if no suffix is used. AWG710 Arbitrary Waveform Generator Programmer Manual...
:TRIG:SEQ:LEV 2.5;:TRIG:SEQ:SLOP POS;:TRIG:SEQ:SOUR EXT Identical root and lower level nodes :TRIG:SEQ:LEV 2.5;SLOP POS;SOUR EXT First command Additional commands (omitted the root nodes) Figure 2-4: Example of omitting root and lower level nodes in a chained message AWG710 Arbitrary Waveform Generator Programmer Manual...
Page 37
10 when it denotes frequency. Note that the prefix u/U is used instead of "m". Use mV for V, and MHz for Hz. AWG710 Arbitrary Waveform Generator Programmer Manual...
Page 38
200MHz OUTPUT:filter:LPASS:frequency 200MHz NOTE. Literal strings (quoted) are case sensitive. For example: file names. H No embedded spaces are allowed between or within nodes. OUTPUT:FILTER:LPASS:FREQUENCY 200MHZ correct: OUTPUT: FILTER: LPASS:FREQUENCY 200MHZ incorrect: AWG710 Arbitrary Waveform Generator Programmer Manual...
All of the common commands and queries are included in the Syntax and Commands section of this manual. The following are examples of common commands: H *ESE 16 H *CLS The following are examples of common queries: H *ESR? H *IDN? AWG710 Arbitrary Waveform Generator Programmer Manual...
CH1 analog signal output Direct D/A Output These commands specify the direct D/A converter output to use as a mnemonic Mnemonics in the header. (Except option02) Symbol Meaning DOUTput1 Direct output from CH1 D/A converter 2-10 AWG710 Arbitrary Waveform Generator Programmer Manual...
Page 41
RDEVice2 Network drive 2 RDEVice3 Network drive 3 Source to Output The following illustrations shows the source to output connections for the Connections AWG710 instruments. AWG710 OUTPut1 Channel1 SOURce1 Waveform Dout1 (Except option02) 2-11 AWG710 Arbitrary Waveform Generator Programmer Manual...
NOTE. The unit and SI prefix that can be added to decimal numeric arguments are not described in the syntax diagram. See Unit and SI Prefix on page 2–7. Diagram 1 Diagram 2 Diagram 3 Figure 2-5: Typical syntax diagrams 2-12 AWG710 Arbitrary Waveform Generator Programmer Manual...
The GPIB interface conforms to SCPI (Standard Commands for Programmable Instruments) 1999.0 and IEEE Std 488.2–1987, except where noted. Functional Groups Table 2–4 lists the functional groups into which the AWG710 Arbitrary Waveform Generator (AWG) commands are classified. Table 2-4: Functional groups in the AWG command set...
The next page lists all the commands in each functional group and can be copied for use as a quick reference. The minimum accepted character string for each command is shown in uppercase characters. 2-14 AWG710 Arbitrary Waveform Generator Programmer Manual...
Select the run mode, such as triggered or gated AWGControl:RSTate? Query the current running status AWGControl:RUN[:IMMediate] Enable the output AWGControl:SREStore Restore the settings from the specified file AWGControl:SSAVe Store the settings to the specified file AWGControl:STOP[:IMMediate] Stop the output 2-16 AWG710 Arbitrary Waveform Generator Programmer Manual...
Table 2-8: Display commands Header Description ABSTouch Perform the function corresponding to the front panel control selected DISPlay:ENABle (?) Control ON/OFF of the display DISPlay:HILight:COLor (?) Control hilight of the display 2-17 AWG710 Arbitrary Waveform Generator Programmer Manual...
Header Description HCOPy:DESTination Set the destination HCOPy:DEVice:COLor (?) Select the color, or monochrome HCOPy:DEVice:LANGuage (?) Select the data format HCOPy[:IMMediate] Initiate the plot, or print immediately HCOPy:SDUMp[:IMMediate] Plot or print the whole display 2-18 AWG710 Arbitrary Waveform Generator Programmer Manual...
The Mass Memory commands provide mass storage capabilities. Selecting Mass Memory Devices. The waveform generator supports the devices listed below. The network drives can be specified with the SYSTem command group. Table 2-10: Mass storage in AWG710 String argument Description MAIN...
[:LEVEL][:IMMediate]:LOW (?) [SOURce[1]]:ROSCillator Select the reference oscillator source :SOURce (?) [SOURce[1]]:VOLTage[:LEVel] Set the actual magnitude of the output signal [:Immediate][:AMPLitude] (?) [SOURce[1]]:VOLTage[:LEVel] Set the offset that is added to the output signal [:Immediate]:OFFSet (?) 2-20 AWG710 Arbitrary Waveform Generator Programmer Manual...
Commands communications from interfering with waveform generator operation. Table 2-15: Synchronization commands Header Description *OPC (?) Generate or return the operation complete message *WAI Hold off all commands until all pending operations complete 2-21 AWG710 Arbitrary Waveform Generator Programmer Manual...
Set IP address of the waveform generator [:SELF]:ADDRess (?) SYSTem:COMMunicate:LAN Query the MAC address of the waveform generator [:SELF]:MADDress? SYSTem:COMMunicate:LAN Set the subnet mask of the waveform generator [:SELF]:SMASk (?) SYSTem:DATE (?) Set the internal calender 2-22 AWG710 Arbitrary Waveform Generator Programmer Manual...
Page 53
Lock the front panel and keyboard SYSTem:SECurity:IMMediate Destroy all data and settings for security SYSTem:TIME (?) Set the internal clock SYSTem:UPTime? Query elapsed time from the power on SYSTem:VERSion? Query the SCPI version number 2-23 AWG710 Arbitrary Waveform Generator Programmer Manual...
Select the polarity of the trigger signal TRIGger[:SEQuence]:SLOPe (?) Select the slope of the trigger signal TRIGger[:SEQuence]:SOURce (?) Select the source for the event detector TRIGger[:SEQuence]:TIMer (?) Set the period of the internal clock 2-24 AWG710 Arbitrary Waveform Generator Programmer Manual...
This command is equivalent to depressing the FORCE TRIGGER button on the front panel in the gated mode. Group Trigger Related Commands TRIGger[:SEQuence][:IMMediate], *TRG Syntax ABORt ABORt Arguments None Examples ABORt resets the trigger system. 2-25 AWG710 Arbitrary Waveform Generator Programmer Manual...
If you specify a negative value in this argument, the knob rotates counterclockwise. When the argument is not specified, 1 is set. Figure 2–6 shows ABSTouch arguments corresponding to the associated controls. 2-26 AWG710 Arbitrary Waveform Generator Programmer Manual...
QKEDit HSHift POINt SSCale HMENu OUTPut[1] IOUTput[1] Figure 2-6: ABSTouch arguments and Front panel Examples ABSTOUCH SETUP displays the setup menu that is displayed by pressing the SETUP button on the front panel. 2-27 AWG710 Arbitrary Waveform Generator Programmer Manual...
OFF or <NR1>+0 provides the D/A converter output normally. ON or <NR1>00 provides raw output of the D/A converter. At *RST, this value is set to 0. Examples AWGControl:DOUTput1:STATe ON supplies the D/A converter output directly to CH 1. 2-28 AWG710 Arbitrary Waveform Generator Programmer Manual...
This command generates a trigger event for the “logic jump” specified in the sequence file. This has the same effect as pressing the FORCE EVENT button on the front panel. Group AWG Control Related Commands AWGControl:RUN[:IMMediate], *TRG Syntax AWGControl:EVENt[:LOGic][:IMMediate] 2-29 AWG710 Arbitrary Waveform Generator Programmer Manual...
Group AWG Control Related Commands None Syntax AWGControl:EVENt:SOFTware[:IMMediate] <line> AWGControl EVENt SOFTware IMMediate <line> <space> Arguments <line>::=<NR1> is the line number to be jumped to in the sequence file. 2-30 AWG710 Arbitrary Waveform Generator Programmer Manual...
This command adjusts the frequency of the function waveform. This query returns the frequency currently set. CW (Continuous Wave) and FIXed are aliases, and have the same effect. Group AWG Control Syntax AWGControl:FG:FREQuency[:CW|:FIXed] <NRf> AWGControl:FG:FREQuency[:CW|:FIXed]? 2-31 AWG710 Arbitrary Waveform Generator Programmer Manual...
POSitive <space> NEGative POLarity Arguments POSitive sets waveform to positive polarity. NEGative sets waveform to negative polarity. At *RST, this value is set to POSitive. Examples AWGControl:FG1:POLarity POSitive sets the polarity to positive. 2-33 AWG710 Arbitrary Waveform Generator Programmer Manual...
20.01MHz to 40.00MHz 40.01MHz to 80.00MHz 80.01MHz to 100.0MHz 100.1MHz to 160.0MHz 160.1MHz to 200.0MHz 200.1MHz to 400.0MHz At *RST, this value is set as 10.0. Examples AWGControl:FG1:PULSe:DCYCle 20 sets the duty cycle to 20%. 2-34 AWG710 Arbitrary Waveform Generator Programmer Manual...
AWGControl:FG ON sets the FG mode to ON. AWGControl:FG[1]:VOLTage[:LEVel][:IMMediate][:AMPLitude] (?) This command adjusts peak–to–peak voltage of the function waveform. This query returns peak–to–peak voltage currently set. Group AWG Control Syntax AWGControl:FG[1]:VOLTage[:LEVel][:IMMediate][:AMPLitude] <NRf> AWGControl:FG[1]:VOLTage[:LEVel][:IMMediate][:AMPLitude]? 2-35 AWG710 Arbitrary Waveform Generator Programmer Manual...
AWGControl:FG1:VOLTage 2.0 sets the amplitude to 2.000Vpp. AWGControl:FG[1]:VOLTage[:LEVel][:IMMediate]:OFFSet (?) (except option02) This command adjusts offset voltage of the function waveform. This query returns offset voltage currently set. Group AWG Control Syntax AWGControl:FG[1]:VOLTage[:LEVel][:IMMediate]:OFFSet <NRf> AWGControl:FG[1]:VOLTage[:LEVel][:IMMediate]:OFFSet? 2-36 AWG710 Arbitrary Waveform Generator Programmer Manual...
SAMPLE1.SEQ. AWGControl:RMODe? can return the following response: TRIG AWGControl:RSTate? (Query Only) This command returns the current running status. Group AWG Control Syntax AWGControl:RSTate? RSTate AWGControl Arguments None Returns <NR1> 2-38 AWG710 Arbitrary Waveform Generator Programmer Manual...
RUN button on the front panel. Group AWG Control Related Commands AWGControl:STOP[:IMMediate], *TRG Syntax AWGControl:RUN[:IMMediate] AWGControl IMMediate Arguments None Examples AWGControl:RUN[:IMMediate] initiates the output of a waveform or a sequence. 2-39 AWG710 Arbitrary Waveform Generator Programmer Manual...
SAMPLE1.SET on the floppy disk. AWGControl:SSAVe (No Query Form) This command stores the current settings to a specified file. Group AWG Control Related Commands AWGControl:SREStore, MMEMory:CDIRectory, MMEMory:MSIS Syntax AWGControl:SSAVe <file_name>[,<msus>] 2-40 AWG710 Arbitrary Waveform Generator Programmer Manual...
Group AWG Control Related Commands AWGControl:RUN[:IMMediate], *TRG Syntax AWGControl:STOP[:IMMediate] AWGControl STOP IMMediate Arguments None Examples AWGControl:STOP[:IMMediate] stops the output of a waveform. 2-41 AWG710 Arbitrary Waveform Generator Programmer Manual...
The CALibration[:ALL] command performs a full calibration of the waveform generator. The CALibration[:ALL]? query performs a full calibration and responds with a <NR1> indicating the success of the calibration. This query has the same function as the *CAL? query. 2-42 AWG710 Arbitrary Waveform Generator Programmer Manual...
*CLS (No Query Form) This command clears all the event registers and queues, used by the waveform generator status and event reporting system. For more details, refer to the, Status and Events section. Group Status 2-43 AWG710 Arbitrary Waveform Generator Programmer Manual...
This command returns the results of a self-test. Group Diagnostic Related Commands DIAGnostic[:IMMediate], DIAGnostic:SELect Syntax DIAGnostic:DATA? DIAGnostic DATA Arguments None Returns <NR1> Terminated without error. –330 Self-test failed. Examples DIAGnostic:DATA? might return 0. 2-44 AWG710 Arbitrary Waveform Generator Programmer Manual...
IMMediate DIAGnostic Arguments None Returns <NR1> Terminated without error. –330 Self-test failed. Examples DIAGnostic:SELect ALL;IMMediate? executes all of the self-test routines. After all self-test routines finish, the results of the self-tests are returned. 2-45 AWG710 Arbitrary Waveform Generator Programmer Manual...
Checks the reference oscillator unit SMEMory Checks the sequence memory SYSTem Checks the system unit, such as the system memory WMEMory Checks the waveform memory At *RST, this parameter is set to ALL. 2-46 AWG710 Arbitrary Waveform Generator Programmer Manual...
ON or <NR1>00 sets ON the display. At *RST, this value is set to OFF. Examples DISPlay:ENABle ON sets ON the display. DISPlay:HILight:COLor (?) This command controls the HILight color. Group Display Syntax DISPlay:HILight:COLor <NR1> DISPlay:HILight:COLor? 2-47 AWG710 Arbitrary Waveform Generator Programmer Manual...
The power-on default for ESER is 0 if *PSC is 1. If *PSC is 0, the ESER maintains its value through a power cycle. Examples *ESE 177 sets the ESER to 177 (binary 10110001), which sets the PON, CME, EXE and OPC bits. 2-48 AWG710 Arbitrary Waveform Generator Programmer Manual...
SCPI standard. The destination file on the mass memory device is specified by the MMEMory:NAME command. For more information about hardcopy, see Hardcopy Commands on page 2–18. Group Hardcopy Related Commands MMEMory:NAME Syntax HCOPy:DESTination <data_handle> 2-49 AWG710 Arbitrary Waveform Generator Programmer Manual...
OFF or <NR1>+0 sets the hardcopy color mode to OFF. ON or <NR1>00 sets the hardcopy color mode to ON. At *RST, this value is set to OFF. Examples HCOPy:DEVice:COLor ON sets the hardcopy color mode to ON. 2-50 AWG710 Arbitrary Waveform Generator Programmer Manual...
HCOPy setup parameters. For the waveform generator, this command is the same as HCOPy:SDUMp[:IMMediate]. For more information about hardcopy, see Hardcopy Commands on page 2–18. Group Hardcopy Related Commands HCOPy:DESTination, HCOPy:SDUMp[:IMMediate] Syntax HCOPy[:IMMediate] 2-51 AWG710 Arbitrary Waveform Generator Programmer Manual...
IMMediate Arguments None Examples MMEMory:NAME "SAMPLE1.BMP";:HCOPy:SDUMp:IMMediate prints the entire screen to the file SAMPLE1.BMP. *IDN? (Query Only) This command returns identification information for the waveform generator. Group System Syntax *IDN? *IDN Arguments None 2-52 AWG710 Arbitrary Waveform Generator Programmer Manual...
The first <NR1> is the total amount of storage currently used, in bytes. For the network drives, <NR1>+0. The second <NR1> is the total amount of storage available. For the network drives, <NR1>+0. <file_name>,<file_type>,<file_size>::=<string> where 2-53 AWG710 Arbitrary Waveform Generator Programmer Manual...
If you do not specify a parameter, the directory is set to the *RST value. At *RST, this parameter is set to the root. Examples MMEMory:CDIRectory "/AWG/WORK0" changes the default directory to /AWG/WORK0. 2-54 AWG710 Arbitrary Waveform Generator Programmer Manual...
MMEMory:DATA <file_name>,<data> MMEMory:DATA <file_name>? <space> <file_name> <data> MMEMory DATA Arguments <file_name>::=<string> specifies the file to be loaded with data. <data> is in 488.2 block format. Examples MMEMory:DATA "FILE1",#41024xxxxx... loads data into the file FILE1. 2-56 AWG710 Arbitrary Waveform Generator Programmer Manual...
HCOPy. This command is included only for compatibility with the SCPI standard, and may not be used (refer to Hardcopy Commands on page 2–18). Group Mass Memory Related Commands MMEMory:NAME Syntax MMEMory:FEED <data_handle> MMEMory:FEED? 2-57 AWG710 Arbitrary Waveform Generator Programmer Manual...
<msus> (mass storage unit specifier)::=<string> is the media containing the specified mass storage:{ "MAIN" | "FLOPpy" } where MAIN means the internal hard disk, and FLOPpy means the floppy disk. The media is initialized in DOS format. 2-58 AWG710 Arbitrary Waveform Generator Programmer Manual...
Internal hard disk drive FLOPpy Internal floppy disk drive NET1, NET2, or NET3 Network drive 1, 2, or 3 (specified with the SYSTem:COMMunicate:LAN commands) Examples MMEMory:MDIRectory "WAVEFORM","FLOPpy" makes the directory “WAVEFORM” on the floppy disk. 2-59 AWG710 Arbitrary Waveform Generator Programmer Manual...
FILE2.WFM on the floppy disk. MMEMory:MSIS (?) The “Mass Storage IS” command selects a default mass storage device that is used by all MMEMory commands except INITialize. Group Mass Memory Related Commands All MMEMory commands except INITialize. 2-60 AWG710 Arbitrary Waveform Generator Programmer Manual...
CLOSe commands. Group Mass Memory Related Commands MMEMory:CLOSe, MMEMory:OPEN Syntax MMEMory:NAME <file_name>[,<msus>] MMEMory:NAME? <msus> <space> <file_name> MMEMory NAME Arguments <file_name>::=<string> is the name of the file to be opened or closed. 2-61 AWG710 Arbitrary Waveform Generator Programmer Manual...
Group Mass Memory Related Commands MMEMory:CDIRectory, MMEMory:CLOSe, MMEMory:MSIS, MMEMory:NAME Syntax MMEMory:OPEN OPEN MMEMory Arguments None Examples MMEMory:NAME "SAMPLE1.WFM","NET1";OPEN opens the file SAMPLE1.WFM on the network drive 1. 2-62 AWG710 Arbitrary Waveform Generator Programmer Manual...
*OPC *OPC? *OPC Arguments None Returns <NR1>=1 when all pending operations are finished. *OPT? (Query Only) This command returns the implemented options of the waveform generator. Group System Syntax *OPT? *OPT Arguments None 2-63 AWG710 Arbitrary Waveform Generator Programmer Manual...
At *RST, this value is set to 9.9e37 (“through”). Examples OUTPut1:FILTer:LPASs:FREQuency 100e6 sets the cutoff frequency of the low pass filter for CH 1 to 100 MHz. At *RST, this value is set to 9.9e37 (“through”). 2-64 AWG710 Arbitrary Waveform Generator Programmer Manual...
This command controls whether the output terminal is open or closed. When the function is OFF, the terminal is at maximum isolation from the signal. Group Output Syntax OUTPut[1][:STATe] { ON | OFF | <NR1> } OUTPut[1][:STATe]? 2-65 AWG710 Arbitrary Waveform Generator Programmer Manual...
*ESE, *SRE, STATus:OPERation:ENABle, STATus:QUEStionable:ENABle Syntax *PSC <NR1> *PSC? <space> <NR1> *PSC Arguments <NR1>+0 sets the power-on status clear flag to false, disables the power-on clear, and allows the waveform generator to possibly assert SRQ after power-on. 2-66 AWG710 Arbitrary Waveform Generator Programmer Manual...
GPIB or IP address. Refer to Appendix E: Factory Initilization Settings. Group System Related Commands SYSTem:SECurity:IMMediate Syntax *RST *RST Arguments None Examples *RST resets the instrument. 2-67 AWG710 Arbitrary Waveform Generator Programmer Manual...
10 MHz. [SOURce[1]]:FUNCtion:USER (?) This command specifies a waveform or pattern file that you created as the output source. This command loads the file into the waveform generator’s RAM prior to output. Group Source 2-68 AWG710 Arbitrary Waveform Generator Programmer Manual...
SAMPLE1.WFM on the floppy disk as the CH 1 output source. [SOURce[1]]:MARKer[1|2]:VOLTage[:LEVel][:IMMediate]:HIGH (?) This command sets the high level for the marker output. Group Source Related Commands [SOURce[1]]:MARKer[1|2]:VOLTage[:LEVel][:IMMediate]:LOW Syntax [SOURce[1]]:MARKer[1|2]:VOLTage[:LEVel][:IMMediate]:HIGH <NRf> [SOURce[1]]:MARKer[1|2]:VOLTage[:LEVel][:IMMediate]:HIGH? 2-69 AWG710 Arbitrary Waveform Generator Programmer Manual...
VOLTage LEVel IMMediate <space> <NRf> Arguments <NRf> is the low level voltage of the marker output. Note that the high level must be larger than the low level. The range is as follows: 2-70 AWG710 Arbitrary Waveform Generator Programmer Manual...
EXTernal means the referenece frequency is derived from an external signal supplied through the Reference Clock Input connector. At *RST, this parameter is set to INTernal. Examples SOURce1:ROSCillator:SOURce EXTernal selects the external clock source. 2-71 AWG710 Arbitrary Waveform Generator Programmer Manual...
CH 1 waveform to 230 mV. [SOURce[1]]:VOLTage[:LEVel][:IMMediate]:OFFSet (?) (except option02) This command sets the non-time-varying component of the signal that is added to SOURce1 (CH 1). Group Source Related Commands [SOURce[1]]:VOLTage[:LEVel][:IMMediate][:AMPLitude] Syntax [SOURce[1]]:VOLTage[:LEVel][:IMMediate]:OFFSet <NRf> 2-72 AWG710 Arbitrary Waveform Generator Programmer Manual...
Using an out-of-range value causes an execution error. The power-on default for SRER is 0 if *PSC is 1. If *PSC is 0, the SRER maintains its value through a power cycle. 2-73 AWG710 Arbitrary Waveform Generator Programmer Manual...
<NR1> indicates that the content of the OCR in a decimal number. Examples STATus:OPERation:CONDition? might return 32, which indicates that the OCR contains the binary number 00000000 00100000, and the instrument is waiting for trigger. 2-74 AWG710 Arbitrary Waveform Generator Programmer Manual...
This command returns the contents of the Operation Event Register (OEVR) and clears it. For more information on registers, refer to the Status and Events section of this manual. Group Status Related Commands STATus:OPERation:CONDition?, STATus:OPERation:ENABle Syntax STATus:OPERation[:EVENt]? 2-75 AWG710 Arbitrary Waveform Generator Programmer Manual...
This command returns the contents of the Questionable Condition Register (QCR). For more information on registers, refer to the Status and Events section of this manual. Group Status Related Commands STATus:QUEStionable:ENABle, STATus:QUEStionable[:EVENt]? Syntax STATus:QUEStionable:CONDition? 2-76 AWG710 Arbitrary Waveform Generator Programmer Manual...
STATus:QUEStionable:ENABle #H20 sets the FREQuency bit in the QENR to “enable”. STATus:QUEStionable:ENABle? might return 32, which indicates that the QENR contains the binary number 00000000 00100000, and the FREQ bit is set to “enable.” 2-77 AWG710 Arbitrary Waveform Generator Programmer Manual...
Status and Events section of this manual. Group Status Related Commands *CLS, *ESE, *ESR?, *SRE Syntax *STB? *STB Arguments None Returns <NR1> indicates that the content of the SBR in a decimal number. 2-78 AWG710 Arbitrary Waveform Generator Programmer Manual...
The volume of audible tones Examples SYSTem:BEEPer:IMMediate turns on a beep sound. SYSTem:COMMunicate:LAN:DHCP[:CLIent]:LEASe:TIME (?) This command sets the IP address lease time of the DHCP client function. Group System Syntax SYSTem:COMMunicate:LAN:DHCP[:CLIent]:LEASe:TIME <NR1> SYSTem:COMMunicate:LAN:DHCP[:CLIent]:LEASe:TIME? 2-79 AWG710 Arbitrary Waveform Generator Programmer Manual...
OFF or <NR1>+0 turns off the DHCP client function. ON or <NR1>00 turns on the DHCP client function. *RST has no effect on the value. Examples SYSTem:COMMunicate:LAN:DHCP:CLIent:STATe ON sets the DHCP client function to on. 2-80 AWG710 Arbitrary Waveform Generator Programmer Manual...
*RST has no effect on the value. Examples SYSTem:COMMunicate:LAN:FTP:SERVer:STATe ON sets the FTP server function on. SYSTem:COMMunicate:LAN:FTP[:SERVer]:VERSion (?) This command changes the version of the FTP (File Transfer Protocol) server. Group System Syntax SYSTem:COMMunicate:LAN:FTP[:SERVer]VERSion[:STATe] { STANdard | OBSolete} SYSTem:COMMunicate:LAN:FTP[:SERVer]:VERSion? 2-81 AWG710 Arbitrary Waveform Generator Programmer Manual...
SYSTem:COMMunicate:LAN:FTP:SERVer:VERSion OBSolete sets the FTP server version to obsolete. SYSTem:COMMunicate:LAN:GATeway[1|2|3]:ADDRess (?) This command sets the IP address of the gateway when you communicate with the AWG710 Arbitrary Waveform Generator from anywhere other than the local network segment. Group System Syntax SYSTem:COMMunicate:LAN:GATeway[1|2|3]:ADDRess <net_address>,<ip_address>...
NFS timeout to 60 sec. SYSTem:COMMunicate:LAN:PING? (Query Only) This command executes the ping test, and sends the ICMP ECHO_REQUEST packet to a specified IP address. Group System Related Commands SYSTem:COMMunicate:LAN:GATeway:ADDRess SYSTem:COMMunicate:LAN[:SELF]:ADDRess Syntax SYSTem:COMMunicate:LAN:GATeway:PING? <ip_address> 2-83 AWG710 Arbitrary Waveform Generator Programmer Manual...
ADDRess Arguments <ip_address>::=<string> is the IP address of the remote host. *RST has no effect on the value. Examples SYSTem:COMMunicate:LAN:RDEVice1:ADDRess "2.199.55.1" sets the IP address of the remote host 1 (NET1) to 2.199.55.1. 2-84 AWG710 Arbitrary Waveform Generator Programmer Manual...
This command sets the name of a specified remote host. The factory default name is “NET<x>”, which may be displayed on the waveform generator menu. You can change the displayed host name using this command. Group System Related Commands SYSTem:COMMunicate:LAN:RDEVice[1|2|3]:ADDRess Syntax SYSTem:COMMunicate:LAN:RDEVice[1|2|3]:NAME <host_name> SYSTem:COMMunicate:LAN:RDEVice[1|2|3]:NAME? 2-85 AWG710 Arbitrary Waveform Generator Programmer Manual...
Syntax SYSTem:COMMunicate:LAN:RDEVice[1|2|3]:PROTocol NFS SYSTem:COMMunicate:LAN:RDEVice[1|2|3]:PROTocol? SYSTem COMMunicate RDEVice <x> <space> PROTocol Arguments NFS selects the NFS protocol. This is fixed. *RST has no effect on this parameter. Examples SYSTem:COMMunicate:LAN:RDEVice1:PROTocol NFS selects the NFS protocol. 2-86 AWG710 Arbitrary Waveform Generator Programmer Manual...
This command sets the IP address of the AWG710 Arbitrary Waveform Generator. NOTE. You must set the IP address of the AWG710 Arbitrary Waveform Generator in order to use its LAN functions. If you specify “” (null) for the IP address, the LAN functions do not work.
<ip_address>::=<string> is the IP address of the AWG710 Arbitrary Waveform Generator. *RST has no effect on the value. Examples SYSTem:COMMunicate:LAN:SELF:ADDRess "2.199.55.1" sets the IP address of the AWG710 Arbitrary Waveform Generator. SYSTem:COMMunicate:LAN[:SELF]:MADDress? (Query Only) This command returns the MAC address. Group System...
Command Descriptions Examples SYSTem:COMMunicate:LAN:SELF:MADDress? might return the following response: "XX:XX:XX:XX:XX:XX" This response indicates the MAC address. SYSTem:COMMunicate:LAN[:SELF]:SMASk (?) This command sets the subnet mask of the AWG710 Arbitrary Waveform Generator. Group System Related Commands SYSTem:COMMunicate:LAN[:SELF]:ADDRess Syntax SYSTem:COMMunicate:LAN[:SELF]:SMASk <ip_mask> SYSTem:COMMunicate:LAN[:SELF]:SMASk? SYSTem COMMunicate <ip_mask>...
Command Descriptions SYSTem:DATE (?) This command sets the date for the AWG710 Arbitrary Waveform Generator operating system. Group System Syntax SYSTem:DATE <year>,<month>,<day> SYSTem:DATE? SYSTem DATE <year> <month> <day> Arguments <year>::=<NRf> must be entered as a four-digit number. <month>::=<NRf> ranges 1 to 12.
FORWard means the cursor moves to the right when the general purpose knob turns clockwise. BACKward means the cursor moves to the left when the general purpose knob turns clockwise. At *RST, the parameter is set to FORWard. 2-91 AWG710 Arbitrary Waveform Generator Programmer Manual...
Examples SYSTem:KDIRection BACKward makes the cursor move to the left when you turn the general purpose knob clockwise. SYSTem:KEYBoard[:TYPE] (?) This command selects the type of keyboard that connects to the AWG710 Arbitrary Waveform Generator. Group System Syntax SYSTem:KEYBoard[:TYPE] { ASCii | JIS }...
This command immediately destroys all waveform generator data and settings. Current settings are initialized to their *RST values. NOTE. This command erases all information on the internal hard disk (“MAIN”). Group System Related Commands *RST 2-93 AWG710 Arbitrary Waveform Generator Programmer Manual...
SYSTem TIME Arguments <hour>,<minute>,<second> <hour>::=<NRf> ranges 0 to 23. <minute>::=<NRf> ranges 0 to 59. <second>::=<NRf> ranges 0 to 59. It is always rounded to the nearest integer. Examples SYSTem:TIME 11,23,58 sets the time. 2-94 AWG710 Arbitrary Waveform Generator Programmer Manual...
This command returns the SCPI version number with the waveform generator complies. Group System Syntax SYSTem:VERSion? SYSTem VERSion Returns <NR2>::=YYYY.V where YYYY represents the year version and V represents an approved revision number for that year. Examples SYSTem:VERSion? might return 1999.0. 2-95 AWG710 Arbitrary Waveform Generator Programmer Manual...
This command generates a trigger event. This command is equivalent to the *TRG command or pressing the FORCE TRIGGER button on the front panel. Group Trigger Related Commands *TRG Syntax TRIGger[:SEQuence][:IMMediate] TRIGger SEQuence IMMediate Arguments None Examples TRIGger:SEQuence:IMMediate generates the trigger event. 2-96 AWG710 Arbitrary Waveform Generator Programmer Manual...
TRIGger[:SEQuence]:LEVel? TRIGger LEVel <space> <NRf> SEQuence Arguments <NRf> is the trigger level. The range is –5.0 V to +5.0 V, in 0.1 V steps. At *RST, the value is set to 1.4 V. 2-97 AWG710 Arbitrary Waveform Generator Programmer Manual...
Negative means the gate signal is activated when the external trigger signal is less (more Negative) than the trigger level. At *RST, the parameter is set to Positive. Examples TRIGger[:SEQuence]:POLarity Negative selects the Negative polarity. 2-98 AWG710 Arbitrary Waveform Generator Programmer Manual...
At *RST, the parameter is set to Positive. Examples TRIGger:SEQuence:SLOPe Negative selects the Negative slope. TRIGger[:SEQuence]:SOURce (?) This command selects the trigger source. Group Trigger Related Commands TRIGger[:SEQuence]:LEVel, TRIGger[:SEQuence]:POLarity, TRIGger[:SEQuence]:SLOPe, TRIGger[:SEQuence]:TIMer Syntax TRIGger[:SEQuence]:SOURce { INTernal | EXTernal } 2-99 AWG710 Arbitrary Waveform Generator Programmer Manual...
<NRf> is the internal trigger rate. The range is 1.0 ms to 10.0 s. At *RST, this value is set to 100 ms. Examples TRIGger:SEQuence:TIMer 5ms sets the internal trigger rate to 5 ms. 2-100 AWG710 Arbitrary Waveform Generator Programmer Manual...
This command prevents the waveform generator from executing further commands or queries until all pending operations finish. In AWG710 and in this application, all commands are designed to be executed in the order in which they are sent from the external controller. The *WAI command is included to ensure compliance with the SCPI standard.
Page 132
Command Descriptions Related Commands *OPC Syntax *WAI *WAI Arguments None Examples *WAI prevents the execution of any commands or queries until all pending operations complete. 2-102 AWG710 Arbitrary Waveform Generator Programmer Manual...
The SBR (status byte register) MAV bit can be used to check the response message queuing state. Refer to the Status and Events section in this manual for more information about the output queue, SBR, and control methods. 2-103 AWG710 Arbitrary Waveform Generator Programmer Manual...
During front panel operation, the waveform generator creates these files automatically; when you remotely operate the waveform generator, you must create these files through editing or programming according to the formats described in the topics that follow. 2-105 AWG710 Arbitrary Waveform Generator Programmer Manual...
The Waveform file format retains the data precision required for mathematical operations. For more details about file formats, refer to Data Transfer section in one of these manuals: AWG710 Arbitrary Waveform Generator User Manual. 2-106 AWG710 Arbitrary Waveform Generator Programmer Manual...
<Num_bytes> is the byte count of the data that follows. <Data(n)> In the AWG710, this represents each data point in two bytes (16 bits). The low byte is transferred first. Bits 2 (LSB) – 9 are D0 – D79 of the rear panel.
[,<Goto-N>]]]]<CR><LF> <CHx_file_name>::=<string> is the waveform or pattern file name for the specified channel. CH2 field is for compatible with AWG500 series. In AWG710, CH2 field is ””(null string). <Repeat_count>::=<NR1> is the repeat count for the line. 0 (zero) is infinity.
Page 140
<NR1>+0 is Off, 00 is On. The default is Off. Example. This Sequence file contains two lines of sequence definitions for CH 1. MAGIC 3002 LINES 2 "SAMPLE1.WFM","",1,0,0,0,0 "SAMPLE3.WFM","",1,0,0,0,0 TABLE_JUMP 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 LOGIC_JUMP -1,-1,-1,-1 JUMP_MODE TABLE JUMP_TIMING ASYNC STROBE 0 2-110 AWG710 Arbitrary Waveform Generator Programmer Manual...
Detailed information about the functions and operators that can be used to describe the Equation file, can be found in the AWG710 Arbitrary Waveform Generator User Manual. Example. This Equation file describes the log sweep waveform.
The bit pattern is specified with “0”, “1”, and “–” (don’t care). For more information about the Code Convert Table, refer to one of these manuals: AWG710 Arbitrary Waveform Generator User Manual. Example. This Code Convert file describes NRZI conversion. -,0---,,0,0...
MMEMory:CDIRectory and MMEMory:MSIS commands respectively. The <data> is in IEEE488.2 block format. For example, the following command string will load 2048 bytes of data to the file AWG1. MMEMory:DATA "AWG1",#42048<data(1)><data(2)>...<data(2048)> 2-113 AWG710 Arbitrary Waveform Generator Programmer Manual...
Page 144
The response format is in IEEE488.2 block format. For example, the following command string will upload the file FILE-AWG on the waveform generator to the external controller. MMEMory:DATA? "FILE AWG" 2-114 AWG710 Arbitrary Waveform Generator Programmer Manual...
H Standard/Event Status H Operation Status H Questionable Status The operations processed in these three blocks are summarized in status bytes, which provide the error and event data. AWG710 Arbitrary Waveform Generator Programmer Manual...
Execution Error Command Error User Request Power On Status Byte Register (SBR) Service Request Enable Register (SRER) Standard Event Status Register (SESR) Event Status Enable Register (ESER) Figure 3-1: Error and Event handling process overview AWG710 Arbitrary Waveform Generator Programmer Manual...
Questionable Status Block. Refer to Questionable Condition Register (QCR) on page 3–7, Questionable Event Register (QEVR) on page 3–8, and Questionable Enable Register (QENR) on page 3–9, for the contents of these registers. AWG710 Arbitrary Waveform Generator Programmer Manual...
H Standard Event Status Register (SESR) H Operation Condition Register (OCR) H Operation Event Register (OEVR) H Questionable Condition Register (QCR) H Questionable Event Register (QEVR) Read the contents of these registers to determine errors and conditions. AWG710 Arbitrary Waveform Generator Programmer Manual...
Message Available Bit (MAV). This bit indicates that a message has been placed in the output queue and can be retrieved. Questionable Summary Status (QSS). Event Queue Available (EAV). Not used AWG710 Arbitrary Waveform Generator Programmer Manual...
The output queue messages have been cleared despite the fact that they have not been retrieved. Not used. Operation Complete (OPC). This bit is set with the results of the execution of the *OPC command. It indicates that all pending operations have been completed. AWG710 Arbitrary Waveform Generator Programmer Manual...
Not used. Must be set to zero for the waveform generator operation. Frequency (FREQ). Indicates whether frequency accuracy of the signal is of questionable quality. 4 - 0 Not used. Must be set to zero for the waveform generator operation. AWG710 Arbitrary Waveform Generator Programmer Manual...
The SRER is made up of bits defined exactly the same as bits 0 through 7 in the Register (SRER) SBR (see Figure 3–7). You can use this register to define which events will generate service requests. The SRER bit 6 cannot be set. Also, the RQS is not maskable. AWG710 Arbitrary Waveform Generator Programmer Manual...
QEVR bit is set. Use the STATus:QUEStionable:ENABle command to set the bits in the QENR. Use the STATus:QUEStionable:ENABle? query to read the contents of the QENR. FREQ Figure 3-9: The Questionable Enable Register (QENR) AWG710 Arbitrary Waveform Generator Programmer Manual...
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 disappears from the Error/Event Queue. 3-10 AWG710 Arbitrary Waveform Generator Programmer Manual...
Read using STATus:QUEStionable[:EVENt]? Cannot be written Questionable Enable Register FREQ (QENR) Read using STATus:QUEStionable:ENABle? Write using STATus:QUEStionable:ENABle To the QSS bit in the SBR Figure 3-11: Status and Event processing sequence Questionable status block 3-11 AWG710 Arbitrary Waveform Generator Programmer Manual...
Page 158
From the Questionable status block From the Operation status block Service Request Enable Register (SRER) ESB MAV Read using *SRE? Write using *SRE Figure 3-12: Status and Event processing sequence Standard/Event status block 3-12 AWG710 Arbitrary Waveform Generator Programmer Manual...
OEVR, and QEVR. Each of these registers is displayed with the decimal equivalent of its contents shown in brackets. All events currently in the queue are listed in the Event Queue area of the display. Figure 3-13: Status and Event screen 3-13 AWG710 Arbitrary Waveform Generator Programmer Manual...
Tables 3–6 through 3–14 show the codes and messages used in the status and event reporting system. Event codes and messages can be obtained by using the queries SYSTem:ERRor[:NEXT]?. Responses are returned in the following format: <event code>,"<event message>" 3-14 AWG710 Arbitrary Waveform Generator Programmer Manual...
Request control events -700 to -799 Request control events Operation complete events -800 to -899 Operation complete events Extended device specific errors 1 to 32767 Device dependent device errors Reserved other than above not used 3-15 AWG710 Arbitrary Waveform Generator Programmer Manual...
-114 Header suffix out of range -115 Unexpected number of parameters -120 Numeric data error -121 Invalid character in number -123 Exponent too large -124 Too many digits -128 Numeric data not allowed 3-16 AWG710 Arbitrary Waveform Generator Programmer Manual...
Lists not same length -230 Data corrupt or stale -231 Data questionable -232 Invalid format -233 Invalid version -240 Hardware error -241 Hardware missing -250 Mass storage error -251 Missing mass storage -252 Missing media 3-18 AWG710 Arbitrary Waveform Generator Programmer Manual...
Page 165
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-19 AWG710 Arbitrary Waveform Generator Programmer Manual...
-330 Self test failed -340 Calibration failed -350 Queue overflow -360 Communication error -361 Parity error in program message -362 Framing error in program message -363 Input buffer overrun -365 Time out error 3-20 AWG710 Arbitrary Waveform Generator Programmer Manual...
Table 3-10: Power on events Event code Event message -500 Power on User Request Events These events are unused in AWG. Table 3-11: User request events Event code Event message -600 User request 3-21 AWG710 Arbitrary Waveform Generator Programmer Manual...
Page 175
The diskette also contains the file README.TXT. Refer to the file for details about how to run the programs. National Instruments GPIB board GPIB driver Example programs Microsoft Microsoft Visual Visual BASIC PC Compatible LabVIEW Figure 4-1: Equipment needed to run the GPIB example programs AWG710 Arbitrary Waveform Generator Programmer Manual...
Unaddress if my talk address (MTA) No Listen Only mode Service Request (SR) Complete Remote/Local (RL) Complete Parallel Poll (PP) None Device Clear (DC) Complete Device Trigger (DT) Complete Controller (C) None Electrical Interface Three state driver AWG710 Arbitrary Waveform Generator Programmer Manual...
Page 182
H Electrical Interface (E). Identifies the electrical interface driver type. The notation E1 means the electrical interface uses open collector drivers, E2 means the electrical interface uses three-state drivers. AWG710 Arbitrary Waveform Generator Programmer Manual...
Interface Messages Table B–2 shows the standard interface messages the waveform generator supports. Brief function descriptions are provided on the next page. Table B-2: AWG standard interface message Message GPIB Listen Addresses Talk Addresses AWG710 Arbitrary Waveform Generator Programmer Manual...
Page 184
This function may be used to determine which device sent a service request. H Take Control (TCT). Allows the controller in charge to pass control of the bus to another controller on the bus. AWG710 Arbitrary Waveform Generator Programmer Manual...
Page 185
H The Indefinite format (the block start at #0) in the <ARBITRARY BLOCK PROGRAM DATA> of the IEEE 488.2 is not supported. For detailed information about the programming, refer to the Sample Programs disk supplied with this waveform generator. AWG710 Arbitrary Waveform Generator Programmer Manual...
Page 190
Table D-1: SCPI conformance information (Cont.) Defined in Not defined in SCPI 1999.0 SCPI 1999.0 Command TRIGger [SEQuence] [IMMediate] IMPedance(?) LEVel(?) POLarity(?) SLOPe(?) SOURce(?) TIMer(?) *CLS *ESR(?) *ESR? *IDN? *OPC(?) *OPT? *RST *SRE(?) *STB? *TST? *WAI? AWG710 Arbitrary Waveform Generator Programmer Manual...
Page 191
Appendix E: Factory Initialization Settings The following tables lists the commands affected by factory initialization. Table E–1 on page E–1 lists commands for the AWG710. The SYStem:SECurity:IMMediate command initializes all the settings as shown below; the *RST command has no effect on the Status commands and the SYSTem:COMMunicate:LAN commands.
Page 197
IEEE Std 488. IEEE Acronym for the Institute for Electrical and Electronic Engineers. QuickC A computer language (distributed by Microsoft) that is based on C. SCPI Acronym for Standard Commands for Programmable Instruments. Glossary-1 AWG710 Arbitrary Waveform Generator Programmer Manual...
Need help?
Do you have a question about the AWG710 and is the answer not in the manual?
Questions and answers