64
Chapter 5
Starting (Triggering) Measurement and Waiting for Completion of Measurement
Waiting For Completion Of Measurement (detecting completion of
measurement)
Waiting For Completion Of Measurement (detecting
completion of measurement)
You can detect the status of the E4981A by using the status register, as described in this
section. For information on the entire status report system (for example, information on
each bit of the status register), refer to Appendix C,
The measurement state is indicated by the operation status register. An SRQ (service
request) is useful for detecting the completion of measurement in your program by using
the information indicated by this register.
To detect the completion of measurement using SRQ, use the following commands.
•
•
:STATus:OPERation:ENABle on page 266
The procedure is given below.
Step 1.
Make the setup so that the E4981A generates an SRQ if bit 4 of the operation status event
register is set to 1.
Step 2.
Trigger the instrument to start a measurement.
Step 3.
Perform interrupt handling in the program when the SRQ occurs.
Figure 5-3
SRQ generation sequence (when measurement finishes)
Sample program
to view an example of detection of completion of measurement using
SRQ.
Содержание E4981A
Страница 2: ......
Страница 20: ...18 Chapter1 Making Effective Use of This Manual How To Use This Manual ...
Страница 60: ...58 Chapter4 Preparation for Accurate Measurement Executing Correction Using the Cable Correction Function ...
Страница 88: ...86 Chapter7 Sorting Based on Measured Result Comparator Function Sample Program ...
Страница 162: ...160 Chapter9 Measurement Applications Sample Programs Detecting Error Occurrence using SRQ HT Basic ...
Страница 376: ...374 AppendixE Error Messages Warning Messages WARNING ...
Страница 382: ......
Страница 383: ...This information is subject to change without notice Keysight Technologies 2008 2014 Edition 2 August 2014 E4981 90001 ...