The basic rules of the command tree are as follows.
Letter case (upp er and lower) is ignored.
For example,
FUNC:IMP CPD
=
func:imp CpD
=
FuNc:IMp cPd
Spaces (
t
used to indicate a space) must not b e placed b efore
and/or after the colon (
:
).
For example,
(wrong)
FUNC
t
:
t
IMP CPD
!
(right)
FUNC:IMP CPD
The command can be completely sp elled out or in abbreviated.
(The rules for command abbreviation are described later in this
section)
For example,
FUNCTION:IMPEDANCE CPD
=
FUNC:IMP CPD
The command header should b e followed by a question mark (?) to
generate a query for that command.
For example,
FUNC:IMP?
The semicolon (;) can b e used as a separator to execute m
ultiple
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 b e separated by a semicolon (;) on a multiple command
line.
For example,
FUNC:SMON:VAC ON;IAC ON
To restart commands from the highest level, a semicolon (;) must
be used as the separator, and then a leading colon (:), whic
h
shows that the restarted command is a command at the top of the
command tree, must follo w.
For example,
FUNC:IMP CPD;:FUNC:SMON:VAC ON
The HP-IB common commands can restart only after a semicolon
on a multiple command line.
For example,
FUNC:IMP CPD;*SRE 32
The HP-IB common commands keeps the previous commands level
in a multiple command line.
For example,
FUNC:IMP CPD;*SRE 32;SMON:VAC ON;IAC ON
Command Reference 8-3