background image

Programmer Manual

AWG710
4GS/s Arbitrary Waveform Generator

070-A829-50

This document applies to firmware version 3.0
and above.

www.tektronix.com

Summary of Contents for AWG710

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 2: ...patents issued and pending Information in this publication supercedes that in all previously published material Specifications and price change privileges reserved Tektronix Japan Ltd 5 9 31 Kitashina...

Page 3: ...ny other locations This warranty shall not apply to any defect failure or damage caused by improper use or improper or inadequate maintenance and care Tektronix shall not be obligated to furnish servi...

Page 4: ......

Page 5: ...ol DOUTput 1 STATe 2 28 AWGControl ENHanced SEQuence JMODe 2 29 AWGControl EVENt LOGic IMMediate No Query Form 2 29 AWGControl EVENt SOFTware IMMediate No Query Form 2 30 AWGControl EVENt TABLe IMMedi...

Page 6: ...2 63 OPT Query Only 2 63 OUTPut 1 FILTer LPASs FREQuency 2 64 OUTPut 1 ISTate 2 65 OUTPut 1 STATe 2 65 PSC 2 66 RST No Query Form 2 67 SOURce 1 FREQuency CW FIXed 2 68 SOURce 1 FUNCtion USER 2 68 SOU...

Page 7: ...SECurity IMMediate No Query Form 2 93 SYSTem TIME 2 94 SYSTem UPTime Query Only 2 95 SYSTem VERSion Query Only 2 95 TRG No Query Form 2 96 TRIGger SEQuence IMMediate No Query Form 2 96 TRIGger SEQuen...

Page 8: ...ents 3 22 Operation Complete Events 3 22 Device Errors 3 23 Examples Programming Examples 4 1 Appendices Appendix A Character Charts A 1 Appendix B GPIB Interface Specification B 1 Interface Functions...

Page 9: ...20 Table 2 13 Source commands 2 20 Table 2 14 Status commands 2 21 Table 2 15 Synchronization commands 2 21 Table 2 16 System commands 2 22 Table 2 17 Trigger commands 2 24 Table 2 18 Selecting run mo...

Page 10: ...nerator Programmer Manual Table A 2 ASCII GPIB code chart A 2 Table B 1 GPIB interface function implementation B 1 Table B 2 AWG standard interface message B 3 Table D 1 SCPI conformance information D...

Page 11: ...2 3 Example of chaining commands and queries 2 6 Figure 2 4 Example of omitting root and lower level nodes in a chained message 2 6 Figure 2 5 Typical syntax diagrams 2 12 Figure 2 6 ABSTouch argumen...

Page 12: ...ssing sequence Operation status block 3 11 Figure 3 11 Status and Event processing sequence Questionable status block 3 11 Figure 3 12 Status and Event processing sequence Standard Event status block...

Page 13: ...nd processing conventions and describes each command in the waveform generator command set H The Status and Events section explains the status information and event messages reported by the waveform g...

Page 14: ...Preface x AWG710 Arbitrary Waveform Generator Programmer Manual...

Page 15: ...Getting Started...

Page 16: ......

Page 17: ...propriate front panel controls H Setting Up Remote Communications Using Ethernet describes how to connect the waveform generator to a controller using the Ethernet interface and how to set the appropr...

Page 18: ...and Diagnostic Commands D D D AWG Control Commands AWGControl DOUTput STATe AWGControl EVENt LOGic IMMediate Calibration Commands C C C AWGControl RMODe AWGControl RSTate AWGControl RUN IMMediate AWGC...

Page 19: ...AWG sends status and event reports Transceiver cable Controller LAN Ethernet or Hub Transceiver cable Figure 1 3 Basic operation of status and events reporting The Programming Examples section which b...

Page 20: ...ment must be connected to the controller 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 19...

Page 21: ...Getting Started AWG710 Arbitrary Waveform Generator Programmer Manual 1 5 Stack GPIB connectors if needed as shown in Figure 1 6 Figure 1 6 How to stack GPIB connectors...

Page 22: ...evice GPIB Device GPIB Device GPIB Device GPIB Device Figure 1 7 Typical GPIB network configurations NOTE Appendix C Network Interface Specification provides more information about the GPIB configurat...

Page 23: ...ing either the general purpose knob or the keypad Figure 1 8 Selecting the GPIB configuration and address The waveform generator is set up for bidirectional communication with your controller Do the f...

Page 24: ...ations Using Ethernet 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 Figure...

Page 25: ...sing the left right arrow buttons b Move the cursor to the IP Address field using the up down arrow buttons then press the Edit button c Set the IP Address in IP Address dialog box d If necessary use...

Page 26: ...Getting Started 1 10 AWG710 Arbitrary Waveform Generator Programmer Manual Network parameters Figure 1 10 Setting the Network parameters...

Page 27: ...to display a dialog box 4 Enter the IP address of the remote computer in the dialog box and then push the OK side button The ping command sends a packet to the remote computer specified by the IP addr...

Page 28: ...Getting Started 1 12 AWG710 Arbitrary Waveform Generator Programmer Manual...

Page 29: ...Syntax and Commands...

Page 30: ......

Page 31: ...f with this material before using the waveform generator command descriptions This manual describes commands and queries using Backus Naur Form BNF notation Table 2 1 defines standard BNF symbols Tabl...

Page 32: ...efined program ming messages instrument responses and data formats that operate across all SCPI instruments regardless of manufacturer The SCPI language is based on a hierarchical or tree structure th...

Page 33: ...URce EXTernal is a valid SCPI command created from the hierarchy tree in Figure 2 1 on page 2 2 To create a query start at the root node of a tree structure move down to the end of a branch and add a...

Page 34: ...a bytes 512234xxxxx where 5 indicates that the following 5 digits 12234 specify the length of the data in bytes xxxxx indicates the data or 0xxxxx LF EOI boolean Boolean numbers or values ON or 0 OFF...

Page 35: ...ws these commands as a combination of upper and lower case letters The upper case letters indicate the accepted short form of a command as shown in Figure 2 2 The accepted short form and the long form...

Page 36: ...SOUR FREQ FIX 100 OUTP STAT ON SOUR VOLT AMPL TRIG SEQ LEV First command Second command Second query The response from this chained message might be Response from first query Response from second quer...

Page 37: ...e SI unit prefix You can use either upper or lowercase units H V or v for voltage H Hz HZ or hz for frequency H ohm OHM or Ohm for impedance H s or S for time H dbm DBM or Dbm for power ratio In the c...

Page 38: ...uses quotation marks correctly incorrect This string does not use quotation marks correctly H You can use upper case lower case or a mixture of both cases for all commands queries and parameters OUTP...

Page 39: ...generator complies with this standard The syntax for an IEEE 488 2 common command is an asterisk followed by a command and optionally a space and parameter value The syntax for an IEEE 488 2 common q...

Page 40: ...he following GATeway1 GATeway2 or GATeway3 Therefore a valid usage of this command would be SYSTem COMMunicate LAN GATeway1 AD DRess H MNEMonic n The value of n is the upper range of valid suffixes If...

Page 41: ...Meaning MARKer1 The signal for the marker 1 MARKer2 The signal for the marker 2 These commands specify the remote device to use as a mnemonic in the header Symbol Meaning RDEVice1 Network drive 1 RDE...

Page 42: ...efined element such as NR1 H Arrow symbols connect elements to show the paths that can be taken through the diagram and thereby the order in which the elements can be sent in a command structure H Par...

Page 43: ...ups in the AWG command set Group Function AWG Control Control operating mode Calibration Perform calibration Diagnostic Control self test routines Display Control the presentation of information on th...

Page 44: ...enerator Programmer Manual Command Quick Reference 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 fo...

Page 45: ...URce1 FUNCtion USER SOURce1 MARKer y VOLTage LEVel IMMediate HIGH SOURce1 MARKer y VOLTage LEVel IMMediate LOW SOURce1 ROSCillator SOURce SOURce1 VOLTage LEVel IMMediate AMPLitude SOURce1 VOLTage LEVe...

Page 46: ...W FIXed Set the frequency of the function waveform AWGControl FG 1 FUNCtion SHAPe Select the function or type of waveform square wave sine wave etc AWGControl FG 1 POLarity Set the polarity of the fun...

Page 47: ...DATA Query results of self test DIAGnostic IMMediate Start the self test DIAGnostic SELect Select the self test routine TST Perform self test The Display commands mimic manipulation of front panel co...

Page 48: ...d the hardcopy commands are implemented in a way that more closely resembles previous waveform generator usage The waveform generator implements the hardcopy commands as illustrated in the following e...

Page 49: ...racters for specifying subdirectories e g and the period separator The instrument checks the file format when reading and processes the file based on its content regardless of the file extention Table...

Page 50: ...rameters such as frequency and level Table 2 13 Source commands Header Description SOURce 1 FREQuency CW FIXed Set sampling frequency for outputting waveform SOURce 1 FUNCtion USER Specify the user de...

Page 51: ...PSC Set power on status clear flag SRE Set and query SRER STATus OPERation CONDition Query the contents of OCR STATus OPERation ENABle Set the enable mask of OENR STATus OPERation EVENt Query the cont...

Page 52: ...dress of the gateway SYSTem COMMunicate LAN NFS TLIMit Set the timeout of NFS SYSTem COMMunicate LAN PING Execute PING test for the specified IP address SYSTem COMMunicate LAN RDEVice 1 2 3 ADDRess Se...

Page 53: ...event queue SYSTem KDIRection Set the direction of cursor movement controlled by the general purpose knob SYSTem KEYBoard TYPE Select the keyboard type SYSTem KLOCk Lock the front panel and keyboard...

Page 54: ...Gger SEQuence IMMediate Immediately trigger the sequence operation TRIGger SEQuence IMPedance Select the input impedance of the external trigger TRIGger SEQuence LEVel Set the trigger level TRIGger SE...

Page 55: ...ample to use the abbreviated version of the SOURce FREQuency command just type SOUR FREQ The symbol follows the command header of commands that can be used as either a command or a query the symbol fo...

Page 56: ...R MICRo FIVe NANo SIX PICo ONE D TWO E THRee F ZERo A POINt B SIGN C CLR G DELete INF RETurn OUTPut 1 IOUTput 1 knob OFFSet LSCale HSHift SSCale LEVel GPKNob state ON OFF NR1 This argument sets the pr...

Page 57: ...rn NINe MILLi SIX PICo SIGN C FIVe NANo TWO E POINt B GPKNob TOGGle ENTer SHIFt HARDcopy APPL UTILity SETup EDIT UARRow RARRow DARRow LARRow RUN OFFSet VMENu LSCale SSCale OUTPut 1 IOUTput 1 QKEDit LE...

Page 58: ...age OFFSet command are ignored AWG Control SOURce VOLTage command group OUTPut FILTer command group AWGControl DOUTput 1 STATe OFF ON NR1 AWGControl DOUTput 1 STATe ON DOUTput space NR1 OFF AWGControl...

Page 59: ...De LOGic The jump mode is logic TABLe The jump mode is table SOFTware The jump mode is software At RST this value is set to TABLe AWGControl ENHanced SEQuence SOFTware sets the jump mode to software A...

Page 60: ...will return a Settings conflict error code 221 when any of these conditions are present 1 The waveform generator is not in Enhanced mode 2 No sequence file is loaded 3 The Jump Mode setting of the se...

Page 61: ...is a Table AWG Control None AWGControl EVENt TABLe IMMediate EVENt AWGControl IMMediate TABLe None AWGControl EVENt TABLe IMMediate generates a trigger event for the table jump AWGControl FG FREQuency...

Page 62: ...NCtion SHAPe This command selects a standard function waveform as opposed to a waveform file This query returns the currently selected standard function waveform AWG Control AWGControl FG 1 FUNCtion S...

Page 63: ...form to RAMP AWGControl FG 1 POLarity This command sets polarity of the function waveform This query returns polarity currently set AWG Control AWGControl FG 1 POLarity POSitive NEGative AWGControl FG...

Page 64: ...YCle NRf AWGControl FG 1 PULSe DCYCle space NRf FG 1 DCYCle PULSe AWGControl NRf is the duty cycle The range is 0 1 to 99 9 Step Frequency Step 1 000Hz to 4 000MHz 0 1 4 001MHz to 20 00MHz 0 5 20 01MH...

Page 65: ...G STATe ON space NRf OFF FG AWGControl STATe OFF or NRf 0 sets the FG mode to OFF ON or NRf 00 sets the FG mode to ON At RST this value is set to OFF AWGControl FG ON sets the FG mode to ON AWGControl...

Page 66: ...se of Option02 0 5Vpp to 1 0Vpp At RST this value is set to 1 0 AWGControl FG1 VOLTage 2 0 sets the amplitude to 2 000Vpp AWGControl FG 1 VOLTage LEVel IMMediate OFFSet except option02 This command ad...

Page 67: ...l FG1 VOLTage OFFSet 0 1 sets the offset to 0 1V AWGControl RMODe This command selects the mode used to output waveforms or sequences AWG Control AWGControl RUN IMMediate AWGControl STOP IMMediate SOU...

Page 68: ...E TRIGGER button remains pressed H A valid external gate signal remains input H The TRIGger SEQuence IMMediate or TRG command has been executed but an ABORt command has not yet been issued ENHanced Se...

Page 69: ...e following response 1 AWGControl RUN IMMediate No Query Form This command initiates the output of a waveform or a sequence This has the same effect as manually pressing the RUN button on the front pa...

Page 70: ...nit specifier string is the media on which the file exists MAIN Internal hard disk drive FLOPpy Internal floppy disk drive NET1 NET2 or NET3 Network drive 1 2 or 3 specified with the SYSTem COMMunicat...

Page 71: ...MMunicate LAN commands AWGControl SSAVe SAMPLE1 SET FLOPpy stores the current settings to the file SAMPLE1 SET on the floppy disk AWGControl STOP IMMediate No Query Form This command terminates wavefo...

Page 72: ...calibration During this time the waveform generator does not respond to any commands or queries issued Calibration CALibration ALL CAL CAL None NR1 0 Terminated without error 340 Calibration failed CA...

Page 73: ...AL CALibration ALL CALibration ALL CALibration ALL None NR1 0 Terminated without error 340 Calibration failed CALibration ALL performs a full calibration CALibration ALL performs a full calibration an...

Page 74: ...ueues DIAGnostic DATA Query Only This command returns the results of a self test Diagnostic DIAGnostic IMMediate DIAGnostic SELect DIAGnostic DATA DIAGnostic DATA None NR1 0 Terminated without error 3...

Page 75: ...e routine that detected the error terminates If all of the self test routines are selected self testing continues with execution of the next self test routine Diagnostic DIAGnostic SELect DIAGnostic D...

Page 76: ...t ROSCillator SMEMory SYSTem RMODe WMEMory You can select the following self test routines Table 2 19 Self test routines Argument Description ALL Checks all routines that follow OUTput Checks the anal...

Page 77: ...of the display Display DISPlay ENABle OFF ON NR1 DISPlay ENABle ON ENABle space NR1 OFF DISPlay OFF or NR1 0 sets OFF the display ON or NR1 00 sets ON the display At RST this value is set to OFF DISP...

Page 78: ...waveform generator The ESE query returns the contents of the ESER Refer to the Status and Events for more information about the ESER Status CLS ESR PSC SRE STB ESE bit_value ESE space bit_value ESE b...

Page 79: ...B ESR ESR NR1 indicates the content of the SESR in a decimal integer ESR might return 181 which indicates that the SESR contains the binary number 10110101 HCOPy DESTination No Query Form This command...

Page 80: ...fied with the MMEMory NAME command HCOPy DEVice COLor This command sets the hardcopy color mode Hardcopy HCOPy DEVice LANGuage HCOPy DEVice COLor OFF ON NR1 HCOPy DEVice COLor ON DEVice space NR1 OFF...

Page 81: ...ormat At RST the parameter is set to BMP HCOPy DEVice LANGuage TIFF specifies the TIFF data format for hardcopy HCOPy IMMediate No Query Form This command immediately initiates hardcopy output accordi...

Page 82: ...r this is the same as the HCOPy IMMediate command For more information about hardcopy see Hardcopy Commands on page 2 18 Hardcopy HCOPy SDUMp IMMediate IMMediate HCOPy SDUMp None MMEMory NAME SAMPLE1...

Page 83: ...ctory MMEMory MSIS MMEMory CATalog msus MMEMory CATalog space msus msus mass storage unit specifier string is one of the following MAIN The internal hard disk drive FLOPpy The internal floppy disk dri...

Page 84: ...ectory for a mass memory file system The default mass storage device is selected by MMEMory MSIS command Mass Memory MMEMory CDIRectory MMEMory MSIS MMEMory CDIRectory directory_name MMEMory CDIRector...

Page 85: ...NAME SAMPLE1 WFM CLOSe closes the file SAMPLE1 WFM MMEMory COPY No Query Form This command copies an existing file to a new file An error is generated if the source file does not exist Mass Memory MM...

Page 86: ...es the file FILE1 WFM on the waveform generator hard disk to the file FILE2 WFM on the floppy disk MMEMory DATA This command loads block data into the file on the default mass storage device or return...

Page 87: ...OPpy Internal floppy disk drive NET1 NET2 or NET3 Network drive 1 2 or 3 specified with the SYSTem COMMunicate LAN commands MMEMory DELete FILE1 WFM FLOPpy removes the file FILE1 WFM on the floppy dis...

Page 88: ...ze the internal hard disk or floppy disk NOTE The initializing process erases all information that is already on the disk This command is a Quick Format command which cannot format MAC format other OS...

Page 89: ...ry Form This command creates a directory on the specified mass storage unit Mass Memory MMEMory CDIRectory MMEMory MSIS MMEMory MDIRectory directory_name msus MDIRectory space msus directory_name MMEM...

Page 90: ...e or destination file name msus mass storage unit specifier string is the media on which the file exists MAIN Internal hard disk drive FLOPpy Internal floppy disk drive NET1 NET2 or NET3 Network drive...

Page 91: ...ified with the SYSTem COMMunicate LAN commands At RST this parameter is set to MAIN MMEMory MSIS FLOPpy selects the floppy disk drive as the default mass storage device MMEMory NAME This command speci...

Page 92: ...is parameter is set to HARDCOPY MMEMory NAME SAMPLE1 WFM NET1 OPEN opens the file SAMPLE1 WFM on the network drive 1 MMEMory OPEN No Query Form This command opens the file specified in the MMEMory NAM...

Page 93: ...he order in which they are sent from the external controller The OPC command is included to ensure compliance with the SCPI standard You do not need to use this command Refer to page 3 6 about the OPC...

Page 94: ...nes the cutoff frequency of the low pass filter for a specified channnel Output OUTPut 1 FILTer LPASs FREQuency NRf INFinity OUTPut 1 FILTer LPASs FREQuency OUTPut 1 FILTer LPASs FREQuency space NRf I...

Page 95: ...t OUTPut 1 ISTate ON OFF NR1 OUTPut 1 ISTate OUTPut 1 ISTate ON space NR1 OFF ON or NR1 00 enables the CH1 output OFF or NR1 0 disables the CH1 output At RST this value is set to 0 OFF OUTPUT1 ISTate...

Page 96: ...s true the registers are set to 0 at power on When PSC is false the current values in the registers are preserved in nonvolatile memory when power is shut off and then are restored at power on For a c...

Page 97: ...sets the power on status clear flag to false PSC might return the value 1 showing that the power on status clear flag is set to true RST No Query Form This command resets the waveform generator to the...

Page 98: ...NCtion USER SOURce 1 FREQuency CW FIXed NRf SOURce 1 FREQuency CW FIXed FREQuency FIXed CW space NRf SOURce 1 NRf is the sampling frequency The range is as follows 50 kHz to 4 0 GHz At RST this value...

Page 99: ...nternal floppy disk drive NET1 NET2 or NET3 The network drive 1 2 or 3 specified with the SYSTem COMMunicate LAN commands At RST this value is set to null SOURce1 FUNCtion USER SAMPLE1 WFM FLOPpy spec...

Page 100: ...to 2 V SOURce1 MARKer1 VOLTage LEVel IMMediate HIGH 1 2 sets the high level of the marker 1 output on CH 1 to 1 2 V SOURce 1 MARKer 1 2 VOLTage LEVel IMMediate LOW This command sets the low level volt...

Page 101: ...SCillator SOURce This command selects the reference oscillator Source SOURce 1 ROSCillator SOURce INTernal EXTernal SOURce 1 ROSCillator SOURce ROSCillator SOURce EXTernal space SOURce 1 INTernal INTe...

Page 102: ...ange 20 mV to 2 0 V into 50 W in 1 mV steps Note that when DOUT is set to 1 ON the range is 20 mV to 1 0 V In the case of Option02 500 mV to 1 0 V At RST this value is set to 1 V SOURce1 VOLTage LEVel...

Page 103: ...the CH 1 output to 50 mV SRE This command sets and queries the bits in the Service Request Enable Register SRER For a complete discussion of the use of these registers refer to the Status and Events...

Page 104: ...eration Condition Register OCR For more information on registers refer to the Status and Events section of this manual Status STATus OPERation ENABle STATus OPERation EVENt STATus OPERation CONDition...

Page 105: ...5535 NR1 indicates that the content of the OENR in a decimal number STATus OPERation ENABle 1 sets the CALibrating bit in the OENR to enable STATus OPERation ENABle might return 1 which indicates that...

Page 106: ...ers OENR and QENR For more information on registers refer to the Status and Events section of this manual Status STATus PRESet STATus PRESet None STATus PRESet presets the SCPI enable registers STATus...

Page 107: ...ormation on registers refer to the Status and Events section of this manual Status STATus QUEStionable CONDition STATus QUEStionable EVENt STATus QUEStionable ENABle NR1 STATus QUEStionable ENABle STA...

Page 108: ...tes that the contents of the QEVR in a decimal number STATus QUEStionable EVENt might return 32 which indicates that the QEVR contains the binary number 00000000 00100000 and the FREQ bit is set STB Q...

Page 109: ...m BEEPer IMMediate frequency time space volume The following parameters are available but are ignored frequency The pitch of audible tones time The duration of audible tones volume The volume of audib...

Page 110: ...em COMMunicate LAN DHCP CLIent STATe This command turns on or off the DHCP client function System SYSTem COMMunicate LAN DHCP CLIent STATe ON OFF NR1 SYSTem COMMunicate LAN DHCP CLIent STATe SYSTem CO...

Page 111: ...LAN ON space NR1 OFF STATe FTP SERVer OFF or NR1 0 turns off the FTP server function ON or NR1 00 turns on the FTP server function RST has no effect on the value SYSTem COMMunicate LAN FTP SERVer STAT...

Page 112: ...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...

Page 113: ...SYSTem NFS COMMunicate LAN x TLIMit space NR1 NR1 is the NFS timeout The range is 25 to 300 the unit is sec At RST the parameter is set to 300 SYSTem COMMunicate LAN NFS TLIMit 60 sets the NFS timeout...

Page 114: ...P address of the remote host The host corresponds to NET x in the menu display You can change this name by using the SYSTem COMMunicate LAN RDEVice x NAME command System SYSTem COMMunicate LAN RDEVice...

Page 115: ...directory on the remote host RST has no effect on the value SYSTem COMMunicate LAN RDEVice1 FSYStem AWG SAMPLE sets the mount directory to AWG SAMPLE on the remote host 1 NET1 SYSTem COMMunicate LAN...

Page 116: ...selects the protocol of communication with the remote host For this application however the protocol is fixed to NFS Network File System and this command exists only for compatibility System SYSTem C...

Page 117: ...AN x ON space NR1 OFF STATe OFF or NR1 0 turns off the LAN communication with the remote host ON or NR1 00 turns on the LAN communication with the remote host RST has no effect on the value SYSTem COM...

Page 118: ...ring is the IP address of the AWG710 Arbitrary Waveform Generator RST has no effect on the value SYSTem COMMunicate LAN SELF ADDRess 2 199 55 1 sets the IP address of the AWG710 Arbitrary Waveform Gen...

Page 119: ...710 Arbitrary Waveform Generator System SYSTem COMMunicate LAN SELF ADDRess SYSTem COMMunicate LAN SELF SMASk ip_mask SYSTem COMMunicate LAN SELF SMASk SYSTem ip_mask space COMMunicate LAN SMASk SELF...

Page 120: ...four digit number month NRf ranges 1 to 12 day NRf ranges 1 to 31 The range 2001 1 1 2099 12 31 NRf is rounded to the nearest integer RST has no effect on the value SYSTem DATE 2001 10 31 sets the da...

Page 121: ...ore detailed information relating to the error event number SYSTem ERRor NEXT might return the following response 102 Syntax error possible invalid suffix SOUR FREQ 2V This response indicates that the...

Page 122: ...lects the JIS 106 key keyboard At RST the parameter is set to ASCii SYSTem KEYBoard TYPE JIS selects the JIS 106 key keyboard SYSTem KLOCk This command locks or unlocks the front panel and keyboard Us...

Page 123: ...nel and keyboard are unlocked NR1 1 indicates the front panel and keyboard are locked SYSTem KLOCk ON locks the front panel and keyboard SYSTem KLOCk might return 1 which indicates that the front pane...

Page 124: ...d settings SYSTem TIME This command sets the internal clock System SYSTem DATE SYSTem TIME hour minute second SYSTem TIME SYSTem TIME hour minute second hour minute second hour NRf ranges 0 to 23 minu...

Page 125: ...s 0 to 59 SYSTem UPTime might return 3 18 52 with which indicates 3 hours 18 minutes and 52 seconds have elapsed after you powered on the waveform generator SYSTem VERSion Query Only This command retu...

Page 126: ...Gger SEQuence IMMediate TRG TRG None TRG generates a trigger event TRIGger SEQuence IMMediate No Query Form This command generates a trigger event This command is equivalent to the TRG command or pres...

Page 127: ...e3 1 kW At RST the value is set to 1 kW TRIGger SEQuence IMPedance 50 selects 50 W impedance for the external trigger input TRIGger SEQuence LEVel This command sets the trigger level on the selected S...

Page 128: ...r AWGControl RMODe TRIGger SEQuence LEVel TRIGger SEQuence POLarity Positive Negative TRIGger POLarity TRIGger SEQuence POLarity space Positive Negative Positive means the gate signal is activated whe...

Page 129: ...gative Positive means the event occurs on the rising edge of the external trigger signal Negative means the event occurs on the falling edge of the external trigger signal At RST the parameter is set...

Page 130: ...he internal clock as the trigger source TRIGger SEQuence TIMer This command sets the period of the internal clock when you select the internal clock as the trigger source with the TRIGger SEQuence SOU...

Page 131: ...nostic IMMediate TST TST None NR1 0 Terminated without error 330 Selftest failed TST might return 330 indicating the selftest failed WAI No Query Form This command prevents the waveform generator from...

Page 132: ...ions 2 102 AWG710 Arbitrary Waveform Generator Programmer Manual OPC WAI WAI None WAI prevents the execution of any commands or queries until all pending operations complete Related Commands Syntax Ar...

Page 133: ...orm Generator Command Execution Controller Retrieve Operation Response Message Queuing Output Queue External Controller Output Queue Controller CALL IBRD SOURce FREQuency 1 000 Figure 2 7 Retrieving r...

Page 134: ...Retrieving Response Messages 2 104 AWG710 Arbitrary Waveform Generator Programmer Manual...

Page 135: ...ns waveform data in single precision floating point format H The Pattern file contains waveform data in binary format H The Sequence file defines the output sequence H The Equation file uses numeric f...

Page 136: ...tern file format is composed of 2 bytes including data and markers see page 2 108 for format details Following are some guidelines for choosing either the Waveform file or Pattern file to ouput wavefo...

Page 137: ...n Num_bytes Num_bytes is the byte count of the data that follows Data n Waveform Marker Waveform is the single precision floating point number of 4 byte Little Endian format specified in IEEE488 2 The...

Page 138: ...File Header Body Trailer where Header MAGIC space 2000 CR LF Body Num_digits Num_bytes Data 1 Data 2 Data n Num_digits is the number of digits in Num_bytes Num_bytes is the byte count of the data that...

Page 139: ...ace N Line 1 Line 2 Line n N is the number of lines that follow Line n CH1_file_name CH2_file_name Repeat_count Wait_trigger Goto 1 Logic_jump_target Goto N CR LF CHx_file_name string is the waveform...

Page 140: ...or off NR1 0 is Off 0 is On and 0 is Ignore The default is Ignore Jump_mode JUMP_MODE space LOGIC TABLE SOFTWARE CR LF sets the jump mode The default is TABLE Jump_timing JUMP_TIMING space SYNC ASYNC...

Page 141: ...ine of the Equation file From single quotation marks to the end of the line is a comment Characters enclosed in double quotation marks are a character string Detailed information about the functions a...

Page 142: ...2 The Code Convert File format Code Convert File Bit_pattern 1 Bit_pattern 2 Bit_pattern n where Bit_pattern n Past Source Current Source Next Source Past Output Output Code CR LF Past Source Current...

Page 143: ...owing command to transfer data from the external controller to the waveform generator MMEMory DATA file_name data This command downloads data into the file file_name on the internal hard disk floppy d...

Page 144: ...ntroller MMEMory DATA file_name This command uploads the file file_name on the internal hard disk floppy disk or the network drive The response format is in IEEE488 2 block format For example the foll...

Page 145: ...Status and Events...

Page 146: ......

Page 147: ...2 and SCPI standards Use the status reporting function to check for instrument errors and to identify the types of events that have occurred on the instrument Figure 3 1 is a diagram of the instrument...

Page 148: ...n Error Command Error User Request Power On 0 1 2 3 4 5 6 7 Standard Event Status Block FREQuency 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Operation Condition Register OCR Operation Event Register OEVR O...

Page 149: ...n Condition Register OCR the Operation Event Register OEVR and the Operation Enable Register OENR Refer to the Operation Status Block shown in the middle of Figure 3 1 on page 3 2 When the instrument...

Page 150: ...ether to set events that occur in the instrument to the appropriate bits in the status registers and event queues You can set this register Status Registers There are six types of status registers H S...

Page 151: ...led the Request Service RQS bit and indicates to the controller that a service request has occurred in other words that the GPIB bus SRQ line is LOW The RQS bit is cleared when serial poll ends When t...

Page 152: ...following reasons H A value designated in the argument is outside the allowable range of the instrument or is in conflict with the capabilities of the instrument H The command could not be executed pr...

Page 153: ...whether the instrument is being calibrated This bit is set when calibration is in progress and is reset when calibration ends In this instrument this register has the same content as the Operation Co...

Page 154: ...register see Figure 3 6 You can use this register to designate whether or not the SBR ESB bit should be set when an event has occurred and to determine if the corresponding SESR bit is set To set the...

Page 155: ...gister to define whether or not the OSS bit in the SBR is set when an event occurs and the corresponding OEVR bit is set Use the STATus OPERation ENABle command to set the bits in the OENR Use the STA...

Page 156: ...tput queue is emptied however the operation proceeds even if an error occurs The event queue is a FIFO queue which stores events as they occur in the instrument If more than 64 events are stored the 6...

Page 157: ...ster OEVR Read using STATus OPERation EVENt Cannot be written Figure 3 10 Status and Event processing sequence Operation status block As illustrated in Figure 3 11 when an event occurs a signal is sen...

Page 158: ...one and a service request is generated 6 Standard Event Status Register SESR Read using ESR Cannot be written Event Status Enable Register ESER Read using ESE Write using ESE Status Byte Register SBR...

Page 159: ...the front panel The UTILITY menu appears on the screen 2 Press the Status bottom menu button to display the Status submenu 3 Press the SCPI registers side menu button to display the status and event s...

Page 160: ...y are sent from the external controller The following synchronization commands are included to ensure compliance with the SCPI standard WAI OPC OPC Messages Tables 3 6 through 3 14 show the codes and...

Page 161: ...Table 3 5 Definition of event codes Event class Code range Description No error 0 No event or status Command errors 100 to 199 Command syntax errors Execution errors 200 to 299 Command execution erro...

Page 162: ...alid character 102 Syntax error 103 Invalid separator 104 Data type error 105 GET not allowed 108 Parameter not allowed 109 Missing parameter 110 Command header error 111 Header separator error 112 Pr...

Page 163: ...a error 141 Invalid character data 144 Character data too long 148 Character data not allowed 150 String data error 151 Invalid string data 158 String data not allowed 160 Block data error 161 Invalid...

Page 164: ...st due to RTL 203 Command protected 210 Trigger error 211 Trigger ignored 212 Arm ignored 213 Init ignored 214 Trigger deadlock 215 Arm deadlock 220 Parameter error 221 Settings conflict 222 Data out...

Page 165: ...Macro syntax error 272 Macro execution error 273 Illegal macro label 274 Macro parameter error 275 Macro definition too long 276 Macro recursion error 277 Macro redefinition not allowed 278 Macro hea...

Page 166: ...specific errors Error code Error message 300 Device specific error 310 System error 311 Memory error 312 PUD memory lost 313 Calibration memory lost 314 Save recall memory lost 315 Configuration memor...

Page 167: ...rror 410 query INTERRUPTED 420 query UNTERMINATED 430 query DEADLOCKED 440 query UNTERMINATED after indefinite response Power On Events These events occur when the instrument detects an off to on tran...

Page 168: ...le 3 12 Request control events Event code Event message 700 Request control Operation Complete Events This event occurs when the instrument s synchronization protocol having been enabled by an OPC com...

Page 169: ...lure 1611 CH1 x5dB 1 Attenuator calibration failure 1614 CH1 x5dB 1 Attenuator calibration failure 1621 CH1 x5dB 2 Attenuator calibration failure 1624 CH1 x5dB 2 Attenuator calibration failure 1631 CH...

Page 170: ...a invalid 3000 Run mode failure 3100 Run mode control register0 failure 3101 to 3108 Run mode control1 register bit0 to bit7 3200 Run mode control register1 failure 3201 Run mode control register1 reg...

Page 171: ...0 to select 35 7000 Output failure 7100 Internal offset failure 7101 CH1 internal offset 7104 CH1 internal offset 7200 Output offset failure 7201 CH1 output offset 7204 CH1 output offset 7300 Arb gain...

Page 172: ...th 9113 Waveform Sequence load error waveform length too short 9114 Waveform Sequence load error waveform length changed 9121 Sequence load error missing file name in sequence 9122 Sequence load error...

Page 173: ...Examples...

Page 174: ......

Page 175: ...rograms run on a PC compatible system To use the GPIB interface your PC compatible system must be equipped with a National Instruments GPIB board and associated drivers GPIB programs are also compatib...

Page 176: ...Programming Examples 4 2 AWG710 Arbitrary Waveform Generator Programmer Manual...

Page 177: ...Appendices...

Page 178: ......

Page 179: ...C 67 S 83 c 99 s 115 4 4 20 36 4 52 D 68 T 84 d 100 t 116 5 5 21 37 5 53 E 69 U 85 e 101 u 117 6 6 22 38 6 54 F 70 V 86 f 102 v 118 7 7 23 39 7 55 G 71 W 87 g 103 w 119 8 8 24 40 8 56 H 72 X 88 h 104...

Page 180: ...3 47 LA7 27 39 67 LA23 7 37 55 107 TA7 G 47 71 127 TA23 W 57 87 147 SA7 g 67 103 167 SA23 w 77 119 1 0 0 0 10 GET BS 8 8 30 SPE CAN 18 24 50 LA8 28 40 70 LA24 8 38 56 110 TA8 H 48 72 130 TA24 X 58 88...

Page 181: ...le B 1 GPIB interface function implementation Interface function Implemented subset Capability Acceptor Handshake AH AH1 Complete Source Handshake SH SH1 Complete Talker T T6 Basic Talker Serial Poll...

Page 182: ...t data over the interface This capability is available only when the device is addressed to listen and uses a one byte address H Service Request SR Enables a device to request service from the control...

Page 183: ...hows 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 DCL Yes GET Yes GTL...

Page 184: ...Disable PPD which are placed on the bus following the PPC command PPE enables a device with parallel poll capability to respond on a particular data line PPD disables the device from responding to th...

Page 185: ...e The following lists the differences between the GPIB interface and the Ethernet interface H The Line Feed LF code is needed as a terminator at the end of a message H The IEEE 488 1 standard for inst...

Page 186: ...Appendix C Network Interface Specification C 2 AWG710 Arbitrary Waveform Generator Programmer Manual...

Page 187: ...fined in SCPI 1999 0 Not defined in SCPI 1999 0 ABORt n ABSTouch n AWGcontrol DOUTput STATe n ENHanced SEQuence JMODe n EVENt LOGic IMMediate n SOFTware IMMediate n TABLe IMMediate n FG FREQuency CW F...

Page 188: ...tion n DEVice COLor n LANGuage n IMMediate n SDUMp IMMediate n MMEMory CATalog n CDIRectory n CLOSe n COPY n DATA n DELete n FEED n INITialize n MDIRectory n MSIS n MOVE n NAME n OPEN n OUTPut FILTer...

Page 189: ...CONDition n ENABle n PRESet n QUEStionable EVENt n CONDition n ENABle n SYSTem BEEPer IMMediate n COMMunicate LAN DHCP CLIent LEASe TIME n LAN DHCP CLIent STATe n LAN FTP SERVer STATe n VERSion n GATe...

Page 190: ...ator Programmer Manual Table D 1 SCPI conformance information Cont Command Not defined in SCPI 1999 0 Defined in SCPI 1999 0 TRIGger SEQuence IMMediate n IMPedance n LEVel n POLarity n SLOPe n SOURce...

Page 191: ...1 Factory initialization settings Header Default settings AWGcontrol commands AWGControl DOUTput 1 0 AWGControl ENHanced SEQuence JMODe TABLe AWGControl FG FREQuency CW FIXed 20 0MHz AWGControl FG1 F...

Page 192: ...FREQuency 9 9E 37 OUTPut 1 ISTAte 0 OUTPut 1 STATe 0 Source commands SOURce 1 COMBine FEED null SOURce 1 FREQuency CW FIXed 1 0000000E 8 SOURce 1 FUNCtion USER null MAIN SOURce 1 MARKer 1 2 VOLTage L...

Page 193: ...Vice x ADDRess 1 null SYSTem COMMunicate LAN RDEVice x FSYStem 1 null SYSTem COMMunicate LAN RDEVice x NAME 1 NET x SYSTem COMMunicate LAN RDEVice x PROTocol 1 NFS SYSTem COMMunicate LAN RDEVice x STA...

Page 194: ...Appendix E Factory Initialization Settings E 4 AWG710 Arbitrary Waveform Generator Programmer Manual...

Page 195: ...Glossary and Index...

Page 196: ......

Page 197: ...ller A computer or other device that sends commands to and accepts responses from the digitizing oscilloscope EOI A mnemonic referring to the control line End or Identify on the GPIB interface bus One...

Page 198: ...Glossary Glossary 2 AWG710 Arbitrary Waveform Generator Programmer Manual...

Page 199: ...diate 2 30 AWGControl EVENt TABLe IMMediate 2 31 AWGControl FG FREQuency CW FIXed 2 31 AWGControl FG1 FUNCtion SHAPe 2 32 AWGControl FG1 POLarity 2 33 AWGControl FG1 PULSe DCYCle 2 34 AWGControl FG ST...

Page 200: ...F Factory initialization settings E 1 File Code Convert 2 112 equation 2 111 Pattern 2 108 Sequence 2 109 Waveform 2 107 Function Groups 2 13 G GET B 3 Go to local B 3 GPIB Configurations 1 6 Connect...

Page 201: ...e Register ESER 3 8 Operation Condition Register OCR 3 7 Operation Enable Register OENR 3 9 Operation Event Register OEVR 3 7 Questionable Condition Register OCR 3 7 Questionable Enable Register QENR...

Page 202: ...nd 2 1 diagrams 2 12 Syntax diagrams 1 1 System command group 2 22 System commands IDN 2 52 OPT 2 63 RST 2 67 SYSTem BEEPer IMMediate 2 79 SYSTem COMMunicate LAN DHCP CLI ent LEASe TIME 2 79 SYSTem CO...

Page 203: ...MMediate 2 93 SYSTem TIME 2 94 SYSTem UPTime 2 95 SYSTem VERSion 2 95 T TCT B 3 Transfer data 2 105 TRG 2 96 Trigger command group 2 24 Trigger commands TRG 2 96 ABORt 2 25 TRIGger SEQuence IMMediate...

Page 204: ...Index Index 6 AWG710 Arbitrary Waveform Generator Programmer Manual...

Page 205: ......

Page 206: ......

Reviews: