1257 User Manual
EADS North America Defense
SCPI Command Basics 5-23
Test and Services, Inc.
©
2001
TRIG:DELAY 0.035
When a real, non-integer value is returned in a reply from the
1257, the floating point notation will be used. The only non-integer
values returned from the 1257 correspond to the
TRIGGER:DELAY and the OUTPUT:DELAY. The values will be a
number between 0.0 and 10.0. At most, 6 digits follow the decimal
point.
Integer values may be sent in the command using decimal, octal,
hexadecimal, or binary values. The default base for values is
decimal.
To specify a hexadecimal value, use the prefix #H. To specify an
octal value, use the prefix “#Q”. To specify a binary value, use the
prefix “#B”. The following values are all equivalent.
123
123
decimal
#B1111011
1111011 binary = 123 decimal
#H7B
7B hex = 123 decimal
#Q173
173 octal = 123 decimal
When an integer value is returned in a reply from the 1257, the
value will be a decimal number.
Discrete Parameters
Discrete parameters are used to program settings that have a
limited number of values. Parameters are NOT case sensitive. As
an example of the discrete parameter, the TRIGGER:SOURCE
command is specified as:
:TRIGger
:SOURce
{ BUS | HOLD | IMMediate | EXT }
Meaning the parameter must be one of the following:
BUS
HOLD
IMM
IMMEDIATE
EXT
Note that, just like command keywords, discrete parameters may
be specified using either the long form or the short form.
Whenever a discrete parameter is used, the query form of the
command returns the SHORT form of the parameter value, in
upper-case characters. That is, the command may be specified
using either “IMMEDIATE” or “IMM”, but the query: