E5071C 
1038 
Waiting for the End of Measurement 
•  Using the Status Register 
•  Using :TRIG:SING Command 
•  Using Wait Time 
Other topics about Making Measurement 
Using the Status Register 
The status of the E5071C can be detected through the status registers. 
This section explains how to detect the end of measurement by using the 
status registers. 
Measurement status is reported by the operation status condition register. 
An SRQ (service request) is useful when creating a program that uses the 
information reported by this register to detect the end of measurement. 
To detect the end of measurement via an SRQ, use one of the following 
commands: 
•  *SRE 
•  :STAT:OPER:ENAB 
•  :STAT:OPER:PTR 
•  :STAT:OPER:NTR 
Follow these steps to utilize an SRQ: 
1.  Configure the E5071C 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. 
2.  Trigger the instrument to start a measurement cycle. 
3.  When an SRQ is generated, the program interrupts the measurement 
cycle. 
SRQ generation sequence (at end of measurement)