TDS5000B Online Programmer Guide
-- 6 5 --
*OPC
Description
This command generates the operation complete message in the Stan-
dard Event Status Register (SESR) when all pending commands that
generate an OPC message are complete. The *OPC? query places the
ASCII character ”1” into the output queue when all such OPC com-
mands are complete. The *OPC? response is not available to read until
all pending operations finish. For a complete discussion of the use of
these registers and the output queue, see Registers and Queues.
The *OPC command allows you to synchronize the operation of the
instrument with your application program. For more information, see
Synchronization Methods.
Commands that generate an OPC Message
Operation Command
Single sequence
acquisition
ACQuire:STATE ON or
ACQuire:STATE RUN or
ACQuire:STATE 1
(when ACQuire:STOPAfter is set to
SEQuence).
Calibration step
Refer to the optional TDS5000 Series Digital
Phosphor Oscilloscopes Service Manual
Group
Status and Error
Related Commands
BUSY?, *WAI
Syntax 1
*OPC
Syntax 2
*OPC?
Example 1
*OPC
Upon completion of all pending OPC operations, this command gener-
ates the operation complete message in the SESR.
Example 2
*OPC?
This query might return 1 to indicate that all pending OPC operations
are finished.