
28
AT4808 User's Guide
Example:
ROOT:COMmand3:COMmand5 ppp
ROOT Subsystem Command
COMmand3
Level 2
COMmand5
Level 3
ppp
Parameter
The basic rules of the command tree are as follows.
Letter case (upper and lower) is ignored.
For example,
ROOT:COMMAND3
=
root:command3
Spaces (_
used to indicate a space) must not be placed before and/or after the colon (
:
).
For example,
root_:_command3
root:command3
The command can be completely spelled out or in abbreviated.(The rules for command abbreviation
are described later in this section)
For example,
root:command3
=
root:com3
The command header should be followed by a question mark (?) to generate a query for that
command.
For example,
root:com3?
The semicolon (;) can be used as a separator to execute multiple commands on a single line. The
multiple command rules are as follows.
Commands at the same level and in the same subsystem command group can be separated by a
semicolon (;) on a multiple command line.
For example,
root:com3:com5 ppp ; com4 ppp
To restart commands from the highest level, a semicolon (;) must be used as the separator, and then
a leading colon (:), which shows that the restarted command is a command at the top of the command
tree, must follow.
For example,
root:com3:com5 ppp; : root:com1 ppp
The FM8116R accepts the three forms of the same SCPI commands: all upper case, all lower case, and mixed
upper and lower case.
9.4
Header and Parameters
The commands consist of a command header and parameters. (See the following.)
Example:
comp:nom 100.0e3
Header
Parameter
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 allows more efficient use of the computer.
Parameters may be of two types as follows.
(A) Character Data and String Data Character data consists of ASCII characters. The
abbreviation rules are the same as the rules for command headers.
(B) Numeric Data
(a)
<
integer>: For example, 1,+123,-123
(b)
<
float>: For example, 1.23e3, 5.67e-3, 123k, 1.23M, 2.34G, 1.234
(c) <scifloat>: For example, +1.03
The available range for numeric data is 9.9E37. When numeric data is used as a parameter, the suffix
multiplier mnemonics and suffix units (The suffix multiplier must be used with the suffix unit) can be
used for some commands as follows.
Table 9-1 Multiplier Mnemonics