Chapter 4 Command Reference

Introduction

*OPC?

(Operation Complete Query)

*OPC?

Query Response

NOTE

This query produces a response upon the transition of the measurement cycle from measuring to idle. This allows synchronization between a controller and the instrument using the MAV bit in the Status Byte Register or a read of the Output Queue. (Note that this query does not actually “read” a state, as most queries do.)

Since this query will not respond until the measurement cycle transitions from measuring to idle, the only way to cancel the query “holdoff” is by Device Clear (page 4-31) or power-on.

See the section titled “Using the *OPC? Command,” page 3- 47, in Chapter 3 for an example using this command.

Single ASCII-encoded byte, 1.

The *OPC? query does not in any way affect the OPC bit in the Standard Event Status Register.

Programming Guide

4-133

Page 299
Image 299
HP 53131A, 132A manual Operation Complete Query, Opc?