User`s guide
6-12
Status Reporting
Standard Event Status Enable Register (SESER)
Standard Event Status Enable Register (SESER)
To allow any of the Standard Event Status Register (SESR) bits to generate a
summary bit, you must first enable that bit. Enable the bit by using the *ESE
(Event Status Enable) common command to set the corresponding bit in the
Standard Event Status Enable Register (SESER).
Set bits are read with the *ESE? query.
Example Suppose your application requires an interrupt whenever any type of error
occurs. The error related bits in the Standard Event Status Register are bits 2
through 5. The sum of the decimal weights of these bits is 60. Therefore, you
can enable any of these bits to generate the summary bit by sending:
OUTPUT 707;"*ESE 60"
Whenever an error occurs, it sets one of these bits in the Standard Event Status
Register. Because the bits are all enabled, a summary bit is generated to set bit
5 (ESB) in the Status Byte Register.
If bit 5 (ESB) in the Status Byte Register is enabled (via the *SRE command),
an SRQ service request interrupt is sent to the external computer.
Disabled Standard Event Status Register bits respond but do not generate a
summary bit.
Standard Event Status Register bits that are not enabled still respond to their
corresponding conditions (that is, they are set if the corresponding event occurs).
However, because they are not enabled, they do not generate a summary bit to the
Status Byte Register.