12
5
External Interface
External interface to the Clarity laser is provided by means of the RS-232 connector. To use, connect
the instrument through a suitable RS-232 session, such as HyperTerminal in Windows. Baud rate is
initially set to 9600, the transmitter terminator to CRLF and the flow control to Xon/Xoff. The command
set is listed below. Bracketed commands are optional; thus CAL:INT and CAL both perform a
calibration scan. A command can be entered either in its short form (capital letters only) or in its long
form (full word):
5.1
RS232 Commands and Responses
Command
Parameter Form
Notes
Calibration Subsystem
CALibration:[INTernal]
Performs calibration scan
CALibration:PERiodic
<OFF|5|15|60>
Sets periodic calibration rate
CALibration:PERiodic?
Queries periodic calibration rate
Source Subsystem
[SOURce:]FREQuency?
[xxx.xxxxxxTHz] - Queries target frequency
[SOURce:]FREQuency:MODE
<LEFT|CENTer>
Sets locking mode
[SOURce:]STATe
<Boolean>
[0|1|off|on] - Sets laser enabled/disabled state
[SOURce:]STATe?
Queries laser enabled/disabled state
[SOURce]WAVElength?
[xxxx.xxxxxnm] - Queries target wavelength
System Subsystem
SYSTem:ERRor[:NEXT]?
Queries error from queue (FIFO)
[SYSTem:]HEADer
<Boolean>
[0|1|off|on] - Sets header strings enabled/disabled
in query response
[SYSTem:]HEADer?
Queries header string state
[SYSTem:]INTerlock?
Queries interlock state
SYSTem:KLOCk
<Boolean>
[0|1|off|on] - Sets front-panel locked/unlocked
(Remote/Local)
SYSTem:KLOCk?
Queries front panel lock state
SYSTem:PASSword
(####)
Enables laser system via current password.
Include parenthesis when entering.
SYSTem:PASSword
(####:####)
Sets new password (OLD:NEW)
SYSTem:SECure
Secures laser off
SYSTem:SECure?
Queries laser secure state
SYSTem:SERial:BAUD
<9600|19200|38400|57600
|115200>
Sets baud rate
SYSTem:SERial:BAUD?
Queries baud rate
SYSTem:SERial:TERMinator
<CRLF|LF|LFCR|CR>
Sets serial transmit termination character
SYSTem:SERial:TERMinator?
Queries termination character
SYSTem:STATus?
<0|1|2|3>
Queries locking routing (disabled, calibrating,
locking, locked)
[SYSTem:]VERBose
<Boolean>
[0|1|off|on]- Sets verbose enabled/disabled