112
S:\HP8924C\USRGUIDE\BOOK\chapters\hpibstat.fb
Chapter 4, Status Reporting
Status Reporting
Event Enable Register
The Event Enable Register defines which bits in the Event Register will be used to
generate the Summary Message. Each bit in the Enable Register has a
corresponding bit in the Event Register. The Test Set logically ANDs
corresponding bits in the Event and Enable registers and then performs an
inclusive OR on all the resulting bits to generate the Summary Message. By using
the enable bits the application program can direct the Test Set to set the Summary
Message to the 1 or TRUE state for a single event or an inclusive OR of any group
of events. Enable Registers are read-write. Enable Registers in the Test Set are
either 8 or 16 bits long and may contain unused bits which correspond to unused
bits in the associated Event Register. All unused bits return a zero value when
read and are ignored when written to. Enable Registers are unaffected by a *CLS
(clear status) command or queries.
Summary Message Bit
The Summary Message is a single-bit message which indicates whether or not one
or more of the enabled events have occurred since the last reading or clearing of
the Event Register. The Test Set logically ANDs corresponding bits in the Event
and Enable registers and then performs an inclusive OR on all the resulting bits to
generate the Summary Message. By use of the enable bits, the application
program can direct the Test Set to set the Summary Message to the 1, or TRUE,
state for a single event or an inclusive OR of any group of events. The Summary
Message is TRUE when an enabled event in the Event Register is set TRUE.
Conversely, the Summary Message is FALSE when no enabled events are TRUE.
Summary Messages are always seen as bits in another register.