SX8 User Manual
G-‐UM-‐00004 Rev 006
17 of 45
Specifying the Command Path
In order to use a command in the command tree, the switch must know
the full path to the command. If the command is the first command in
the program message, the command header must contain the full path
to the command. Subsequent commands in the same program message
are automatically referenced in the same path as the previous
command, unless a colon ( : ) precedes the command’s command
header, in which case the full path to the command must be included in
the command header.
[:ROUTe]
:CLOSe <channel list>
The following program messages are valid:
ROUTE:CLOSE 5;CLOSE?
ROUTE:CLOSE 5;:ROUTE:CLOSE?
STAT:OPER:ENAB 5;ENAB?
The following program messages are not valid:
ROUTE:CLOSE 5;ROUTE:CLOSE?
(no colon before second command)
STAT:OPER:ENAB 5;OPER?
(OPER command at different level than ENAB)
Default Commands
Default commands are commands that do not need to be explicitly
included in the command path. If a default command for a path exists, it
is enclosed by square brackets ([ ]) in the command tree. If a default
command is implied in the first command of a program message, the
command path for subsequent commands is determined as if the
default command had been explicitly included in the first command
header.
[:ROUTe]
:CLOSe <channel list>
The following program messages are valid:
ROUTE:CLOSE 5
CLOSE 10