6.4 PM100D SCPI Commands
6.4.2.2 Command reference
6.4.2.2.1 *IDN? – identification query - read identification code
The identification code includes the manufacturer, model code, serial number, and
firmware revision 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
6.4.2.2.2 *OPC – operation complete - set OPC bit
6.4.2.2.3 *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 command 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 command is used to take the instrument out of idle in order to perform
measurements. While operating within the trigger model layers, many sent
commands will not execute. After all programmed 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 command operations are complete. When *OPC? is sent, an ASCII “1” is
placed in the Output Queue after all pending command operations are complete.
6.4.2.2.4 *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.
6.4.2.2.5 *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.
6.4.2.2.6 *WAI – wait-to-continue – wait until previous commands are completed
47