___________________________________________________________________
33
Co
Brite
DX1
User’s Manual
7.2.3
Parameter
Parameters must be separated from the header by a "white space". If several
parameters are specified in a command they are separated by a comma ",".
7.2.4
Colon Character
A leading colon character `: ' instructs the instrument to interpret the command
starting at the root (highest level) of the command tree. Since the Instrument also
starts at the root each time you send it a new command, the leading colon is not
required (although the instrument will accept it if you send it). You can send multiple
commands to the Instrument in a single message. You separate the commands with
a semi-colon character `;'. When the Instrument encounters a command following a
semi-colon, it attempts to interpret the command starting at the level of the previous
command, unless you precede the second command with a colon.
7.2.5
Command Termination character
Each command must be terminated either by a “;” character or a
carriage return
(ASCII #13) to signal completion of the command telegram to the controller
7.2.6
Wild card character
A special wild card character “*” is used to address several ports at a time. This can
be used for both set commands and query commands
Example:
SOUR:WAV 1,2,* 1555.1234;
will set all Lasers of slot 2 in chassis 1 to
1555.1234nm.
If a query is executed using a wildcard character, the parameter will be preceded a
location identifier. Parameters returned for each port are separated by a „
\
n“ (=ASCII
Code #10) for easier readability.
Example:
SOUR:WAV? 1,2,
*;
Will query current wavelength of all lasers of slot 2 in chassis 1 and will return:
1,2,1,nnnn.nnnn\n
1,2,2,nnnn.nnnn\n
1,2,3,nnnn.nnnn\n
1,2,4,nnnn.nnnn;\n
7.2.7
Acknowledgement of executed commands
The mainframe controller will always acknowledge successful execution of
commands by a “;” character. If the echo option is set (for details, see command list),
the accordingly sent command is returned first.
Содержание CoBrite Series
Страница 1: ......