Remote Commands
R&S
®
ZNH
201
User Manual 1334.5985.02 ─ 02
Syntax Element
Description
:
The colon separates the key words of a command.
In a program message, the separating semicolon
marks the uppermost command level.
;
The semicolon separates two commands within a
program message. It does not alter the path.
,
The comma separates several parameters of a com-
mand.
?
The question mark forms a query.
*
The asterisk marks a common command.
"
Quotation marks introduce a string and terminate it.
#
The hash symbol # introduces binary, octal, hexa-
decimal and block data.
●
Binary: #B10110
●
Octal: #O7612
●
Hex: #HF3A7
"
"
A "white space" (ASCII-Code 0 to 9, 11 to 32 deci-
mal, e.g. blank) separates header and parameter.
12.4.2
Parameters
For most commands, a parameter needs to be supplemented. The parameter has to
be separated from the header by a "white space".
The type of parameter required for each command and the allowed range of values are
specified in the command description.
........................................................................................ 202
............................................................................................. 202
12.4.2.1
Numeric Values
Numeric values can be entered in any form, i.e. with sign, decimal point and exponent.
Values exceeding the resolution of the instrument are rounded up or down. The man-
tissa may comprise up to 255 characters, the exponent must lie inside the value range
-32000 to 32000. The exponent is introduced by an "E" or "e". Entry of the exponent
alone is not permissible. In the case of physical quantities, the unit can be entered.
Permissible unit prefixes are G (giga), MA (mega), MOHM and MHZ are also possible),
K (kilo), M (milli), U (micro) and N (nano). If the unit is missing, the basic unit is used.
Example:
SENSe:FREQuency:STOP 1.5GHz
=
SENSe:FREQuency:STOP 1.5E9
SCPI Command Structure and Syntax