User`s manual

The Standard Event
Status Enable Register
The Standard Event Status Enable Register specifies which bits in the
Standard Event Status Register can generate a summary bit which is
subsequently used to generate a service request. The AFG logically ANDs
the bits in the Event Register with bits in the Enable Register, and ORs the
results to obtain a summary bit.
The bits in the Enable Register that are to be ANDed with bits in the Event
Register are specified (unmasked) with the command:
*ESE <unmask>
<
unmask> is the decimal, hexadecimal (#H), octal (#Q), or binary (#B)
value of the Enable Register bit to be unmasked. (Bits 7, 5, 4, 3, 2, 0 have
corresponding decimal values of 128, 32, 16, 8, 4, 1.)
All unmasked bits in the Enable Register can be determined with the
command:
*ESE?
The Standard Event Status Enable Register is cleared at power-on, or with
an
<unmask> value of 0.
Program Example The ERRORCHK program sets up the Standard Event Status Group
Registers to monitor programming errors. When a command error,
execution error, device dependent error, or query error occurs, a service
request interrupt is sent to the computer which then reads the AFG error
queue and displays the error code and message.
The steps of the program are:
1. Unmask bits 5 (CME), 4 (EXE), 3 (DDE), 2 (QYE) in the Standard
Event Status Enable Register so that the error will generate a
Standard Event Status Group summary bit.
*ESE <unmask>
2. Unmask bit 5 (ESB) in the Service Request Enable Register so that a
service request is generated when the Standard Event Status Group
summary bit is received.
*SRE <unmask>
440 AFG Status Chapter 9