Using the Standard
Event Status Group
Chapter 8
The following 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
Event Status Enable Register so that the error will generate a
Standard Event Status Group summary bit.
*ESE <
unmask
2. Unmask bit 5 (
ESB
service request is generated when the Standard Event Status Group
summary bit is received.
*SRE <
unmask
), 4 (
), 3 (
), 2 (
EXE
DDE
>
) in the Service Request Enable Register so that a
>
HP E1340A AFG Status
) in the Standard
QYE
210