User manual

34
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) 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
1KHz 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
Some Program Message Units either require, or can accept, more than one data element.
Program data elements are separated from each other by the Program Data Separator. It is
defined as optional white space characters followed by a comma (','), which in turn is followed
by optional white space characters.
There are two types of Program Message Units: Command Message Units and Query
Message Units. A Query differs from a Command in that the Program Header is terminated
with a question mark ('?'). For example, the frequency might be queried with the following
query:
FREQ?
Some Query Message Units accept data, giving the device more specific information about
what is being queried. In many cases the Query Message Unit may optionally be supplied with
the MIN or MAX mnemonics as data. This tells the device to return the minimum or maximum
value to which the parameter may currently be set. For example,
FREQ? MAX