
168
Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide
6
Common (*) Commands
*OPC (Operation Complete)
Command Syntax
*OPC
The *OPC command sets the operation complete bit in the Standard Event Status
Register when all pending device operations have finished.
You can use the *ESR? query to look at the OPC bit (bit 0) in the Standard Event
Status Register to determine when an operation is complete.
Query Syntax
*OPC?
The *OPC? query places an ASCII "1" in the output queue when all pending device
operations have completed. The interface hangs until this query returns.
The *OPC? query can be used between overlapped commands to make sure one is
complete before the next one begins. The *OPC? query can also be used to pause
a controller program until an operation is complete.
Return Format
<complete><NL>
<complete> ::= 1
See Also
•
"Introduction to Common (*) Commands"
•
"*ESE (Standard Event Status Enable)"
•
"*ESR (Standard Event Status Register)"
•
•
":OPERegister:CONDition (Operation Status Condition Register)"
•
":OPERegister[:EVENt] (Operation Status Event Register)"
•
, “Sequential (Blocking) vs. Overlapped Commands,” starting on page
•
"Synchronization with an Averaging Acquisition"
•
•
"Example: Blocking and Polling Synchronization"
•
"Example: Waiting for IO Operation Complete"
NOTE
The front-panel graphical user interface can disable most of the remote interface, including
the *OPC syntax, in certain situations. Bit 4 in the Operation Status Condition Register shows
whether the remote user interface is enabled or disabled. For more information, see
":OPERegister:CONDition (Operation Status Condition Register)"
Summary of Contents for P9241
Page 1: ...Keysight P9241 42 43A Oscilloscopes SCPI Programmer s Guide...
Page 6: ...6 Keysight P9241 42 43A Oscilloscopes SCPI Programmer s Guide...
Page 36: ...36 Keysight P9241 42 43A Oscilloscopes SCPI Programmer s Guide 1 What s New...
Page 41: ...Setting Up 2 Keysight P9241 42 43A Oscilloscopes SCPI Programmer s Guide 41...
Page 44: ...44 Keysight P9241 42 43A Oscilloscopes SCPI Programmer s Guide 2 Setting Up...
Page 222: ...222 Keysight P9241 42 43A Oscilloscopes SCPI Programmer s Guide 7 Root Commands...
Page 244: ...244 Keysight P9241 42 43A Oscilloscopes SCPI Programmer s Guide 8 ACQuire Commands...
Page 256: ...256 Keysight P9241 42 43A Oscilloscopes SCPI Programmer s Guide 9 CALibrate Commands...
Page 278: ...278 Keysight P9241 42 43A Oscilloscopes SCPI Programmer s Guide 10 CHANnel n Commands...
Page 328: ...328 Keysight P9241 42 43A Oscilloscopes SCPI Programmer s Guide 15 EXTernal Trigger Commands...
Page 386: ...386 Keysight P9241 42 43A Oscilloscopes SCPI Programmer s Guide 17 FUNCtion m Commands...
Page 390: ...390 Keysight P9241 42 43A Oscilloscopes SCPI Programmer s Guide 18 HCOPY Commands...
Page 416: ...416 Keysight P9241 42 43A Oscilloscopes SCPI Programmer s Guide 20 MARKer Commands...
Page 498: ...498 Keysight P9241 42 43A Oscilloscopes SCPI Programmer s Guide 21 MEASure Commands...
Page 532: ...532 Keysight P9241 42 43A Oscilloscopes SCPI Programmer s Guide 22 MTESt Commands...
Page 572: ...572 Keysight P9241 42 43A Oscilloscopes SCPI Programmer s Guide 24 SAVE Commands...
Page 900: ...900 Keysight P9241 42 43A Oscilloscopes SCPI Programmer s Guide 28 TIMebase Commands...
Page 1080: ...1080 Keysight P9241 42 43A Oscilloscopes SCPI Programmer s Guide 31 WGEN w Commands...
Page 1142: ...1142 Keysight P9241 42 43A Oscilloscopes SCPI Programmer s Guide 34 Error Messages...
Page 1344: ...1344 Keysight P9241 42 43A Oscilloscopes SCPI Programmer s Guide Index...