Chapter 4 Command Reference
Common Commands
Programming Guide
4-51
4
*OPC
(Operation Complete Command)
COMMAND
*OPC
This event command enables the OPC bit (bit 0) in the Standard Event
Status Register to be set when a triggered action is complete. See the
section titled “Standard Event Status Register” on page 3-30 of this guide
for a detailed description of the Standard Event Status Register's
Operation Complete bit.
This event command is “disabled” by *CLS, *RST, power-on, or upon the
transition of the measurement cycle from measuring to idle.
This event command has no query form.
See the section titled “Using the *OPC Command to Assert SRQ” on
page 3-50 for an example that uses this command.
RELATED
FRONT-PANEL
KEYS
None
*OPC?
(Operation Complete Query)
COMMAND
*OPC?
This query causes the instrument to place a response in the output queue
when a triggered action is complete. This allows synchronization between
a controller and the instrument using the MAV bit in the Status Byte
Register. (Note that this query does not actually “read” a state, as most
queries do.)
See the section titled “Using the *OPC? Command” on page 3-49 for an
example that uses this command.
QUERY RESPONSE
Single ASCII-encoded byte, 1.
RELATED
FRONT-PANEL
KEYS
None
NOTE
The *OPC? query does not in any way affect the OPC bit in the Standard
Event Status Register.
Summary of Contents for 53150A Series
Page 1: ... Programming Guide HP 53150A 151A 152A Microwave Frequency Counter ...
Page 2: ......
Page 10: ...Contents x Programming Guide ...
Page 11: ...1 Before You Start ...
Page 20: ...Chapter 1 Before You Start Related Documentation 1 10 Programming Guide 1 ...
Page 21: ...2 Command Summary A Quick Reference ...
Page 41: ...3 Programming Your Counter for Remote Operation ...
Page 101: ...4 Command Reference A Dictionary ...
Page 162: ...Chapter 4 Command Reference Common Commands 4 62 Programming Guide 4 ...
Page 163: ...5 Errors ...
Page 174: ...Chapter 5 Errors Error Types 5 12 Programming Guide 5 ...
Page 184: ......
Page 186: ... Manual Part Number 53150 90002 Printed in U S A NOVEMBER 1997 ...