Network and Remote Operation
R&S
®
FSPN
260
User Manual 1179.4363.02 ─ 01
Example:
HCOP:ITEM ALL
;:
HCOP:IMM
This command line contains two commands. Both commands are part of the
HCOP
command system, i.e. they have one level in common.
If the successive commands belong to the same system, having one or several levels
in common, the command line can be abbreviated. When abbreviating the command
line, the second command begins with the level below HCOP. The colon after the semi-
colon is omitted. The abbreviated form of the command line reads as follows:
HCOP:ITEM ALL
;
IMM
Example:
HCOP:ITEM ALL
HCOP:IMM
A new command line always begins with the complete path.
10.1.5.6
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 previous 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:
HCOPy:PAGE:ORIentation LANDscape
Query:
HCOP:PAGE:ORI?
Response:
LAND
●
Invalid numerical results
Sometimes, particularly when a result consists of multiple numeric values, invalid
values are returned as 9.91E37 (not a number).
Remote Control Basics