
(Operation Complete)
command/query
The *OPC command will cause the instrument to set the operation
complete bit in the Standard Event Status Register when all pending
device operations have finished. The commands which affect this bit are
the Overlapped Commands. An Overlapped Command is a command
that allows execution of subsequent commands while the device
operations initiated by the Overlapped Command are still in progress.
The overlapped commands for the HP
are:
STAR
STOP
The *OPC query places an ASCII “1” in the output queue when all
pending device operations have been completed. The bus is deactivated
when the query is sent and reactivated when the ASCII “1” is placed in the
output queue.
Command Syntax:
l
OPC
Example:
OUTPUT
Query Syntax:
l
oPc?
Returned Format:
c
Example:
10 DIM
20 OUTPUT
30 ENTER
40 PRINT
50 END
HP
1651B
Programming Reference
Common Commands
5-9