Specifications
Chapter 10 135
Error Handling
Using the Status Reporting System
10. Error Handling
Using the Status Reporting System
The status of the 4287A can be detected through the status registers. This section explains
how to use the status registers to detect the occurrence of an error. For a complete
description of the status report mechanism, including the specifications of each bit, see
Appendix B, “Status Reporting System.”
Occurrence of an error will be reflected in the standard event status register. An SRQ is
useful when you create a program that uses the information reported by this register to
detect the occurrence of an error.
Use the following commands to detect the end of sweep via SRQ:
• *SRE on page 207
• *ESE on page 204
Follow these steps:
Step 1. Set the 4287A to generate an SRQ when “1” is assigned to one of the error occurrence bits
of the standard event status register.
Step 2. Describe the program so that it executes interruption processing as soon as an SRQ is
generated.
Figure 10-1 SRQ generation sequence (in response to an error)