beautypg.com

Standard event register – GW Instek GLC-9000 User Manual User Manual

Page 158

background image

GLC-9000 User Manual

158

Standard Event Register

The Standard Event Register groups report when any of the
following events occur: power on, command syntax errors,
command execution errors, self-test or calibration errors, query
errors and when the *OPC command is issued. Any event that has
its corresponding bit enabled in the Standard Event Status Enable
register is logically summed to set the Standard Event Summary bit
in the Status Byte Register. The *ESE command can be used to set
the bit weight of the Standard Event Status Enable Register.
Bit Summary – Standard Event Register

Bit Position

Bit
Weight Bit Weight

0 Operation

Complete


1

The Operation Complete bit is set
when the *OPC command is executed
and all standby operations have
finished.

1 Unused

2

Unused, returns “0”

2 Query Error

4

The Query Error bit is set when:
There is an attempt to read the Output
Queue when empty.
When data is lost from the output
queue.
When the output queue overflows.

3 Device Error

8

Indicates there is a self-test, calibration
or device-specific error.

4 Execution

Error

16

Indicates that an execution error has
occurred.

5 Command

Error

32

Indicates that a command syntax error
has occurred.

6 Unused

64

Unused, returns “0”

7 Power On

128

Power on. When the machine is turned
on this, bit is set.