Status and Events
3- 14
WCA230A & WCA280A Programmer Manual
Synchronizing Execution
Almost all commands are executed in the order in which they are sent from the
controller, and the execution of each command is completed in a short period of
time. However, the following commands perform data analysis in another thread,
and another command can thus be executed concurrently:
:INITiate commands
:PROGram[:SELected]:EXEcute
:PROGram[:SELected]:NAME
:READ commands
[:SENSe]:ADEMod[:IMMediate]
[:SENSe]:DDEMod[:IMMediate]
[:SENSe]:TRANsient[:IMMediate]
These commands are designed so that the next command to be sent is executed
without waiting for the previous command to be completed. In some cases, a
process executed by another command must first be completed before these
commands can be executed; in other cases, these commands must be completed
before the next command is executed.
You have two options to achieve command synchronization:
H
Using the status and event reporting function
H
Using synchronizing commands
In the following example, a :READ command is used to obtain the measurement
results while the Operation Condition Register (OCR) is being used to provide
synchronization.
:STATus:OPERation:NTRansition 16
// Set the filter of the OCR MEASuring bit
:STATus:OPERation:ENABle 16
// Enable the filter of the OCR MEASuring bit
*SRE 128
// Set the SRER OSS bit
:READ:SPECtrum?
// Obtain the measurement results
The command waits for generation of SRQ.
Using the Status and
Event Reporting Function
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: ......