![Rohde & Schwarz NRT 1080.9506.02/.62 Operating Manual Download Page 89](http://html.mh-extra.com/html/rohde-and-schwarz/nrt-1080-9506-02-62/nrt-1080-9506-02-62_operating-manual_1477860089.webp)
NRT
Structure and Syntax of the Device Messages
1080.9506.02
3.9
E-6
3.4.3
Structure of a Command Line
A command line may consist of one or several commands. It is terminated by a <New Line>, a <New
Line> with EOI or an EOI together with the last data byte. Quick BASIC automatically produces an EOI
together with the last data byte.
Several commands in a command line must be separated by a semicolon ";". If the next command be-
longs to a different command system, the semicolon is followed by a colon.
Example:
CALL IBWRT(sensor%,
"
:SENSe2:BURSt:MODE USER;
:INPut2:PORT:SOURce 1
"
)
This command line contains two commands. The first command belongs to the SOURce
system and specifies the burst parameters. The second command belongs to the OUTPut
system and sets the direction of the forward measurement.
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 (see also Fig. 3-1). The colon following the semicolon must be
omitted in this case.
Example:
CALL IBWRT(sensor%,
"
:SENSe2:BURSt:PERiod 50 ms;
:SENSe2:BURSt:WIDth 10 ms
"
)
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 SENse command sys-
tem, subsystem BURSt, i.e. they have two common levels.
When abbreviating the command line, the second command begins with the level below
SOURce:FM. The colon after the semicolon is omitted.
The abbreviated form of the command line reads as follows:
CALL IBWRT(sensor%,
"
:SENSe2:BURSt:PERiod 50 ms;WIDth 10 ms
"
)
However, a new command line always begins with the complete path.
Example:
CALL IBWRT(sensor%,
"
:SENSe2:BURSt:PERiod 50 ms
"
)
CALL IBWRT(sensor%,
"
:SENSe2:BURSt:WIDth 10 ms
"
)
3.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.
1. The requested parameter is transmitted without header.
Example:
:INPut1:PORT:POSition?
Response:
LOAD
2.
Maximum values, minimum values and all further quantities, which are requested via a special text
parameter are returned as numerical values.
Example:
:INPut1:PORT:SOURce? MAX
Response:
2
3. 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:
:SENSe3:FREQuency?
Response:
1E6
for 1 MHz
深圳德标仪器
135-1095-0799
Summary of Contents for NRT 1080.9506.02/.62
Page 2: ...深圳德标仪器 135 1095 0799 ...
Page 4: ...深圳德标仪器 135 1095 0799 ...
Page 6: ...深圳德标仪器 135 1095 0799 ...
Page 16: ...深圳德标仪器 135 1095 0799 ...
Page 18: ...深圳德标仪器 135 1095 0799 ...
Page 178: ...深圳德标仪器 135 1095 0799 ...
Page 190: ...深圳德标仪器 135 1095 0799 ...