Programming instructions
Table Of Contents
- Contents
- Title Page
- Chapter 1 Introduction to Programming
- Chapter 2 Programming Getting Started
- Chapter 3 Programming over HP-IB
- Chapter 4 Programming over RS-232-C
- Chapter 5 Programming and Documentation Conventions
- Chapter 6 Status Reporting
- Figure 6-1. Status Reporting Overview Block Diagram
- Table 6-1. Status Reporting Bit Definition
- Status Reporting Data Structures
- Status Byte Register (SBR)
- Service Request Enable Register (SRER)
- Trigger Event Register (TRG)
- Standard Event Status Register (SESR)
- Standard Event Status Enable Register (SESER)
- User Event Register (UER)
- Local Event Register (LCL)
- Operation Status Register (OPR)
- Limit Test Event Register (LTER)
- Mask Test Event Register (MTER)
- Histogram Event Register (HER)
- Arm Event Register (ARM)
- Error Queue
- Output Queue
- Message Queue
- Key Queue
- Clearing Registers and Queues
- Figure 6-3. Status Reporting Decision Chart
- Chapter 7 Installing and Using the Programmer's Reference
- Chapter 8 Programmer’s Quick Reference
- Warranty
- Index

Standard Event Status Enable Register (SESER)
To make it possible for any of the Standard Event Status Register (SESR)
bits to be able to generate a summary bit, first enable the 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 For 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.
Function of SESR Bits
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.
Status Reporting
Standard Event Status Enable Register (SESER)
6-13