Command Paths; Optional Commands - JDS Uniphase SWS15100 User Manual

Swept wavelength systems
Table of Contents

Advertisement

not always appear in the sample program messages provided in this section, but it is
implied.
The query form of a command must end with a question mark (?).
A command can be entered in either uppercase characters or lowercase characters.

Command Paths

To use a command in the command tree, the SOM 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 the command header is preceded by a colon (:).
When the header is preceded by a colon, the full path to the command must be included in the
command header.
[:ROUTe]
:CLOSe
<channel list>
:STAT?
The following program messages are valid:
ROUTE:CLOSE (@1:4);CLOSE (@5:5)
ROUTE: CLOSE (@1:4);:ROUTE:CLOSE (@5:5)
ROUTE:CLOSE:STATE?
The following program messages are not valid:
ROUTE: CLOSE(@1:4);ROUTE:CLOSE (@5:5)
ROUTE:CLOSE (@1:4);STATE?

Optional Commands

Optional commands are commands that need not be explicitly included in the command path. If
an optional command for a path exists, it is enclosed by square brackets ([ ]) in the command
tree. If an optional command is implied in the first command of a program message, the
command path for subsequent commands is determined as if the default command has been
explicitly included in the first command header.
[:ROUTe]
:CLOSe
<channel list>
:STAT?
The following program messages are valid:
ROUTE:CLOSE (@3!4)
CLOSE (@3!4)
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
(no colon before second command)
(STATE? command at different level than CLOSE)
Programming Guide – 173

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents