REMOTE OPERATION CONVENTIONS
4-5
Case
The software is not case-sensitive. Upper- and lower-case characters are completely
interchangeable. There is no conflict between milli (m) and mega (M) as both cannot be applied to
the same data.
Choices
The vertical bar ( | )
• separates a choice of parameters:
for example, 0 | 1 means ‘0 or 1’
or
• separates a choice of commands:
for example, the vertical bar in [SOURce][:MODulation]:AM[1]|2[:DEPTh] means that you
can set the AM depth for either path 1 or path 2 (path 1 is the default): the short-form
versions of the commands are AM or AM2.
Compound program headers
Compound program headers allow a complex set of commands to be built up from a smaller set of
basic elements in a tree structure. The elements of a compound program header are separated by a
colon (:), each colon representing a change of level in the hierarchy. Each subsystem in this
instrument is organized as a separate tree structure.
The compound program header may, optionally, be followed by one or more parameters encoded
as program data functional elements.
Example:
OUTput:ATTenuation:AUTO 0
Note: A leading colon is optional
Program data
Program data functional elements contain the parameters related to the program header(s). The
following program data functional elements are accepted by the instrument:
<CPD> (also known as <CHARACTER PROGRAM DATA>)
<NRf> (also known as <DECIMAL NUMERIC PROGRAM DATA>)
<numeric_value> (defined by SCPI)
<STRING PROGRAM DATA>
<Boolean> (defined by SCPI)
<ARBITRARY BLOCK PROGRAM DATA>
These functional elements are defined in IEEE 488.2 and the SCPI Syntax and Style handbook.
A white space must separate the command header(s) and the program data.
<white space>, as defined in IEEE Std 488.2, can be any number of ASCII characters in the range
0–9, 11–32 decimal.
<white space> is also allowed at other points in a message.