Waiting For End Of Measurement; Using The Status Register - Agilent Technologies E5052A Programmer's Manual

Signal source analyzer
Hide thumbs Also See for E5052A:
Table of Contents

Advertisement

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:
*SRE on page 275
:STATus:OPERation:ENABle on page 349
:STATus:OPERation:PTRansition on page 350
:STATus:OPERation:NTRansition on page 350
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.
3
Making a Measurement
Waiting for End of measurement
55

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents