
67
SCPI Command Reference
commands in this manual. So the lower level commands are legal only when the subsystem commands have been
selected. A colon (:) is used to separate the higher level commands and the lower level commands.
Figure 10-1
Command Tree Structure
Example
ROOT:CCC:DDD ppp
ROOT
Subsystem Command
CCC
Level 2
DDD
Level 3
ppp
Parameter
10.4
Header and Parameters
A command tree consists of header and parameters, it uses a space
(
ASCII: 20H
)
to separate
in the middle.
Example
AAA:BBB 1.234
Header [Parameter]
10.4.1
Header
Headers can be of the long form or the short form. The long form allows easier understanding
of the program code and the short form is suitable for writing.
10.4.2
Parameter
Single command word, no parameter.
Example: AAA:BBB
Parameter can be character string form, the abbreviation rules are the same as the rules for
command.
Example: AAA:BBB 1.23
Parameter can be numeric form
<integer>
integer 123, +123, -123
<float>
floating number
1. <Fixfloat>
:
fixed point floating number
:
1.23, -1.23
2. <Scifloat>
:
scientific notation floating number
:
1.23E+4, +1.23e-4
3. <Mpfloat>: multiplier expressed by floating number: 1.23k, 1.23M, 1.23G,1.23u
Table 10-1
Multiplier Mnemonics
ROOT
AAA
BBB
CCC
DDD
EEE