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.
Tektronix, Inc., P.O. Box 500, Beaverton, OR 97077
TEKTRONIX and TEK are registered trademarks of Tektronix, Inc.
WARRANTY
Tektronix warrants that this product will be free from defects in materials and workmanship for a period of one (1)
year from the date of shipment. If any such product proves defective during this warranty period, Tektronix, at its
option, either will repair the defective product without charge for parts and labor, or will provide a replacement in
exchange for the defective product.
In order to obtain service under this warranty, Customer must notify Tektronix of the defect before the expiration of
the warranty period and make s uitable arrangements fo r the perform ance of service. Cu stomer shall be respo nsible for
packaging and shipping the defective product to the service center designated by Tektronix, with shipping charges
prepaid. T ektronix shall pay for the return of the product to Customer if the shipment is to a location within the country
in which the T e ktronix serv ice center is lo cated. Custo mer shall be respo nsible for payi ng all shippi ng char ges, duties,
taxes, and any other charges for products returned to any 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 service under this warranty a) to repair damage
resulting from attempts by personnel other than Tektronix representatives to install, repair or service the product; b) to
repair damage resulting from improper use or connection to incompatible equipment; or c) to service a product that
has been modified or integrated with other products when the effect of such modification or integration increases the
time or difficulty of servicing the product.
THIS WARRANTY IS GIVEN BY TEKTRONIX WITH RESPECT TO THIS PRODUCT IN LIEU OF ANY
OTHER WARRANTIES, EXPRESSED OR IMPLIED. TEKTRONIX AND ITS VENDORS DISCLAIM ANY
IMPLIED WARRANT IES OF MERCHANTABILITY OR FITNESS FOR A PART ICULAR PURPOSE.
TEKTRONIX’ RESPONSIBILITY TO REPAIR OR REPLACE DEFECTIVE PRODUCTS IS THE SOLE
AND EXCLUSIVE REMEDY PROVIDED TO THE CUSTOMER FOR BREACH OF THIS WARRANTY.
TEKTRONIX AND ITS VENDORS WILL NOT BE LIABLE FOR ANY INDIRECT, SPECIAL,
INCIDENTAL, OR CONSEQUENTIAL DAMAGES IRRESPECTIVE OF WHETHER TEKTRONIX OR
THE VENDOR HAS ADVANCE NOTICE OF THE POSSIBILITY OF SUCH DAMAGES.
Figure 3-10: Status and Event processing 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
This is the programmer manual for the AWG710 and AWG710B Arbitrary
Waveform Generators. This manual provides information necessary for operating
the instrument over both the G eneral Purpose Interface Bus (GPIB) and E thernet
interfaces.
This manual provides the following information:
The Getting Starte d section desc ribes ho w to connect and se t up the wa veform
generator for remote operation.
The Syntax and Commands section defines the command syntax and
processing conventions and describes each command in the waveform
generator command set.
The Status and Events section explains the status information and event
messages reported by the waveform generator.
The Programming Examples section describe s how to u se the Sample Pr ogram
floppy disk supplied with the waveform generator.
The Appendices section contains various tables of reference information.
Related Manuals
The Glossary and Index section contains a glossary of common terms and an
index to this manual.
Other docum entation for the waveform generator includes:
The AWG710 & AWG710B Arbitrary Waveform Generator User Manual
(Tektronix part number 071–1413–00) describes the operation of the
instrument.
The AWG710 Arbitrary Waveform Generator has GPIB and
10Base-T/100Base-TX Ethernet interface capability. You can write computer
programs that remote ly se t the fron t panel controls or that transf er w aveform data.
To help you get started with programming the waveform generator, this section
includes the following subs ections:
Manual Overview - summarizes the type of programming information
contained in each major section in this manual.
Setting Up Remote Communications Using GPIB - describes how to connect
the waveform generator to a controller through the GPIB interface, and how to
set the appropriate front panel controls.
Setting Up Remote Communications Using Ethernet - describes how to
connect the wa veform gener ator to a contro ller using the Et hernet interf ace and
how to set the appropriate front panel controls.
A summary of the information provided in each major section of this manual
follows:
Syntax and Commands
The Command Syntax subsection, which begins on page 2-1, describes the
structure and content of the messages your program sends to the waveform
generator. You can use the Standard Commands for Programmable Instruments
(SCPI) and IEEE 488.2 Common Commands. Figure 1-1 is an example of the
syntax and command parts diagrams used in the Command Syntax subsection.
The Command Syntax subsection also describes the result of each comm and, and
provides examples of how you might use it. The Command Groups subsection,
which begins on page 2-13, provides a command list by functional area. The
Command Descriptions subsection, which begins on page 2-25, arranges
commands alphabetically. Figure 1-2 illustrates the two kinds of command lists.
Tr ig ge r
Diagnostic Commands
Calibration Commands
D
D
D
Commands Grouped in Functional AreasandCommands Listed Alphabetically
Figure 1-2: Functional groupings and alphabetical list of commands
Status and Events
Reporting
The program may request information from the waveform generator. The
wavef orm generator p rovides inf ormation in th e form of status an d error message s.
Figure 1-3 on page 1-3 illustrates the basic operation of this system.
The Status and Eve nts Reporting subsect io n, whi ch begins on page 3-1, describes
how to use t he st at us r eporting functions that conform to SCPI and IEEE-488.2 in
your programs.
Figure 1-3: Basic operation of status and events reporting
The Programming Examples section, which begins on page 4-1, provides some
sample waveform generator programs. 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.
For remote operations, the instrument must be connected to the controller.
The wav ef orm 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.
Follow these rules when you use your waveform generator with a GPIB network:
Assign a unique de vice addr ess to each de vice on the b us. Two devices can not
share the same device address.
Do not connect more than 15 devices to one bus.
Connect one device for every 2 meters (6 feet) of cable used.
Do not use more than 20 meters (65 feet) of cable to connect devices to a bus.
While using the network, turn on at least two–thirds of th e devices on the
network.
Connect the devices on t he network in a st ar or l in ear configurat ion, as sho wn
in Figure 1-7. Do not use loop or parallel configurations.
GPIB Device
GPIB Device
GPIB Device
GPIB Device
GPIB Device
GPIB Device
GPIB Device
Setting the GPIB
Parameters
Figure 1-7: Typical GPIB network configurations
NOTE. Appendix C: Network Interface Specification provides more information
about the GPIB configuration of the waveform generator.
You must set the GPIB parameters of the waveform generator t o match the
configuration of the bus. F ollow the step s be low to set up the waveform ge ner at or
for the GPIB interface.
1. Press the UTILITY button to display the Utility screen.
2. Press the Comm menu button at the bottom of the screen.
3. Move the cursor to the Remote Control field using the up/down ("/#) arrow buttons, then select GPIB using the left/right (z/!) arrow buttons.
4. Move the cursor to the GPIB Configura tion field using the up/down ("/#)
arrow buttons, then select Talk/Listen using either the general purpose knob
or the left/right (z/!) arrow buttons. See Figure 1-8 on page 1-7.
5. Move the cursor to the GPIB Address field using the down (#) arrow button.
Set the address using 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 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.
You must set the network parameters of the waveform generator to match the
configuration of the net work. After you ha v e set these par ameters, you can contro l
the waveform generator throug h the Ethern et interface.
1. Press the UTILITY button to display the Utility screen.
2. Press the Comm menu button at the bottom of the screen.
3. Move the cursor to the Remote Control field using the up/down ("/#) arrow
buttons, then select Network using the left/right (z/!) arrow buttons.
4. Move the cursor to the Network IP Address field using the up/down ("/#)
arrow buttons, then press the Edit... button and set the address using the
keypad. See Figure 1-10 on page 1-10.
Manual operation:
a. Move the cursor to the DHCP Client field using the up/do wn ("/#) arrow
buttons, then press Disabled using the left/right (z/!) 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 the Subnet Mask field to set the address.
Using DHCP:
e.Move the cursor to the DHCP Client field us ing the up/down ("/#) arrow
buttons, then press Enabled using the left/right (z/!) arrow buttons.
f.AWG710 sends an acquisition request, then the server sends the address.
The address is displayed in the IP Address fie ld.
5. If necessary , use the Destination Network and Gateway Address fields to set
the destination network and the address.
You need to set the gateway address when the remote computers are
connecting to an other network t hat i s connected to th e n et w o rk via a gate w ay.
You can set up to three gateways.
Set the FTP server to Enabled for access to the hard disk sy stem of the
instrument from a remote computer.
If you are not familiar with the network setup, consult with your network
administrator.
After completing the connection and settings, verify that the waveform generator
can recognize the network and the remote computers, or if the network can
recognize the waveform generator. Follow these steps to use the “ping” command
to verify that the instrument can communicate with the network:
1. Press the UTILITY button to display the Utility screen.
2. Press the Network or Comm bottom menu button.
3. Press the Execute Ping side button 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 pac k et t o t h e r emot e c omput er spe ci fied by the IP
address. When the computer receives the packet, it sends the packet back to the
sender (waveform generator).
When the waveform generator can communicate with the remote computer
through the network the message in Figure 1-11 displays. If communication
failed, the message box displays an error message such as "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
This section contains general information about command structure and syntax
usage. You should familiarize yourself 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.
The waveform generator uses a command language based on the SCPI standard.
The SCPI (Standard Commands for Programmable Instruments) standard was
created by a consortium to provide guidelines for remote programming of
instruments. These guidelines provide a consistent programming environment for
instrument control and data transfe r. This environment use s defined progr amming
messages, i nstrument responses and data formats that operate across all S CPI
instruments, regardless of manufacturer.
The SCPI language is based on a hierarchical or tree structure that represents a
subsystem (see Figu re 2-1). The top le v el of t he tree is the root node; it is fo llo wed
by one or more lower–level nodes.
TRIGger
SEQuence
POLarity SOURceLEVe
Root node
Lower-level
nodes
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.
SCPI commands are created by stringing together the nodes of a subsystem
hierarchy and separating each node by a colon.
In Figure 2-1 on page 2-2, TRIGger is the root node and SEQuence, LEVel, POLarity, and SOURce are lower–level nodes. To create an SCPI command, start
with the root node TRIGger and move down the tree structure adding nodes until
you reach the end of a branch. Most commands and some queries hav e parameter s;
you must include a v a lue for these parameters. The command descriptions, which
begin on page 2-25, list the valid values for all parameters.
For example, :TRIGger:SEQuence:SOURce 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 question mark. :TRIGger:SEQuence:SOURce? is an
example of a valid SCPI query using the hierarchy tree in Figure 2-1 on page 2-2.
The query causes the waveform g ene rat or to r eturn information abou t its status or
settings. When a query is sent to the waveform generator, only the values are
returned. When th e returned v alue is a mne monic, it is note d in abbre viated format ,
as shown in Table 2-2.
Parameters ar e indicated by angle brackets , such as <f ile_name>. There a re sev eral
different types of parameters, as listed in Table 2-3. The parameter type is listed
after the parameter . Some para meter types are define d specifically fo r the A WG710
command set and some are defined by SCPI.
Table 2-3: Parameter types used in syntax descriptions
Parameter TypeDescriptionExample
arbitrary block A block of data 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>
booleanBoolean numbers or valuesON or ¸ 0 : x<= -0.5, 0.5 <= x
OFF or 0 : -0.5 < x < 0.5
discreteA list of specific valuesMIN, MAX
binaryBinary numbers#B0110
octalOctal numbers#Q75, #Q3
hexadecimal Hexadecimal numbers
(0-9, A- F)
NR1 numericIntegers0, 1, 15, -1
NR2
numericDecimal numbers1.2, 3.141516, -6.5
numericFloating point numbers3.1415E-9, -16.1E5
NR3
NRf
numericFlexible decimal number that
may be type NR1, NR2, or NR3
numeric_valueFlexible decimal number that
may be type NR1, NR2, NR3,
or specific value (MINimum,
MAXmum).
string
Alphanumeric characters
(must be within quotation
marks)
#HAA, #H1
See NR1, NR2, NR3 examples
in this table
See NR1, NR2, NR3 examples
in this table
“Testing 1, 2, 3”
About MIN, MAX
You can use MINimum and MAXimum keywords in addition to Numeric in the
commands with “numer ic_value” param eter. You can set the minimum value or
the maximum v alue by the use of this k eywords. You can query the minimum v alue
or the maximum value at tha time.
The Line Feed (LF) ch ar ac ter or t he New Line (NL) char act er ( AS CII 10) , and all
characters in the ran ge of ASCII 127–2 55 are defined as special cha rac ters . These
characters are used in arbitrary block arguments only; using these characters in
other parts of any command yields unpredictable results.
You can abbreviate most SCPI commands, queries , and parame ters t o an accept ed
short form. This manual shows 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 acc ept ed short form and th e l ong for m ar e
equivalent and request the same action of the instrument.
Long form of a
command
Accepted short form
of a command
:SOURce1:FREQuency 100
Minimum information needed
for accepted short form
:SOUR:FREQ 100
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.
You can chain several commands or queries together into a single message. To
create a chained message, first create a command or query, then add a semicolon
(;), and finally add more commands or q uer ies and semicolons un ti l you are done.
If the command following a semicolon is a root node, precede it with a colon (:).
Figure 2-3 illustrates a chained message consisting of several commands and
queries. The chained messa ge should end in a command or query, not a semicolon.
Responses to any queries in your message are separated by semicolons.
Figure 2-3: Example of chaining commands and queries
If a command or query has the same root and lower–level nodes as the previous
command or query, you can omit these nodes. In Figure 2-4, t he seco nd comma nd
has the same root node (SEQuence) as the first command, so these nodes can be
omitted.
If the decimal n um er ic argument refe rs to voltage, fr equ ency, impedanc e, o r t ime,
you can express it using SI units instead of using the scaled explicit point input
value format <NR3>. (SI units are units that conform to the System International
d’Unites standard.) For e xample, you c an use the i nput format 200 mV or 1.0 MHz
instead of 200.0E-3 or 1.0E+6, respectively, to specify voltage or frequency.
You can omit the unit, but you must include the SI unit prefix. You can use either
upper or lowercase units.
V or v for voltage
Hz, HZ, or hz for frequency
ohm, OHM, or Ohm for impedance
s or S for time
In the case of angle, you can use RADian and DEGree. The def ault unit is RADian.
The SI prefixes, which must be included, are shown below. Note that either lower
or upper case prefixes can be used.
SI prefix *p/Pn/Nu/Um/Mk/Km/Mg/G
Corresponding power10
*Note that the prefix m/M indicates 10-3 when the decimal numeric argument
Here are th ree general rules for using SCPI comm ands, quer i es, and parameters:
You can use single (‘ ’) or dou ble (“ ”) quot ation ma rks for quoted strin gs, b u t
you cannot use both types of quotation marks for the same string.
correct:“This string uses quotation marks correctly.”
correct:‘This string also uses quotation marks correctly.’
incorrect:“This string does not use quotation marks correctly.’
You can use upper case, lower case, or a mixture of both cases for all
commands, queries, and parameters.
:OUTPUT:FILTER:LPASS:FREQUENCY 200MHZ
is the same as
:output:filter:lpass:frequency 200MHz
and
:OUTPUT:filter:LPASS:frequency 200MHz
NOTE. Literal strings (quoted) are case sensitive. For example: file names.
No embedded spaces are allowed between or within nodes.
ANSI/IEEE Standard 488.2 defines the codes, formats, protocols, and usage of
common commands and queries used on the interface between the controller and
the instruments. The waveform 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 query is an asterisk (*) followed by a query and a question
mark. 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:
Some command headers list a range of mnemonics. When constructing the
command, you select one mnemonic from the list. You then use the mnemonic in
the command just as you do any other mnemonic. Mnemonic ranges can be
presented in any of the following formats:
MNEMonic[a|b|c]. The v a lues a, b, an d c re presen t the act ual li st of valid
selections. You cannot list more than one value.
For example, for the command :SYSTem:COMMunicate:LAN:GATe-
way[1|2|3]:ADDRess, the gateway mnemonic could be any of the
following:GATeway1, GATeway2, or GATeway3. Theref ore, a va lid usage
of this command would be: SYSTem:COMMunicate:LAN:GATeway1:
ADDRess.
MNEMonic<n>. The value of <n> is the upper range of vali d suff ix es. If th e
numeric suffix is omitted, the waveform generator uses the default value
of “1”.
Source Channel
Mnemonics
Output Channel
Mnemonics
Direct D/A Output
Mnemonics
(Except option02)
These commands spec ify the sour ce channel t o use as a mnemonic in the header.
SymbolMeaning
SOURce1CH1 signal of waveform generator
These commands specify the output channel to use as a mnemonic in the header.
SymbolMeaning
OUTPut1CH1 analog signal output
These commands specify the dire ct D/A converte r output to use as a mn emonic in
the header.
The syntax of each command an d query i s ex plain ed by both syntax di agrams and
BNF notation. Figure2-5 shows some typical syntax diagram structures. The
syntax diagrams are described by the following symbols and notation:
Oval symbols contain li teral elements , such as a command or query header an d
a nonquoted string argument.
Circle symbols contain separators or special symbols, such as (:), (,), and (?).
Box symbols contain the defined element, such as <NR1>.
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.
Parallel paths show that only one of the paths can be taken in the command.
See diagram 1 in Figure 2-5.
A loop around an e le ment( s) shows the element can be repeated. See diagram
2 in Figure 2-5.
A path around a g roup of elements sh ows t hat those element s are optiona l. See
diagram 3 in Figure 2-5.
NOTE. The unit and SI pr ef ix that can be added to dec imal numeric arguments are
not described in the syntax diagram. See Unit and SI Prefix on page 2-7.
This section lists c ommands in t wo ways, b y funct ional group s and alphab eticall y.
The functional grou p list starts be low . The alphabetical list provi des more detail on
each command and starts on page 2-25.
The GPIB interface confo rms 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 and AWG710B
Arbitrary Waveform Generator (AWG) commands are classified.
Table 2-4: Functional groups in the AWG command set
GroupFunction
AWG ControlControl operating mode
CalibrationPerform calibration
DiagnosticControl self–test routines
DisplayControl the presentation of information on the front panel display
HardcopyDump the whole display into the file on the mass storage
Mass MemoryControl file operations on the mass storage
OutputControl the characteristics of the waveform output port
SourceSet waveform and marker output parameters, such as frequency and level
StatusSet and query the registers and queues of the reporting system
SynchronizationControl operation complete and pending command execution
SystemControl miscellaneous instrument functions such as LAN, security, and time
TriggerSynchronize the waveform generator actions with events
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.
The Display commands mimic manipulation of front–panel controls and set the
presentation of textual information on the front panel display.
Table 2-8: Display commands
HeaderDescription
:ABSTouch
:DISPlay:ENABle (?)
:DISPlay:HILight:COLor (?)
Perform the function corresponding to the
front–panel control selected
Control ON/OFF of the display
Control hilight of the display
The Hardcopy commands are used to print the entire display to a specified file
rather than printing to an external device.
The hardcopy commands used in this application do not conform t o the 1999 SCPI
hardcopy standard. (The 1999 SCPI standards state that the MMEMory:OPEN and
MMEMory:CLOSe commands are used to open and close the file specified by
MMEMory:NAME, to accommodate feeding data from the HCOPy subsystem. This
state–dependent style of feeding data is not used in the waveform generator.)
Instead, the hardcopy commands are implemented in a way that more closely
resembles previous waveform gen erator usage. The waveform generator
implements the hardcopy commands as illustrated in the following example:
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 and AWG710B
String argumentDescription
MAIN
FLOP or FLOPPY
NET1
NET2
NET3
Internal hard disk drive
Internal floppy disk drive
Network drive 1
Network drive 2
Network drive 3
File Names. The <file_name> parameter is described in some Mass Memory
commands with a stri ng. The content of the string depends on the for ma t n eed s of
the mass storage media. In particular, the file name may contain characters for
specifying subdirectories (e.g. “/”) and the period separato r (“.”). The instrument
checks the file format when reading, and processe s the file based on its content,
regardless of the file extention.
The external c ontroller uses t he Status command s to coordinat e operation be tween
the waveform generator and other devices on the bus. The Status commands set and
query the registers/queues of the waveform generator event/status reporting
system. For more information about the registers and queues described in Table
2-14, refer to the Status and Event Reporting section on page 3-1.
This section lists each command and query in the waveform generator command
set in alphabetical or der. Each command entry includes a comma nd description and
command group, related commands (if any), syntax, and arguments. Each entry
also includes one or more usage examples.
This section fully spells out headers, mnemonics, and arguments with the
minimum spelling shown in upper case. For example, 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 “?” follows commands that can only be
used as a query. Commands that are command–only or query–only are noted as
such.
ABORt (No Query Form)
This command resets the trigger system and places all trigger sequences in the idle
state. This command is equivalent to depressing the FORCE TRIGGER button on
the front pa nel in the gated mode.
This command performs the functions that are manually set by pressing the
corresponding front–pa nel k ey and button, or by rot at ing the co rr esp onding knob.
This comma nd works even when the instrument is in the keylock or local lockout
states.
This argument sets the press and release of the specified front panel key. If you
specify ON or nonzero value in this argument, the front panel key is set to press. If
you specify OFF or z ero val ue in this ar gument, th e front pane l key is set to rele ase.
When the argument is not specified, 1 is set.
<value>::= <NR1>
This argument sets the rotating direction and quantities of the specified front panel
knob. If yo u spec if y a posi tive value in this argument, the knob rotates clockwise.
If you specify a ne gativ e value in th is argument, the kn ob rotates counterc lockwise.
When the argument is not specified, 1 is set.
Figure 2-6 shows ABSTouch arguments corresponding to the associated controls.
This command supplies raw output of the waveform generator D/A converter for
the specified channel. The setting :OUTPut:FILTer command and :SOURce:VOLTage:OFFSet command are ignored.
Command Descriptions
Group
Related Commands
Syntax
AWGControl
Arguments
AWG Control
:SOURce:VOLTage command group, :OUTPut:FILTer command group
:AWGControl:DOUTput[1][:STATe] <boolean>
:AWGControl:DOUTput[1][:STATe]?
OFF
<space>
DOUTput
:
<x>
ON
<NRf>
?
<boolean> ::={ OFF | ON | 0 | 1 }
OFF or 0 provides the D/A converter output normally.
ON or 1 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.
LOGic The jump mo de is ”logic”.
TABLeThe jump mode is ”table”.
SOFTware The jump mode is ”softwar e”.
At *RST, this value is set to TABLe.
Examples
:AWGControl:ENHanced:SEQuence SOFTware
sets the jump mode to software.
:AWGControl:EVENt[:LOGic][:IMMediate] (No Query Form)
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 pa nel.
:AWGControl:EVENt:SOFTware[:IMMediate] (No Query Form)
This command jumps to a specified line in a sequence file. To enable this
command, a sequence fi le must be l oade d and so ft ware jump mode must be set in
the sequence file.
This command will return a “Settings confli ct” error (code:-221 ) when any of t hese
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 sequence file is not Software.
It also will return a “D ata out of ran ge” error (c ode:- 222) if the <lin e> ar gument is
less than or equal to zero, or greater than the number of steps of the loade d
sequence file.
Group
Related Commands
Syntax
AWGControl
Arguments
Examples
AWG Control
None
:AWGControl:EVENt:SOFTware[:IMMediate] <line>
:
EVENtSOFTwareIMMediate
::
<space>
<line>
<line>::=<NR1> is the line number to be jumped to in the sequence file.
<numeric_value> is the output waveform frequency. The range is 1Hz to 400
MHz.
At *RST, this value is set to 20 MHz.
Examples
:AWGControl:FG:FREQuency 10MHz
sets the frequency to 10 MHz.
:AWGControl:FG[1]:FUNCtion[:SHAPe] (?)
This command selects a standard function waveform (as opposed to a waveform
file).
This query returns the currently selected standard function waveform.
Group
Syntax
AWGControl
AWG Control
:AWGControl:FG[1]:FUNCtion[:SHAPe] <shape>
:AWGControl:FG[1]:FUNCtion[:SHAPe] ?
:
FG
1
SINusoid
TRIangle
SQUare
:
Arguments
Examples
:
FUNCtion
SHAPe
<space>
SINusoid selects a sine wave function waveform.
TRIangle selects a triangle function waveform.
SQUare selects a square wave function waveform.
RAMP selects a ramp function waveform.
PULSe selects a pulse function waveform.
DC selects a D C function wavefor m.
This command turns the FG(Function Generation) mode on or off.
This query returns status indicating whether the waveform generator is set to the
function generator mode.
AWGControl
Group
Syntax
:
Arguments
AWG Control
AWGControl:FG[:STATe] <boolean>
AWGControl:FG[:STATe]?
:
FG
<boolean> ::={ OFF | ON | <NRf> }
OFF or 0 sets the FG mode to OFF .
ON or 1 sets the FG mode to ON.
<numeric_value> is the offset of the waveform. The Step is 1mV.
The range is -0.500V to +0.500V
At *RST, this value is set to 0.0.
<NRf>
?
Examples
:AWGControl:FG1:VOLTage:OFFSet 0.1
sets the offset to 0.1V.
:AWGControl:MIX[:STATe] (?)
This command turns the Waveform Mixing mode on or off.
This query returns status indicating whether the waveform generator is set to the
Waveform Mixing mode.
Sets the continuous mode, which continuously outputs the waveform. The
external trigger, including FORCE TRIGGER button and the corresponding
remote commands, have no effect.
Sets the triggered mode, which outputs one waveform cycle for each trigger.
Sets the gated mode, which continuously outputs the waveform or sequence
as long as the trigger remains enabled. The trigger remains effective as long
as any of the following events occur:
The FORCE TRIGGERbutton remains pressed
A valid external gate signal remains input
The TRIGger[:SEQuence][:IMMediate] or *TRG command has
been executed but an ABORt command has not yet been issued
Sets the enhanced mode, which outputs the waveform according to the
sequence file specified with the SOURce:FUNCtion:USER command. If the
sequence file is not loaded, this mode is the same as the triggered mode.
<file_name>::=<string> specifies the file to store the settings.
<space>
<msus> (mass storage unit specifier)::=<string> is the media on which
the file exists:
MAINInternal hard disk driv e
FLOPpyInternal floppy disk drive
NET1, NET2, or NET3Network drive 1, 2, or 3 (specified with
the SYSTem:COMMunicate:LAN commands)
Examples
: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 waveform output. When the mode is not set to
continuous, it also rese ts the sequence po inter to output the wav eform from the top
of the sequence with the next trigger event.
The *CAL? query performs an internal cali bration and ret urns a status th at indicates
whether or not the waveform generator completed the calibration successfully. If
an error is detected during calibration, execution immediately stops, and an error
code is returned. This query performs the same function as the
CALibration[:ALL]? query.
NOTE. A period of time is required to complete the internal calibration. During
this time, the waveform generator does not respond to any commands or queries
issued.
Group
Related Commands
Syntax
Arguments
Returns
Examples
:CALibration[:ALL] (?)
Calibration
:CALibration[:ALL]?
*CAL?
*CAL
None
<NR1>
0Terminated without error.
-340Calibration failed.
*CAL?
performs an internal calibration an d returns the results. For exam ple, the query
might return 0, which indicates the calibration terminated without any errors.
?
The :CALibration[:ALL] command performs a full calibration of the waveform
generator.
The :CALibration[:ALL]? query perfor ms a full calib rati on and r esponds with a <NR1> indicating the success of the calibration. This query has the same function
as the *CAL? query.
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.
The :DIAGnostic[:IMMediate] command executes the self–test routine(s)
selected by the :DIAGnostic:SELect command. The query :DIAGnostic[:IMMediate]? executes the routine(s) and returns the results.
If an error is detected during execution, the routine that detected the error
terminates. If all of the s elf–test routines are selected, self–testing con t inues with
execution of the next self–test routine.
Command Descriptions
Group
Related Commands
Syntax
Arguments
Returns
Examples
Diagnostic
:DIAGnostic:SELect, :DIAGnostic:DATA?
:DIAGnostic[:IMMediate]
:DIAGnostic[:IMMediate]?
:
DIAGnostic
IMMediate
?
None
<NR1>
0Terminated without error.
-330Self–test failed.
: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.
The *ESE command sets the bit s of the ESER ( Eve nt Stat us Enable Regi ster ) used
in the status and events reporting system of the waveform generator. The *ESE?
query returns the contents of the ESER. Refer to the Status and Events for more
information about the ESER.
where <NR1> is a decima l integer in the range 0 to 255. The bi nary bits of the ESER
are set according to this value.
The power–on default f or ESER is 0 if *PSC is 1. If *PSC is 0, the ESER ma intains
its value through a power cycle.
*ESE 177
sets the ESER to 177 (binary 10110001 ), which sets the PON, CME, EXE and OPC
bits.
*ESE?
might return 176, which indicates that the ESER contains the binary number
10110000.
This command returns the contents of the Standard Event Status Register (SESR)
used in the status and events reporting system in the waveform generator. *ESR?
also clears the SESR (since reading the SESR clears it). Refer to Section 3 Status and Events for more informat ion.
Group
Related Commands
Syntax
Returns
Examples
Status
*CLS, *ESE?, *SRE, *STB?
*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
This command sets the hardcopy destination. For the waveform generator, the
destination is always set to MMEMory (mass memory). This command is included
only for compatibility w ith the SCP I standard. T he 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
Related Commands
Syntax
Arguments
Hardcopy
:MMEMory:NAME
:HCOPy:DESTination <data_handle>
<data_handle>::=<string>
where <string> is fixed to ”MMEMory” for the waveform generator.
Examples
:HCOPy:DESTination "MMEMory"
sets the hardcopy destination to a file specified with the MMEMory:NAME command.
:HCOPy:DEVice:COLor (?)
This command sets the hardcopy color mode.
Group
Hardcopy
HCOPy
:
DESTination
<space>
<data_handle>
Related Commands
Syntax
:HCOPy:DEVice:LANGuage
:HCOPy:DEVice:COLor { OFF | ON | <NRf> }
:HCOPy:DEVice:COLor?
OFF
HCOPy
Arguments
<space>
:
DEVice
:
COLor
OFF or <NRf>=0 sets the hardcopy color mode to OFF.
This command immediately initiates hardcopy output according to the current
HCOPy setup parameters. F or the wavefo rm gene ra tor, this command is the same
as :HCOPy:SDUMp[:IMMediate]. For more information about hardcopy, see
Hardcopy Commands on page 2-18.
Group
Related Commands
Syntax
Arguments
Examples
Hardcopy
:HCOPy:DESTination, :HCOPy:SDUMp[:IMMediate]
:HCOPy[:IMMediate]
HCOPy
:
IMMediate
None
:HCOPy:IMMediate
starts hardcopy output.
:HCOPy:SDUMp[:IMMediate] (No Query Form)
This command initiates a screen dump of the entire screen. For the waveform
generator, this is the same as the :HCOPy[:IMMediate] command. For more
information about hardcopy, see Hardcopy Commands on page 2-18.
This command returns in formation about the current contents an d state of the mass
storage me dia.
Group
Related Commands
Syntax
Arguments
Returns
Mass Memory
:MEMory:CDIRectory, :MMEMory:MSIS
:MMEMory:CATalog?[ <msus>]
MMEMory
:
CATalog
?
<space>
<msus>
<msus> (mass storage unit specifier)::=<string> is one of the following:
MAINThe internal hard disk drive
FLOPpyThe internal floppy disk drive
NET1, NET2, or NET3The network drive 1, 2, or 3 (specified with the
SYSTem:COMMunicate:LAN commands)
<NR1>,<NR1>[,<file_name>,<file_type>,<file_size>]...
where:
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
<file_name> is the exact name of a file,
<file_type> is DIR for directory, otherwise it is blank, and
<file_size> is the size of the file, in bytes.
<directory_name>::=<string>
is the default directory for a mass mem ory file system.
If you do not specify a parameter, the directory is set to the *RST value.
At *RST, this parameter is set to the roo t.
:MMEMory:CDIRectory "/AWG/WORK0"
changes the default directory to /AWG/WORK0.
:MMEMory:CLOSe (No Query Form)
This command closes the file specified in the MMEMory:NAME command. This
command is included only for compatibility with the SCPI standard and may not
be used.
This command sets the data handle to be used to feed data into the file specified by
:MMEMory:NAME. For the waveform generator, the data handle is fixed to HCOPy.
This command is included onl y for compatibilit y with the SCPI stand ard, and may
not be used (refer to Hardcopy Commands on page 2-18).
Group
Related Commands
Syntax
Arguments
Examples
Mass Memory
MMEMory:NAME
:MMEMory:FEED <data_handle>
MMEMory:FEED?
MMEMory
<space>
:
FEED
<data_handle>
?
<data_handle>::=<string> fo r the w a vefo rm gener ator, the data handle is fi xed
to HCOPy.
Operation complete command (query). Use this command between two other
commands to ensure complet ion of the first command before processing the second
command.
In this applicatio n, all commands are designed t o be ex ecuted in t he order in whic h
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 bit of SESR (Standard Event Status Register).
Group
Related Commands
Syntax
Arguments
Returns
*OPT? (Query Only)
Group
Synchronization
*WAI
*OPC
*OPC?
*OPC
?
None
<NR1>=1 when all pending operations are finished.
This comma nd returns the implemented options of the waveform generator.