beautypg.com

GW Instek GLC-9000 User Manual User Manual

Page 157

background image

REMOTE CONTROL

157

Under the following situations, the status byte register will be
cleared:

Using the *CLS command.

Reading the Standard Event Register

Under the following conditions the Status Byte Enable Register will
be cleared:

Using the *SRE 0 command.

Using the STB? Query:

If bits 2-5 of the Status Byte Register are set to 0, using the
*STB? query will clear the Request Service Bit (bit 6).

Using the *OPC command:
To see if a command has completed, the *OPC command or query
(OPC?) can be used. The OPC command will set bit “0” of the Standard
Event Register to 1 when the operation proceeding the OPC command
has completed. In contrast, the OPC query will not set bit “0”of the
Standard Event Register, instead, it will return “1”.
A query error occurs if the return value makes the output queue exceed
the output queue size. A command error occurs if data follows a
command.