
Status and Events
WCA230A & WCA280A Programmer Manual
3- 15
The IEEE-488.2 common commands include the following synchronizing
commands:
*OPC
*OPC?
*WAI
Using the *OPC Command.
The *OPC command sets the SESR OPC bit when all
the operations for which it is waiting are completed. If the GPIB interface is in
use, you can synchronize the execution by using this command together with the
serial polling or service request function.
The following is a command sequence example:
*ESE 1
// Enable the ESER OPC bit
*SRE 32
// Enable the SRER ESB bit
:ABORt;INITiate:IMMediate;*OPC
// Wait for SRQ to provide synchronization
Using the Query *OPC?
The query *OPC? writes ASCII code “1” into the Output
Queue when all operations for which it is waiting are completed. You can
provide synchronization using the command string as the following example:
:ABORt;INITiate:IMMediate;*OPC?
The command waits until “1” is written into the Output Queue. When the
command goes to the Output Queue to read the data, a time-out may occur
before the data is written into the queue.
Using the *WAI Command.
After the process of the preceding command is
completed, the *WAI command begins to execute the process of the next
command as the following example:.
:ABORt;INITiate:IMMediate;*WAI
// Wait for the *WAI process to provide
synchronization
Using Synchronizing
Commands
Summary of Contents for WCA230A
Page 13: ...Getting Started...
Page 14: ......
Page 24: ...Getting Started 1 10 WCA230A WCA280A Programmer Manual...
Page 25: ...Syntax and Commands...
Page 26: ......
Page 92: ...CALCulate Commands 2 66 WCA230A WCA280A Programmer Manual...
Page 100: ...CALibration Commands 2 74 WCA230A WCA280A Programmer Manual...
Page 114: ...CONFigure Commands 2 88 WCA230A WCA280A Programmer Manual...
Page 270: ...DISPlay Commands 2 244 WCA230A WCA280A Programmer Manual...
Page 320: ...FETCh Commands 2 294 WCA230A WCA280A Programmer Manual...
Page 326: ...HCOPy Commands 2 300 WCA230A WCA280A Programmer Manual...
Page 330: ...INITiate Commands 2 304 WCA230A WCA280A Programmer Manual...
Page 350: ...MMEMory Commands 2 324 WCA230A WCA280A Programmer Manual...
Page 356: ...PROGram Commands 2 330 WCA230A WCA280A Programmer Manual...
Page 396: ...READ Commands 2 370 WCA230A WCA280A Programmer Manual...
Page 554: ...SENSe Commands 2 528 WCA230A WCA280A Programmer Manual...
Page 562: ...STATus Commands 2 536 WCA230A WCA280A Programmer Manual...
Page 572: ...SYSTem Commands 2 546 WCA230A WCA280A Programmer Manual...
Page 578: ...TRACe Commands 2 552 WCA230A WCA280A Programmer Manual...
Page 594: ...TRIGger Commands 2 568 WCA230A WCA280A Programmer Manual...
Page 598: ...Retrieving Response Message 2 572 WCA230A WCA280A Programmer Manual...
Page 599: ...Status and Events...
Page 600: ......
Page 616: ...Status and Events 3 16 WCA230A WCA280A Programmer Manual...
Page 623: ...Programming Examples...
Page 624: ......
Page 641: ...Appendices...
Page 642: ......
Page 660: ...Appendix C Factory Initialization Settings C 12 WCA230A WCA280A Programmer Manual...
Page 668: ...Appendix E SCPI Conformance Information E 4 WCA230A WCA280A Programmer Manual...
Page 669: ...Glossary and Index...
Page 670: ......
Page 672: ...Glossary Glossary 2 WCA230A WCA280A Programmer Manual...
Page 676: ...Index Index 4 WCA230A WCA280A Programmer Manual...
Page 677: ......
Page 678: ......