Figure 7-2 Numeric Value Query Response; Figure 7-3 Binary State Query Response - Agilent Technologies 8560E User Manual

Agilent technologies 8560 e-series and ec-series spectrum analyzers
Table of Contents

Advertisement

Language Reference
Syntax Diagram Conventions
Query Responses
Figure 7-2
Numeric Value Query Response
Commands that set a function to a numeric value can be queried to
determine the current setting of that function. For example, the CF
command sets the center frequency to a numeric value in hertz. The
format for the response to a CF query command is shown above. Refer
to Table on page 372 for definitions of syntax elements.
Figure 7-3
Binary State Query Response
Other commands that control the binary state (on or off) of a function
can also be queried to determine its state. Examples are commands
that accept ON and OFF parameters such as the ANNOT or GRAT
commands. The query response in this case, as shown above, is either
zero (indicating that the queried state is off or inactive) or one
(indicating that the queried state is on or active). As an example, GRAT?
will return a zero if the display graticule is off, and a one if it is on.&&
Syntax elements are shown in the syntax diagrams as elements within
rectangles.
Table 7-1
Syntax Elements
Syntax
Definition/Range
Component
character
S
a b c d e f g h i j k l m n o p q r s t u v w x y z data byte.
P
character
8-bit byte containing only character data and followed by end-or-identify (EOI)
&EOI
condition, where the EOI control line on GPIB is asserted to indicate the end of the
transmission. END signifies the EOI condition.
data byte
8-bit byte containing numeric or character data.
data byte
8-bit byte containing numeric or character data followed by end-or-identify (EOI)
&EOI
condition, where the EOI control line on GPIB is asserted to indicate the end of the
transmission. END signifies the EOI condition.
372
Chapter 7

Advertisement

Table of Contents
loading

Table of Contents