© 2017 Thorlabs GmbH46
PM400
5.5.2.2 Command Reference
*IDN? – identification query - read identification code
The identification code includes the manufacturer, model code, serial number, and firmware re-
vision levels and is sent in the following format: THORLABS,MMM,SSS,X.X.X
Where: MMM is the model code
SSS is the serial number
X.X.X is the instrument firmware revision level
*OPC – operation complete - set OPC bit
*OPC? – operation complete query – places a “1” in output queue
When *OPC is sent, the OPC bit in the Standard Event Register will set after all pending com-
mand operations are complete. When *OPC? is sent, an ASCII “1” is placed in the Output
Queue after all pending command operations are complete.
Typically, either one of these commands is sent after the INITiate command. The INITiate com-
mand is used to take the instrument out of idle in order to perform measurements. While opera-
ting within the trigger model layers, many sent commands will not execute. After all program-
med operations are completed, the instrument returns to the idle state at which time all pending
commands (including *OPC and/or *OPC?) are executed. After the last pending command is
executed, the OPC bit and/or an ASCII “1” is placed in the Output Queue.
When *OPC is sent, the OPC bit in the Standard Event Register will set after all pending com-
mand operations are complete. When *OPC? is sent, an ASCII “1” is placed in the Output
Queue after all pending command operations are complete.
*RST – reset – return instrument to defaults
When the *RST command is sent, the instrument performs the following operations:
·
Returns the instrument to the default conditions
·
Cancels all pending commands.
·
Cancels response to any previously received *OPC and *OPC? commands.
*TST? – self-test query – run self test and read result
Use this query command to perform the instrument self-test routine. The command places the
coded result in the Output Queue. A returned value of zero (0) indicates that the test passed,
other values indicate that the test failed.
*WAI – wait-to-continue – wait until previous commands are completed
The *WAI command is a no operation command for the instrument and thus, does not need to
be used. It is there for conformance to IEEE488.2.