Acquisition Synchronization; Blocking Synchronization; Polling Synchronization With Timeout - Agilent Technologies Infiniium 90000 Series Programmer's Manual

Oscilloscopes
Hide thumbs Also See for Infiniium 90000 Series:
Table of Contents

Advertisement

7
Remote Acquisition Synchronization

Acquisition Synchronization

Blocking Synchronization

Use the :DIGitize command to start the acquisition. This blocks subsequent
queries until the acquisition and processing is complete.
Example
// Setup
:TRIGGER:MODE EDGE
:TIMEBASE:SCALE 5e-9
//Acquire
:DIG
//Get results
:MEASURE:RISETIME?

Polling Synchronization With Timeout

This example requires a timeout value so the operation can abort if an
acquisition does not occur within the timeout period.
Example
TIMEOUT = 1000ms
currentTime = 0ms
// Setup
:STOP; *OPC?
:ADER?
// Acquire
:SINGLE
while(currentTime <= TIMEOUT)
{
}
//Get results
if (currentTime < TIMEOUT)
{
132
"Blocking Synchronization"
"Polling Synchronization With Timeout"
// if not stopped
// clear ADER event
if (:ADER? == 1)
{
break;
}
else
{
// Use small wait to prevent excessive
// queries to the oscilloscope
wait (100ms)
currentTime += 100ms
}
Agilent Infiniium 90000 Series Oscilloscopes Programmer's Reference
on page 132
on page 132

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents