9-12
Programmer’s Guide
Introduction to SCPI
Parameter Types
Boolean Parameters
Boolean parameters are used for program settings that can be
represented by a single binary condition. Commands that use this type of
parameter accept the values
ON
(or
1
) and
OFF
(or
0
).
<ON|OFF>
is used in this document to denote a boolean parameter.
An example of a command that uses a boolean parameter is the
command that makes the analyzer continuously trigger (or stop
triggering) measurements.
OUTPUT 716;"INITIATE:CONTINUOUS ON"
A special group of commands uses boolean parameters to control
automatic functions of the instrument, such as automatically selecting
the fastest possible sweep speed. With these automatic functions an
additional value is available for the parameter. This value
ONCE
causes
the function to execute once before turning off.
Query Response
The response when a boolean parameter is queried is a single NR1
number indicating the state
1
for on or
0
for off. An example is the
response to a query on the sweep trigger status after executing the above
command.
OUTPUT 716;"INITIATE:CONTINUOUS?"
returns the value
1
.
Summary of Contents for 8712ES
Page 11: ...1 1 1 Introduction to GPIB Programming ...
Page 27: ...2 1 2 Synchronizing the Analyzer and a Controller ...
Page 36: ...3 1 3 Passing Control ...
Page 39: ...4 1 4 Data Types and Encoding ...
Page 46: ...5 1 5 Using Status Registers ...
Page 71: ...6 1 6 Trace Data Transfers ...
Page 98: ...6 28 Programmer sGuide Trace Data Transfers Internal Measurement Arrays ...
Page 99: ...7 1 7 Using Graphics ...
Page 105: ...8 1 8 Front Panel Keycodes ...
Page 111: ...9 1 9 Introduction to SCPI ...
Page 129: ...10 1 10 Menu Map with SCPI Commands ...
Page 268: ...12 1 12 SCPI Conformance Information ...
Page 290: ...13 1 13 SCPI Error Messages ...