
Remote Control
R&S
®
RTM20xx
258
User Manual 1317.4726.02 ─ 01
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:
HCOP:ITEM ALL; HCOP:IMM
This command line is represented in its full length and contains two commands separated
from each other by the semicolon. Both commands are part of the
HCOP
command sys-
tem, i.e. they have one level in common.
When abbreviating the command line, the second command begins with the level below
HCOP. The colon after the semicolon is omitted. The abbreviated form of the command
line reads as follows:
HCOP:ITEM ALL;IMM
However, a new command line always begins with the complete path.
Example:
HCOP:ITEM ALL
HCOP:IMM
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.
●
The requested parameter is transmitted without a header.
Example:
HCOP:PAGE:ORI?
, Response:
LAND
●
Maximum values, minimum values and all other quantities that are requested via a
special text parameter are returned as numeric values.
Example:
SENSe:FREQuency:STOP? MAX
, Response:
3.5E9
●
Numeric values are output without a unit. Physical quantities are referred to the basic
units or to the units set using the
Unit
command. The response
3.5E9
in the pre-
vious example stands for 3.5 GHz.
●
Truth values (Boolean values) are returned as
0
(for OFF) and
1
(for ON).
Example:
Setting command:
HCOPy:DEV:COL ON
Query:
HCOPy:DEV:COL?
Response:
1
●
Text (character data) is returned in a short form.
Example:
Setting command:
HardCOPy:PAGE:ORIentation LANDscape
Query:
HCOP:PAGE:ORI?
Response:
LAND
Basics