Technical data
128 Agilent Infiniium 90000 Series Oscilloscopes Programmer's Reference
7 Remote Acquisition Synchronization
Averaging Acquisition Synchronization
When averaging, it is necessary to know when the average count has been
reached. Since an ADER/PDER event occurs for every acquisition in the
average count, these commands cannot be used. The :SINGle command
does not average.
If it is known that a trigger will occur, a :DIG will acquire the complete
number of averages, but if the number of averages is large, it may cause a
timeout on the connection.
The example below acquires the desired number of averages and then
stops running.
Example
AVERAGE_COUNT = 256
:STOP;*OPC?
:TER?
:ACQ:AVERage:COUNt AVERAGE_COUNT
:ACQ:AVERage ON
:RUN
//Assume the oscilloscope will trigger, if not put a check here
while (:WAV:COUNT? < AVERAGE_COUNT)
{
wait(100ms)
}
:STOP;*OPC?
// Get results