![Agilent Technologies 8719ES Programmer'S Manual Download Page 314](http://html.mh-extra.com/html/agilent-technologies/8719es/8719es_programmers-manual_2867960314.webp)
Chapter 3
3-5
GPIB Programming
Analyzer Command Syntax
[terminator] Indicates the end of the command, enters the data, and switches the
active-entry area off. A semicolon (;) is the recommended terminator.
CAUTION
Terminators are not necessary for the analyzer to interpret commands
correctly. But in the event of a syntax error, the analyzer will attempt to
recover at the next terminator. Therefore, it is recommended that each
command include a terminator. The analyzer also interprets line feeds and
GPIB end or identify (EOI) messages as terminators.
Syntax
Each command entry listed in
Chapter 1 , “Alphabetical Command Reference,”
includes
the proper syntax for the command. The conventions used are as follows:
<num>
Required numerical data.
<choice1|choice2|…|choicen> An appendage that is part of the command. For example,
FORMAT<DOS|LIF>
indicates that the actual commands are
FORMATDOS
and
FORMATLIF
.
<$>
Indicates a character string operand which must be
enclosed by double quotes.
|
An either/or choice in appendages or optional data.
[ ]
Optional data.
Syntax Example For example, the following is provided as the syntax for the
ATT
command:
ATT<A|B|P1|P2><num>[DB];
or
ATT<A|B|P1|P2>?;
If you are interested in the attenuation at port 1 of the analyzer, here are some of the
commands you could use:
ATTP120DB;
Sets the attenuation at port 1 to20 dB.
ATTP120;
Also sets the attenuation at port 1 to 20 dB. (Note that the units,
“
DB
,” are enclosed in square brackets, which designate optional
information.)
ATTP1?;
Queries the analyzer for the current attenuation at port 1.
Summary of Contents for 8719ES
Page 15: ...1 1 1 Alphabetical Command Reference ...
Page 293: ...2 1 2 Introduction to Instrument Control ...
Page 310: ...3 1 3 GPIB Programming ...
Page 334: ...4 1 4 Reading Analyzer Data ...
Page 343: ...5 1 5 Data Processing Chain ...
Page 350: ...6 1 6 Error Reporting ...
Page 364: ...7 1 7 Programming Examples ...
Page 502: ...A 1 A Preset Conditions ...
Page 517: ...B 1 B Command Listings ...