Specifications

Chapter 11 203
Error Handling
Using Status Report Mechanism
11. Error Handling
Using Status Report Mechanism
The E4991A’s status can be monitored through a set of status registers. The Standard Event
Status Register indicates whether an error has occurred. A program uses SRQ (Service
Request) to detect an error based on the information from these registers.
To detect an error with SRQ, use the following GPIB commands.
*SRE on page 283
*ESE on page 280
Then perform the following procedure.
Step 1. Configure the E4991A to generate SRQ when one of the error bits in the Standard Event
Status Register is set to 1.
Step 2. When SRQ is generated, a program generates an interrupt.
Figure 11-1 SRQ Generation Sequence (when error has occurred)