Status and Events
3–12 TLS 216 Programmer Manual
The *OPC? query places a 1 in the Output Queue once an operation is complete.
A time-out could occur if you try to read the output queue before there is any
data in it.
The same command sequence using the *OPC? query 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 */

#( "%' '! "'%$ )(&)( )!)!
/* Take amplitude measurement on acquired data */

This is the simplest approach. It requires no status handling or loops. However,
you must set the controller time-out for longer than the acquisition operation.
Using the *OPC? Query