Remote Control Basics
R&S
®
NRPxxA(N)
143
User Manual 1177.6017.02 ─ 05
A new command line always begins with the complete path.
Example:
TRIG:LEV 0.1E-3
TRIG:DEL 3E-3
11.2.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:
TRIG:SOUR?
, Response:
INT
●
Maximum values, minimum values and all other quantities that are requested via a
special text parameter are returned as numeric values.
●
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
for
example stands for 3.5 GHz.
●
Truth values (Boolean values) are returned as
0
(for
OFF
) and
1
(for
ON
).
Example:
Setting command:
SENS:AVER:COUN:AUTO ON
Query:
SENS:AVER:COUN:AUTO?
Response:
1
●
Text (character data) is returned in a short form.
Example:
Setting command:
TRIGger:SOURce INTernal
Query:
TRIG:SOUR?
Response:
INT
11.3
Status Reporting System
The status reporting system stores all information on the current operating state of the
power sensor, and on errors which have occurred. This information is stored in the sta-
tus registers and in the error queue. You can query both with the commands of the
STATus
subsystem.
11.3.1
Hierarchy of the Status Registers
shows the hierarchical structure of information in the status registers.
Status Reporting System