© 2018 Thorlabs26
TSP01
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 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
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 pro-
grammed 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 com-
mand is executed, the OPC bit and/or an ASCII “1” is placed in the Output Queue.
4. *RST – reset – return instrument to defaults
When the *RST command is sent, the instrument performs the following operations:
· Cancels all pending commands.
· Cancels response to any previously received *OPC and *OPC? commands.
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. *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.
4.2.2.2 SCPI Command Reference
SYSTem subsystem commands
Returns the latest error code and message
Returns level of SCPI standard (1999.0)
STATus subsystem commands
Path to control operation event registers
Returns the event register
Returns the condition register
Returns the enable register
Path to control questionable event registers
Returns the event register
Returns the condition register
Returns the enable register
Set status registers to default states.