REMOTE OPERATION CONVENTIONS
4-6
<CPD>
Character program data is used to set a parameter to one of a number of states that are best
described by short alphanumeric strings.
Example:
ON
<NRf>
Flexible numeric representation covers integer and floating-point representations.
Examples:
−466 Integer value
4.91 Explicitly-placed decimal point
59.5E+2 Mantissa and exponent representation
The format is known as ‘flexible’ because any of the three representations may be used for any
type of numeric parameter.
Examples:
Where a parameter requires an integer value in the range 1 to 100, and the user needs to set
its value to 42, the following values are accepted by the instrument:
42 Integer
42.0 Floating point
4.2E1, 4200E−2 Floating point − mantissa/exponent
41.5 Rounded up to 42
42.4 Rounded down to 42
<numeric_value>
<numeric_value> is a superset of <NRf> and <CPD>, used when parameters may consist of either
a decimal value or the shorthand notations MAXimum or MINimum.
Example:
FREQ:STEP has a <numeric_value> parameter. This means that valid values for the step
size may be the frequency value in Hz (for example, 250E+3), or MAXimum or MINimum.
<STRING PROGRAM DATA>
String program data consists of a number of ASCII characters enclosed in quotes. Use either pairs
of single (ASCII 39) or double (ASCII 34) quotes, but do not mix single and double in a string. A
quote within a string must be enclosed within an extra pair of quotes.
Example:
'This string contains the word ' 'Hello' ' '
is interpreted as
This string contains the word 'Hello'
and
"This string contains the word " "Hello" " "
is interpreted as
This string contains the word "Hello".