Tektronix TDS420A 사용자 설명서

다운로드
페이지 433
Status and Events
3–8
TDS Family Oscilloscope Programmer Manual
Processing Time
Acquiring Waveform Data
 
Figure 3–7: Command Processing Without Using Synchronization
To ensure the digitizing oscilloscope completes waveform acquisition before
taking the measurement on the acquired data, you can synchronize the program.
Figure 3–8 shows the desired processing sequence.
Processing Time
Acquiring Waveform Data
 
Figure 3–8: Processing Sequence With Synchronization
You can use four commands to synchronize the operation of the digitizing
oscilloscope with your application program: *WAI, BUSY?, *OPC, and *OPC?.
You can force commands to execute sequentially by using the *WAI command.
This command forces completion of the previous commands before processing
new ones.
The same command sequence using the *WAI command for synchronization
looks like this:
/* Set up single-sequence acquisition */
 
 
 
 
/* Acquire waveform data */
 
/* Set up the measurement parameters */
 
 
/* Wait until the acquisition is complete before taking the measurement */
Using the *WAI Command