SCPI Command Parameters
The following information contains explanations and examples of the
parameter types found in this chapter.
Parameter Types,
Explanations, and
Examples
• Numeric
Accepts all commonly used decimal representations of numbers
including optional signs, decimal points, and scientific notation:
123, 123E2, -123, -1.23E2, .123, 1.23E-2, 1.23000E-01.
Special cases include MIN, MAX, and INFinity. The Comments
section within the Command Reference will state whether a numeric
parameter can also be specified in hex, octal, and/or binary:
#H7B, #Q173, #B1111011
• Boolean
Represents a single binary condition that is either true or false. Any
non-zero value is considered true:
ON, OFF, 1, 0
• Discrete
Selects from a finite number of values. These parameters use
mnemonics to represent each valid setting.
• Arbitrary Block Program Data
This parameter type is used to transfer a block of data in the form of
bytes. The block of data bytes is preceded by a header which
indicates either 1) the number of data bytes which follow (definite
length block), or 2) that the following data block will be terminated
upon receipt of a New Line message with the EOI signal true
(indefinite length block). The syntax for data in the blocks is as
follows:
Definite length block:
#<non-zero digit><digit(s)><data byte(s)>
Where the value of <non-zero digit> equals the number of
<digit(s)>. The value of <digit(s)> taken as a decimal integer
indicates the number of <data byte(s)> in the block.
3-4 Command Reference SCPI Command Parameters