Remote control
R&S
®
ZNA
855
User Manual 1178.6462.02 ─ 20
Several commands in a command line must be separated by a semicolon ;". If the next
command belongs to a different command system, the semicolon is followed by a
colon.
Example:
TRIGger:SOURce EXTernal;:SENSe:FREQuency:STARt 1GHZ
This command line contains two commands. The first command belongs to the
TRIGger
system and defines the trigger source (external trigger). The second com-
mand belongs to the
SENSe
system and defines the start frequency of the sweep.
If the successive commands belong to the same system, having one or several levels
in common, the command line can be abbreviated. To this end, the second command
after the semicolon starts with the level that lies below the common levels. The colon
following the semicolon must be omitted in this case.
Example:
TRIG:SOUR EXT;:TRIG:TIM 0.1
This command line is represented in its full length and contains two commands separa-
ted from each other by the semicolon. Both commands are part of the
TRIGger
com-
mand system, i.e. they have one level in common.
When abbreviating the command line, the second command begins with the level
below
TRIG
. The colon after the semicolon is omitted. The abbreviated form of the
command line reads as follows:
TRIG:SOUR EXT; TIM 0.1
However, a new command line always begins with the complete path.
Example:
TRIG:SOUR EXT
TRIG:THR LOW
6.2.2.4
Responses to queries
A query is defined for each setting command unless explicitly specified otherwise. It is
formed by adding a question mark to the associated setting command. According to
SCPI, the responses to queries are partly subject to stricter rules than in standard
IEEE 488.2.
1. The requested parameter is transmitted without header.
Example:
TRIGger:SOURce?
Response:
IMM
2. Maximum values, minimum values and all further quantities which are requested
via a special text parameter are returned as numerical values.
Example:
SENSe:FREQuency:STOP? MAX
Response:
8000000000
3. Numerical values are output without their unit. The default unit for each command
is reported in the SCPI command description.
Example:
SENSe:FREQuency:STOP? MAX
Response:
8000000000
for 8 GHz
4. Boolean values are returned as 0 (for OFF) and 1 (for ON).
Example:
SWEep:TIME:AUTO?
Response:
1
5. Text (character data) is returned in short form (see also next section).
Messages