Waiting For Completion Of Measurement (Detecting Completion Of Measurement) - Agilent Technologies 4288A Programming Manual

1khz/1mhz capacitance meter
Table of Contents

Advertisement

Starting (Triggering) Measurement and Waiting for Completion of Measurement
Waiting For Completion Of Measurement (detecting
completion of measurement)
You can detect the status of the 4288A 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, "Status Reporting System."
The measurement state is indicated by the operation status register (refer to Table C-3 on
page 254). 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.
*SRE on page 127
:STAT:OPER:ENAB on page 189
The procedure is given below.
Step 1. Make the setup so that the 4288A 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)
Chapter 5
Waiting For Completion Of Measurement (detecting completion of
measurement)
55

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents