40
Boolean data indicate that the parameter can take one of two states, ON or OFF. The parameter may be
character type ON or OFF or numeric. A numeric value is rounded to an integer. A non-zero result is
interpreted as 1 (ON), and a zero result as 0 (OFF). Queries return the values 0 or 1.
iii.
NRf
This is a decimal numeric data type, where
NR1 indicates an integer number,
NR2 indicates a fixed point real number, and
NR3 indicates a floating point real number.
iv.
Expression data
An expression is contained in parentheses (...). This data type is used only with the
STATus:QUEue:ENABle command.
v.
Numeric value program data
This data type defines numeric values, as well as special cases of Character Data. Numeric values may
be specified in any of Integer, Fixed Point or Floating Point format. All parameters which have
associated units accept a suffix, which may be specified using upper or lower-case characters. When
the suffix is not specified, the numeric value is accepted in the default units, which are Hertz for
frequency, Seconds for time, and Volts for voltage. To set the frequency to 1 KHz we can send one of
the following commands:
FREQ 1000
FREQ 1E3
The special forms of character data accepted as numbers are
MAXimum: sets the parameter to its maximum value.
MINimum: sets the parameter to its minimum value.
For example, to set the frequency to its maximum value we can send the command
FREQ MAX
vi.
Arbitrary Block Data
The Arbitrary block data type is used to send arbitrary waveform data to the instrument. In this data
type, the waveform points are specified in binary format, and each point consists of two bytes. Two
types of arbitrary block data are defined (by IEEE 488.2):
Definite Form
www.calcert.com
1.800.544.2843
0
5
10
15
20
25
30