Remote Control Basics
R&S
®
SMB100A
265
Operating Manual 1407.0806.32 ─ 21
●
a <New Line>
●
a <New Line> with EOI
●
an EOI together with the last data byte
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:
MMEM:COPY "Test1","MeasurementXY";:HCOP:ITEM ALL
This command line contains two commands. The first command belongs to the MMEM
system, the second command belongs to the HCOP system.
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 contains two commands. Both commands are part of the
HCOP
command system, 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
A new command line always begins with the complete path.
Example:
HCOP:ITEM ALL
HCOP:IMM
6.3.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
SCPI Command Structure