3
55
Making a Measurement
Waiting for End of measurement
3. Making
a Mea
s
u
re
m
en
t
Waiting for End of measurement
Using the Status Register
The status of the E5052A can be detected through the status registers. This section
describes how to detect the end of measurement by 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,”.
Measurement status is reported by the operation status condition register (see Table B-3 on
page 484). An SRQ (service request) is useful when you create a program that uses the
information reported by this register to detect the end of measurement.
NOTE
The *OPC command can not detect the end of measurement.
To detect the end of measurement via an SRQ, use one of the following commands:
•
•
•
•
Follow these steps:
Step 1.
Configure the E5052A so that it generates an SRQ when the operation status condition
register's bit 4 (a bit that is set to 1 during measurement) is changed from 1 to 0.
Step 2.
Trigger the instrument to start a measurement cycle.
Step 3.
When an SRQ is generated, the program interrupts the measurement cycle.
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 ...