TG8000 syntax
For example, OU
TPut:CIRCle:STATe ON is a valid SCPI command created from
the hierarchy tree in Figure 2-1.
Creating queries
To create a query, start at the root node of a tree structure, move down to the end
of a branch, a
nd add a question mark. OUTPut:CIRCle:STATe? is an example of
a valid SCPI query using the hierarchy tree in Figure 2-1.
Parameter types
Every parameter in the command and query descriptions is of a specified type.
The parame
ters are enclosed in brackets, such as <pattern>. The parameter type is
listed after the pa r ameter and is enclosed in parenthese s, for example, (discrete).
Some parameter types are defined specifically for the TG8000 command set and
some are definedbyANSI/IEEE488.2-1987(seeTable2-1).
Table 1: Parameter types used in syntax descriptions
Parameter type Description Example
binary Binary numbers
#B0110
arbitrary block
A specified length of
arbitr
ary data
#512234xxxxx ...where
5 indic
ates that the following
5 digits (12234) specify the
length of the data in bytes;
xxxxx
... indicates the data
boolean Boolean numbers or values
ON or
1OFFor0
discrete
A lis
t of specific values
MIN,
MAX, UP, DOWN
hexadecimal
Hex
adecimal numbers (0-9,
A, B, C, D, E, F)
#HA
A, #H1
NR1
numeric
Int
egers
0, 1
, 15, -1
NR2 numeric Decimal numbers 1.2, 3.141516, -6.5
NR3 numeric Floating point numbers 3.1415E-9, -16.1E5
NRf numeric
Fl
exible decimal number
that may be type NR1, NR2
or NR3
See NR1, NR2, NR3
examples
string Alphanumeric characters
(must be within quotation
m
arks)
"Testing 1, 2, 3"
1
Defined in ANSI/IEEE 488.2 as "Definite Length Arbitrary Block Response Data."
2
An ANSI/IEEE 488.2-1992-defined parameter type.
3
Some commands and queries will accept a hexadecimal value even though the
parameter type is defined as NR1.
4
Defined in ANSI/IEEE 488.2 as "String Response Data."
Draft
8 TG8000 Multiformat Test Signal Generator Programmer Manual