OPTICAL TUNABLE FILTER OTF-920
8-3
8.3. Control Commands
The table below lists the control commands specific to the OTF-920 which can be implemented using
either the GPIB or RS-232C protocols. A command consists of two letters and may be written in
either upper or lower case. As appropriate, the commands can be issued with or without a numerical
suffix. A delimiter must be attached to the end of each command to ensure correct execution and
termination of each command line. The delimiter required for GPIB operation is CR+LF. The
delimiter required for RS-232C operation can be CR, LF or CR+LF. This delimiter is set in the
factory to CR and this can be changed during the ‘Power On’ procedure; for details see Section 7.1
Power On.
In both GPIB and RS-232C protocols when a command is issued that cannot be interpreted the OTF-920
outputs “NR” to the next data request. This output stops when a valid command is received. In
RS-232C communication “echo-back” is used to verify correct communications.
*
1
Command
Description
Format
Sets output variable to indicate wavelength.
WA
Sets wavelength to a specific value (nm).
WA xxxx.xxx
Sets output variable to indicate current wavelength offset.
CW
Sets wavelength offset to a specific value (nm).
CW xxxx.xx
Sets output variable to shorter scan range for PS function.
WS
Sets shorter scan range to a specific value (nm).
WS xxx.xx
Sets output variable to longer scan range for PS function.
WL
Sets longer scan range to a specific value (nm).
WL xxx.xx
PS
Executes peak search function.
PS
PO
Sets peak search function to rapid mode.
PO
PF
Cancels rapid mode of peak search function.
PF
Sets output variable to indicate optical power (dBm).
OP
Used with APC control, sets optical power (dBm).
OP xx.xx
Sets output variable to indicate optical power (mW).
LP
Used with APC control, sets optical power (mW).
LP xxx.xx
Sets output variable to indicate attenuation (dB).
AT
Sets value of attenuation (dB).
AT xx.xxx
WA
OP
AT
CW
WS
WL
LP
*
1
*
1
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com