SX8 User Manual
G-‐UM-‐00004 Rev 006
29 of 45
Standard Event Status Register Query
Syntax
*ESR?
Function Returns the contents of the standard event status register as
an integer that, when converted to a binary number,
represents the bit values of the register. The standard event
status register is cleared after
*ESR?
command.
Example
*ESR?
returns 195 if the standard event status register is set
to 11000011.
Identification Query
Syntax
*IDN?
Function The
*IDN
query returns a string value which identifies the
manufacturer, instrument type and firmware version.
Example
*IDN?
Returns "JGR Optics Inc., SX8, XXXXX, YYY"
Where:
<XXXXX> = device serial number
<YYY> = firmware revision number
Operation Complete Command
Syntax
*OPC
Function Causes the switch to set the OPC bit in the standard event
status register when all pending operations have been
completed.
Example
*OPC
Operation Complete Query
Syntax
*OPC?
Function Places a “1” in the output queue of the switch when all
pending operations have been completed. Because the “1” is
not always placed in the output queue immediately, the
status byte register should be polled and the MAV bit
checked to determine if there is a message available in the
output queue.
Example
*OPC?