Tektronix AWG710 Programmer's Manual

Tektronix AWG710 Programmer's Manual

4gs/s arbitrary waveform generator
Hide thumbs Also See for AWG710:
Table of Contents

Advertisement

Quick Links

Programmer Manual
AWG710
4GS/s Arbitrary Waveform Generator
070-A829-50
This document applies to firmware version 3.0
and above.
www.tektronix.com

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the AWG710 and is the answer not in the manual?

Questions and answers

Summary of Contents for Tektronix 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 Copyright © Tektronix Japan, Ltd. All rights reserved. Copyright © Tektronix, Inc. All rights reserved. Tektronix products are covered by U.S. and foreign patents, issued and pending. Information in this publication supercedes that in all previously published material. Specifications and price change privileges reserved.
  • 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.
  • Page 5: Table Of Contents

    ........2–44 AWG710 Arbitrary Waveform Generator Programmer Manual...
  • Page 6 ....2–81 SYSTem:COMMunicate:LAN:FTP[:SERVer]:VERSion (?) ....2–81 AWG710 Arbitrary Waveform Generator Programmer Manual...
  • Page 7 ..........3–18 AWG710 Arbitrary Waveform Generator Programmer Manual...
  • Page 8 ....D–1 Appendix E: Factory Initialization Settings ..... E–1 Glossary and Index AWG710 Arbitrary Waveform Generator Programmer Manual...
  • Page 9: List Of Tables

    ......2–18 Table 2–10: Mass storage in AWG710 ......
  • Page 10 ..... D–1 Table E–1: Factory initialization settings ..... . E–1 AWG710 Arbitrary Waveform Generator Programmer Manual...
  • Page 11: List Of Figures

    Figure 3–8: The Operation Enable Register (OENR) ... . . 3–9 Figure 3–9: The Questionable Enable Register (QENR) ... 3–9 AWG710 Arbitrary Waveform Generator Programmer Manual...
  • Page 12 ......3–13 Figure 4–1: Equipment needed to run the GPIB example programs 4–1 viii AWG710 Arbitrary Waveform Generator Programmer Manual...
  • Page 13: Preface

    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.
  • Page 14 Preface AWG710 Arbitrary Waveform Generator Programmer Manual...
  • Page 15: Getting Started

    Getting Started...
  • Page 17: Manual Overview

    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 –...
  • Page 18: Figure 1-2: Functional Groupings And Alphabetical List Of Commands

    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...
  • Page 19: Figure 1-3: Basic Operation Of Status And Events Reporting

    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...
  • Page 20: Setting Up Remote Communications Using Gpib

    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...
  • Page 21: Figure 1-6: How To Stack Gpib Connectors

    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...
  • Page 22: Figure 1-7: Typical Gpib Network Configurations

    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...
  • Page 23: Figure 1-8: Selecting The Gpib Configuration And Address

    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...
  • Page 24: Setting Up Remote Communications 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 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.
  • Page 26: Figure 1-10: Setting The Network Parameters

    Getting Started Network parameters Figure 1-10: Setting the Network parameters 1-10 AWG710 Arbitrary Waveform Generator Programmer Manual...
  • Page 27: Figure 1-11: Message Box To Indicate The Establishment Of Communication

    "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...
  • Page 28 Getting Started 1-12 AWG710 Arbitrary Waveform Generator Programmer Manual...
  • Page 29: Syntax And Commands

    Syntax and Commands...
  • Page 31: Command Syntax

    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...
  • Page 32: Scpi Commands And Queries

    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...
  • Page 33: Table 2-2: Query Response Examples

    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...
  • Page 34: Table 2-3: Parameter Types Used In Syntax Descriptions

    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...
  • Page 35: Figure 2-2: Example Of Abbreviating A Command

    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...
  • Page 36: Figure 2-3: Example Of Chaining Commands And Queries

    :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...
  • Page 39: Ieee 488.2 Common Commands

    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...
  • Page 40: Constructed Mnemonics

    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...
  • Page 42: Syntax Diagrams

    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...
  • Page 43: Command Groups

    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...
  • Page 44: 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 for each command is shown in uppercase characters. 2-14 AWG710 Arbitrary Waveform Generator Programmer Manual...
  • Page 45 SYSTem:KLOCk MMEMory:INITialize SYSTem:SECurity:IMMediate MMEMory:MDIRectory SYSTem:TIME MMEMory:MOVE SYSTem:UPTime? MMEMory:MSIS SYSTem:VERSion? MMEMory:NAME Trigger commands MMEMory:OPEN ABORt Output commands *TRG OUTPut1:FILTer:LPASs:FREQuency TRIGger:SEQuence:IMMediate OUTPut1:ISTATe TRIGger:SEQuence:IMPedance OUTPut1:STATe TRIGger:SEQuence:LEVel Source commands TRIGger:SEQuence:POLarity SOURce1:FREQuency:CW|:FIXed SOURce1:FUNCtion:USER TRIGger:SEQuence:SLOPe SOURce1:MARKer<y>:VOLTage:LEVel:IMMediate:HIGH TRIGger:SEQuence:SOURce SOURce1:MARKer<y>:VOLTage:LEVel:IMMediate:LOW TRIGger:SEQuence:TIMer 2-15 AWG710 Arbitrary Waveform Generator Programmer Manual...
  • Page 46: Command Summaries

    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...
  • Page 47: Table 2-6: Calibration Commands

    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...
  • Page 48: Table 2-9: Hardcopy Commands

    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...
  • Page 49: Table 2-10: Mass Storage In Awg710

    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...
  • Page 50: Table 2-12: Output Commands

    [: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...
  • Page 51: Table 2-14: Status Commands

    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...
  • Page 52: Table 2-16: System Commands

    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...
  • Page 54: Table 2-17: Trigger Commands

    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...
  • Page 55: Command Descriptions

    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...
  • Page 56: Abstouch (No Query Form)

    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...
  • Page 57: Figure 2-6: Abstouch Arguments And Front Panel

    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...
  • Page 58: Awgcontrol:doutput[1][:State] (?)

    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...
  • Page 59: Awgcontrol:enhanced:sequence[:Jmode] (?)

    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...
  • Page 60: Awgcontrol:event:software[:Immediate] (No Query Form)

    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...
  • Page 61: Awgcontrol:event:table[:Immediate] (No Query Form)

    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...
  • Page 62: Awgcontrol:fg[1]:Function[:Shape] (?)

    AWGControl:FG[1]:FUNCtion[:SHAPe] <shape> AWGControl:FG[1]:FUNCtion[:SHAPe] ? SINusoid AWGControl TRIangle SQUare RAMP PULSe SHAPe <space> FUNCtion Arguments SINusoid selects a sine wave function waveform. TRIangle selects a triangle function waveform. SQUare selects a square wave function waveform. 2-32 AWG710 Arbitrary Waveform Generator Programmer Manual...
  • Page 63: Awgcontrol:fg[1]:Polarity (?)

    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...
  • Page 64: Awgcontrol:fg[1]:Pulse:dcycle (?)

    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...
  • Page 65: Awgcontrol:fg[:State] (?)

    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...
  • Page 66: Awgcontrol:fg[1]:Voltage[:Level][:Immediate]:Offset (?)

    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...
  • Page 67: Awgcontrol:rmode (?)

    AWGControl:RUN[:IMMediate], AWGControl:STOP[:IMMediate], [SOURce[1]]:FUNCtion:USER, *TRG Syntax AWGControl:RMODe { CONTinuous | TRIGgered | GATed | ENHanced } AWGControl:RMODe? CONTinuous TRIGgered <space> GATed ENHanced AWGControl RMODe Arguments You can select the modes listed in Table 2–18. 2-37 AWG710 Arbitrary Waveform Generator Programmer Manual...
  • Page 68: Awgcontrol:rstate? (Query Only)

    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...
  • Page 69: Awgcontrol:run[:Immediate] (No Query Form)

    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...
  • Page 70: Awgcontrol:srestore (No Query Form)

    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...
  • Page 71: Awgcontrol:stop[:Immediate] (No Query Form)

    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...
  • Page 72: Cal? (Query Only)

    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...
  • Page 73: Cls (No Query Form)

    *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...
  • Page 74: Diagnostic:data? (Query Only)

    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...
  • Page 75: Diagnostic[:Immediate] (?)

    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...
  • Page 76: Diagnostic:select (?)

    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...
  • Page 77: Display:enable (?)

    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...
  • Page 78: Ese (?)

    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...
  • Page 79: Esr? (Query Only)

    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...
  • Page 80: Hcopy:device:color (?)

    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...
  • Page 81: Hcopy:device:language (?)

    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...
  • Page 82: Hcopy:sdump[:Immediate] (No Query Form)

    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...
  • Page 83: Mmemory:catalog? (Query Only)

    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...
  • Page 84: Mmemory:cdirectory (?)

    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...
  • Page 85: Mmemory:close (No Query Form)

    Group Mass Memory Related Commands MMEMory:CDIRectory, MMEMory:DELete, MMEMory:MSIS Syntax MMEMory:COPY <file_source>,<file_destination> MMEMory COPY <space> <file_source> <file_destination> Arguments <file_source>::=<file_name>[,<msus>] <file_destination>::=<file_name>[,<msus>] where: <file_name>::=<string> is the source or destination file name. 2-55 AWG710 Arbitrary Waveform Generator Programmer Manual...
  • Page 86: Mmemory:data (?)

    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...
  • Page 87: Mmemory:delete (No Query Form)

    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...
  • Page 88: Mmemory:initialize (No Query Form)

    <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...
  • Page 89: Mmemory:mdirectory (No Query Form)

    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...
  • Page 90: Mmemory:move (No Query Form)

    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...
  • Page 91: Mmemory:name (?)

    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...
  • Page 92: Mmemory:open (No Query Form)

    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...
  • Page 93: Opc (?)

    *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...
  • Page 94: Output[1]:Filter[:Lpass]:Frequency (?)

    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...
  • Page 95: Output[1]:Istate (?)

    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...
  • Page 96: Psc (?)

    *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...
  • Page 97: Rst (No Query Form)

    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...
  • Page 98: [Source[1]]:Frequency[:Cw|Fixed] (?)

    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...
  • Page 99: [Source[1]]:Marker[1|2]:Voltage[:Level][:Immediate]:High (?)

    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...
  • Page 100: [Source[1]]:Marker[1|2]:Voltage[:Level][:Immediate]:Low (?)

    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...
  • Page 101: [Source[1]]:Roscillator:source (?)

    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...
  • Page 102: [Source[1]]:Voltage[:Level][:Immediate][:Amplitude] (?)

    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...
  • Page 103: Sre (?)

    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...
  • Page 104: Status:operation:condition? (Query Only)

    <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...
  • Page 105: Status:operation:enable (?)

    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...
  • Page 106: Status:preset (No Query Form)

    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...
  • Page 107: Status:questionable:enable (?)

    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...
  • Page 108: Status:questionable[:Event]? (Query Only)

    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...
  • Page 109: System:beeper[:Immediate] (No Query Form)

    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...
  • Page 110: System:communicate:lan:dhcp[:Client][:State] (?)

    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...
  • Page 111: System:communicate:lan:ftp[:Server][:State] (?)

    *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...
  • Page 112: System:communicate:lan:gateway[1|2|3]:Address (?)

    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>...
  • Page 113: System:communicate:lan:nfs:tlimit (?)

    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...
  • Page 114: System:communicate:lan:rdevice[1|2|3]:Address (?)

    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...
  • Page 115: System:communicate:lan:rdevice[1|2|3]:Fsystem (?)

    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...
  • Page 116: System:communicate:lan:rdevice[1|2|3]:Protocol (?)

    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...
  • Page 117: System:communicate:lan:rdevice[1|2|3][:State] (?)

    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.
  • Page 118: System:communicate:lan[:Self]:Maddress? (Query Only)

    <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...
  • Page 119: System:communicate:lan[:Self]:Smask (?)

    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>...
  • Page 120: System:date (?)

    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.
  • Page 121: System:kdirrection (?)

    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...
  • Page 122: System:keyboard[:Type] (?)

    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 }...
  • Page 123: System:security:immediate (No Query Form)

    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...
  • Page 124: System:time (?)

    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...
  • Page 125: System:uptime? (Query Only)

    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...
  • Page 126: Trg (No Query Form)

    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...
  • Page 127: Trigger[:Sequence]:Impedance (?)

    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...
  • Page 128: Trigger[:Sequence]:Polarity (?)

    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...
  • Page 129: Trigger[:Sequence]:Slope (?)

    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...
  • Page 130: Trigger[:Sequence]:Timer (?)

    <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...
  • Page 131: Tst? (Query Only)

    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...
  • Page 133: Retrieving Response Messages

    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...
  • Page 134 Retrieving Response Messages 2-104 AWG710 Arbitrary Waveform Generator Programmer Manual...
  • Page 135: Data Transfer

    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...
  • Page 136: About Waveform And Pattern Files

    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...
  • Page 137: Figure 2-8: The Waveform File Format

    00 00 00 00 03 00 00 00 00 00 43 4C 4F 43 4B 20 ...CLOCK 31 2E 30 30 30 30 30 30 30 30 30 30 65 2B 30 38 1.0000000000E+08 0D 0A 2-107 AWG710 Arbitrary Waveform Generator Programmer Manual...
  • Page 138: Figure 2-9: The Pattern File Format

    <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.
  • Page 139: Figure 2-10: The Sequence File Format

    [,<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...
  • Page 141: Figure 2-11: The Equation File Format

    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.
  • Page 142: Figure 2-12: The Code Convert File Format

    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...
  • Page 143: Data Transfer Procedures

    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...
  • Page 145: Status And Events

    Status and Events...
  • Page 147: Status And Event Reporting

    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...
  • Page 148: Figure 3-1: Error And Event Handling Process Overview

    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...
  • Page 149: Standard/Event Status Block

    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...
  • Page 150: Registers

    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...
  • Page 151: Table 3-1: Sbr Bit Functions

    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...
  • Page 152: Table 3-2: Sesr Bit Functions

    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...
  • Page 153: Table 3-3: Ocr Bit Functions

    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...
  • Page 154: Enable Registers

    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...
  • Page 155: Figure 3-7: The Service Request Enable Register (Srer)

    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...
  • Page 156: Queues

    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...
  • Page 157: Status And Event Processing Sequence

    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...
  • Page 159: I/O Status And Event Screen

    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...
  • Page 160: Synchronizing Execution

    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...
  • Page 161: Messages And Codes

    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...
  • Page 162: Command Errors

    -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...
  • Page 163 -168 Block data not allowed -170 Expression error -171 Invalid expression -178 Expression data not allowed -180 Macro error -181 Invalid outside macro definition -183 Invalid inside macro definition -184 Macro parameter error 3-17 AWG710 Arbitrary Waveform Generator Programmer Manual...
  • Page 164: Execution Errors

    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...
  • Page 166: Table 3-8: Device Specific Errors

    -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...
  • Page 167: Table 3-9: Query Errors

    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 168: Table 3-12: Request Control Events

    Operation Complete Events This event occurs when the instrument’s synchronization protocol, having been enabled by an *OPC command, completes all selected pending operations. Table 3-13: Operation complete events Event code Event message -800 Operation complete 3-22 AWG710 Arbitrary Waveform Generator Programmer Manual...
  • Page 169: Table 3-14: Device Errors

    Messages and Codes Device Errors The error codes in Table 3–14 are unique to AWG710. Table 3-14: Device errors Error code Error message 1101 CH1 Internal Offset calibration failure 1104 CH1 Internal Offset calibration failure 1201 CH1 Output Offset calibration failure...
  • Page 170 5351 to 5352 Sequence memory chip select 0 to select 1 6000 Waveform memory failure 6100 CH1 Waveform memory data bus failure 6101 to 6132 CH1 Waveform memory data bus bit0 to bit31 3-24 AWG710 Arbitrary Waveform Generator Programmer Manual...
  • Page 171 CH1 10dB attenuator 7534 CH1 10dB attenuator 7540 20dB attenuator failure 7541 CH1 20dB attenuator 7544 CH1 20dB attenuator 7610 20MHz filter failure 7611 CH1 20MHz filter 7614 CH1 20MHz filter 7620 50MHz filter failure 3-25 AWG710 Arbitrary Waveform Generator Programmer Manual...
  • Page 172: Awg710 Arbitrary Waveform Generator Programmer Manual

    Sequence load error: infinite loop and Goto One not allowed 9129 Sequence load error: infinite loop and Goto <N> not allowed 9151 Waveform load warning: output disabled in some channels 9152 Waveform/Sequence output warning: output disabled 3-26 AWG710 Arbitrary Waveform Generator Programmer Manual...
  • Page 173 Examples...
  • 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...
  • Page 176 Programming Examples AWG710 Arbitrary Waveform Generator Programmer Manual...
  • Page 177 Appendices...
  • Page 179: Table A-1: The Awg Character Set

    Appendix A: Character Charts Table A-1: The AWG character set space " & < > rubout AWG710 Arbitrary Waveform Generator Programmer Manual...
  • Page 180: Table A–2: Ascii & Gpib Code Chart

    UNIVERSAL LISTEN TALK SECONDARY ADDRESSES COMMANDS COMMANDS ADDRESSES ADDRESSES OR COMMANDS Tektronix octal GPIB code (with ATN asserted) REF: ANSI STD X3.4 1977 ASCII character IEEE STD 488.1 1987 decimal ISO STD 646 2973 AWG710 Arbitrary Waveform Generator Programmer Manual...
  • Page 181: Appendix B: Gpib Interface Specification

    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...
  • Page 183: Message

    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 186 Appendix C: Network Interface Specification AWG710 Arbitrary Waveform Generator Programmer Manual...
  • Page 187: Appendix D: Scpi Conformance Information

    [IMMediate] FREQuency [CW|FIXed] FUNCtion [SHAPe] POLarity PULSe DCYCle [STATe] VOLTage [LEVel] [IMMediate] [AMPLitude](?) VOLTage [LEVel] [IMMediate] OFFSet(?) RMODe(?) RSTATe? [IMMediate] SREStore SSAVe STOP [IMMediate] CALibration [ALL](?) DIAGnostic DATA? [IMMediate](?) SELect(?) DISPlay ENABle(?) HILight COLor(?) AWG710 Arbitrary Waveform Generator Programmer Manual...
  • Page 188 FEED(?) INITialize MDIRectory MSIS(?) MOVE NAME(?) OPEN OUTPut FILTer [LPASs] FREQuency(?) ISTate(?) [STATe](?) SOURce FREQuency [CW|FIXed](?) FUNCtion USER(?) MARKer VOLTage [LEVel] [IMMediate] HIGH(?) VOLTage [LEVel] [IMMediate] LOW(?) ROSCillator SOURce(?) VOLTage [LEVel] [IMMediate] [AMPLitude](?) OFFSet(?) AWG710 Arbitrary Waveform Generator Programmer Manual...
  • Page 189 TIME(?) DHCP [CLIent] [STATe](?) FTP [SERVer] [STATe](?) VERSion(?) GATeway ADDRess(?) TLIMit(?) PING? RDEVice ADDRess(?) FSYStem(?) NAME(?) PROTocol(?) [STATe](?) [SELF] ADDRess(?) MADDress(?) SMASk(?) DATE(?) ERRor [NEXT]? KDIRection(?) KEYBoard [TYPE](?) KLOCk(?) SECurity IMMediate TIME(?) UPTime? VERSion? 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 192 9.9E+37 OUTPut[1]:ISTAte OUTPut[1][:STATe] 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[:LEVel] 2.00 [:IMMediate]:HIGH [SOURce[1]]:MARKer[1|2]:VOLTage[:LEVel] 0.00 [:IMMediate]:LOW [SOURce[1]]:ROSCillator:SOURce INTernal [SOURce[1]]:VOLTage[:LEVel][:IMMediate] 1.000 [:AMPLitude] [SOURce[1]]:VOLTage[:LEVel][:IMMediate]: 0.000 OFFSet Status commands *ESE *PSC *SRE STATus:OPERation:ENABle STATus:QUEStionable:ENABle AWG710 Arbitrary Waveform Generator Programmer Manual...
  • Page 193 SYSTem:KEYBoard[:TYPE] ASCii SYSTem:KLOCK Trigger commands TRIGger[:SEQuence]:IMPedance 5.0E+1 TRIGger[:SEQuence]:LEVel TRIGger[:SEQuence]:POLarity POSitive TRIGger[:SEQuence]:SLOPe POSitive TRIGger[:SEQuence]:SOURce EXTernal TRIGger[:SEQuence]:TIMer 1.00E-1 GPIB Remote Control GPIB GPIB Address GPIB Confoguration Talk/Listen These commands are not affected by the *RST command. AWG710 Arbitrary Waveform Generator Programmer Manual...
  • Page 194 Appendix E: Factory Initialization Settings AWG710 Arbitrary Waveform Generator Programmer Manual...
  • Page 195 Glossary and Index...
  • 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...
  • Page 198 Glossary Glossary-2 AWG710 Arbitrary Waveform Generator Programmer Manual...
  • Page 199 Command syntax, 2-1 2-31 Commands AWGControl:FG1:FUNCtion[:SHAPe], 2-32 chaining, 2-6 AWGControl:FG1:POLarity, 2-33 Parts of, 1-1 AWGControl:FG1:PULSe:DCYCle, 2-34 structure of IEEE 488.2 commands, 2-9 AWGControl:FG[:STATe], 2-35 Constructed Mnemonics, 2-10 AWGControl:FG1:VOLTage[:LEVel][:IMMedi Creating commands, 2-3 ate][:AMPLitude], 2-35 Index-1 AWG710 Arbitrary Waveform Generator Programmer Manual...
  • Page 200 Factory initialization settings, E-1 MMEMory:DATA, 2-56 File MMEMory:DELete, 2-57 Code Convert, 2-112 MMEMory:FEED, 2-57 equation, 2-111 MMEMory:INITialize, 2-58 Pattern, 2-108 MMEMory:MDIRectory, 2-59 Sequence, 2-109 MMEMory:MOVE, 2-60 Waveform, 2-107 MMEMory:MSIS, 2-60 Function Groups, 2-13 Index-2 AWG710 Arbitrary Waveform Generator Programmer Manual...
  • Page 201 PPE, B-3 el][:IMMediate]:HIGH, 2-69 [SOURce[1]]:MARKer[1|2]:VOLTage[:LEV PPU, B-3 *PSC, 2-66 el][:IMMediate]:LOW, 2-70 [SOURce[1]]:ROSCillator:SOURce, 2-71 [SOURce[1]]:VOLTage[:LEVel][:IMMedi Queries, 2-3 ate][:AMPlitude], 2-72 Query Responses, 2-3 [SOURce[1]]:VOLTage[:LEVel][:IMMedi Queues, 3-10 ate]:OFFSet, 2-72 event, 3-10 [SOURce[1]]:FREQuency[:CW|FIXed], 2-68 output, 3-10 [SOURce[1]]:FUNCtion:USER, 2-68 Index-3 AWG710 Arbitrary Waveform Generator Programmer Manual...
  • Page 202 Synchronizing execution, 3-14 SYSTem:COMMunicate:LAN:FTP[:SERV Syntax er][:STATe], 2-81 Command, 2-1 SYSTem:COMMunicate:LAN:FTP[:SERV diagrams, 2-12 er]:VERSion, 2-81 Syntax diagrams, 1-1 SYSTem:COMMunicate:LAN:GATe System command group, 2-22 way[1|2|3]:ADDRess, 2-82 System commands SYSTem:COMMunicate:LAN:NFS:TLIMit, 2-83 *IDN?, 2-52 SYSTem:COMMunicate:LAN:PING?, 2-83 *OPT?, 2-63 Index-4 AWG710 Arbitrary Waveform Generator Programmer Manual...
  • Page 203 SYSTem:UPTime?, 2-95 Untalk, B-3 SYSTem:VERSion?, 2-95 *WAI, 2-101 TCT, B-3 Waveform and Pattern Files, 2-106 Transfer data, 2-105 Waveform File, 2-107 *TRG, 2-96 Where to find other information, ix Trigger command group, 2-24 Index-5 AWG710 Arbitrary Waveform Generator Programmer Manual...
  • Page 204 Index Index-6 AWG710 Arbitrary Waveform Generator Programmer Manual...

Table of Contents