86
6
Working with Automatic Test Systems
Detecting Occurrence of an Error
Detecting Occurrence of an Error
Using the status reporting system
The status of the E5052A can be monitored through the status registers. This section
describes how to detect an error using the status registers. For a complete description of the
status report mechanism, including the specifications of each bit, see Appendix B, “Status
Reporting System”.
The occurrence of an error will be shown in the standard event status register. An SRQ
(service request) is useful when you create a program that uses the information reported by
this register to detect the occurrence of errors.
To detect the an error via an SRQ, use one of the following commands:
•
•
Follow these steps:
Step 1.
Set the E5052A so that it generates an SRQ when any of the error occurrence bits is set to 1
in the standard event status register.
Step 2.
When an SRQ is generated, the program interrupts the measurement cycle.
Figure 6-1
SRQ Generation Sequence (when an error occurs)
Using the error queue
An error queue holds the number for the error and the error message. Reading the error
queue allows the user to verify the error that has occurred. To retrieve the content of the
error queue, use the following command:
•
Summary of Contents for E5052A
Page 4: ...4 ...
Page 28: ...28 1 Making Effective Use of This Manual How to Use This Manual ...
Page 51: ...3 51 Making a Measurement Trigger System 3 Making a Measurement Figure 3 1 Trigger system ...
Page 58: ...58 3 Making a Measurement Waiting for End of measurement ...
Page 76: ...76 4 Reading Writing Measurement Data Entering Data in a Trace ...
Page 82: ...82 Chapter5 Saving and Recalling File Management Managing Files ...