Remote Commands
R&S
®
Spectrum Rider FPH
282
User Manual 1321.1011.02 ─ 06.00
Example:
CALL InstrWrite(analyzer, "SENSe:FREQuency:STARt 1E6;:SENSe:
FREQuency:STOP 1E9")
This program message is represented in its full length and contains two commands
separated from each other by the semicolon. Both commands are part of the SENSe
command system, subsystem FREQuency, i.e. they have two common levels.
When abbreviating the program message, the second command begins with the level
below SENSe:FREQuency. The colon after the semicolon is omitted. The abbreviated
form of the program message reads as follows:
CALL InstrWrite(analyzer, "SENSe:FREQuency:STARt 1E6;STOP 1E9")
However, a new program message always begins with the complete path.
Example:
CALL InstrWrite(analyzer, "SENSe:FREQuency:STARt 1E6")
CALL InstrWrite(analyzer, "SENSe:FREQuency:STOP 1E9")
13.4.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.
●
The requested parameter is transmitted without header.
Example
INPut:COUPling?
Response:
DC
●
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:
3.5E9
●
Numerical values are output without a unit. Physical quantities are referred to the
basic units or to the units set using the Unit command.
Example
SENSe:FREQuency:CENTer?
Response:
1E6
(for 1 MHz)
●
Truth values <Boolean values> are returned as 0 (for OFF) and 1 (for ON).
Example
SENSe:BANDwidth:AUTO?
Response:
1
(for ON)
●
Text (character data) is returned in a short form.
Example
SYSTem:COMMunicate:SERial:CONTrol:RTS?
Response:
STAN
(for standard)
SCPI Command Structure and Syntax