Fluke CombiScope PM3370B User Manual page 120

Autoranging instrument
Hide thumbs Also See for CombiScope PM3370B:
Table of Contents

Advertisement

4 - 20
OPC
Operation Complete
*
Syntax:
OPC
*
Query form:
OPC?
*
Response:
1
Description:
The
OPC command causes the instrument to set the operation complete bit
*
(OPC) in the standard Event Status Register (ESR), when all pending operations
have been finished. When the
the
ESR register when all pending operations have been completed. The OPC
*
bit is cleared, along with the other bits in the
query is executed.
PON URQ CME EXE DDE QYE RQC OPC
7
6
5
The
OPC? query places the ASCII character 1 in the output queue when all
*
pending operations are finished. So, when the
instrument holds off the GPIB handshake as long as it is addressed as talker and
there are device operations pending. Operations exist, as for example
INITiate:CONTinuous ON, that never complete. Sending
operation prevents the instrument from responding to further program messages.
Note:
The
RST command, the
*
effect of an
Restrictions:
Be careful. The GPIB controller may interrupt the program by means of timeout.
So, verify first whether the timeout period is long enough to cover the operation
time of the instrument.
Example:
Send
*RST;*CLS
Send
INITiate:CONTinuous ON
Send
*OPC;*ESR?
Read
0
.
Send
INITiate:CONTinuous OFF
Send
*OPC;*ESR?
Read
1
OPC command is received, the OPC bit is set in
*
4
3
2
1
*
OPC command or an
*
ESR register, when the
*
0
ESR
OPC query is received, the
*
CLS command, and power on cancel the
OPC? query.
*
Resets instrument clears status data.
Continuous initiation.
Indicates that the instrument is busy
sweeping.
No initiation any more.
Indicates that the instrument has
finished sweeping.
COMMAND REFERENCE
OPC? during this
*
ESR?
*

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents