Synchronization In The Programming Flow; Set Up The Oscilloscope; Acquire A Waveform; Retrieve Results - Agilent Technologies InfiniiVision 5000 Series Programmer's Manual

Hide thumbs Also See for InfiniiVision 5000 Series:
Table of Contents

Advertisement

10
Synchronizing Acquisitions

Synchronization in the Programming Flow

Most remote programming follows these three general steps:
1
2
3

Set Up the Oscilloscope

Before making changes to the oscilloscope setup, it is best to make sure it
is stopped using the :STOP command followed by the *OPC? query.
It is not necessary to use *OPC?, hard coded waits, or status checking when setting up the
N O T E
oscilloscope. After the oscilloscope is configured, it is ready for an acquisition.

Acquire a Waveform

When acquiring a waveform there are two possible methods used to wait
for the acquisition to complete. These methods are blocking and polling.
The table below details when each method should be chosen and why.
Use When
Advantages
Disadvantages
Implementation
Details

Retrieve Results

Once the acquisition is complete, it is safe to retrieve measurements and
statistics.
648
Set up the oscilloscope and device under test (see
Acquire a waveform (see
Retrieve results (see
Blocking Wait
You know the oscilloscope will
trigger based on the oscilloscope
setup and device under test.
No need for polling.
Fastest method.
Remote interface may timeout.
Device clear only way to get control
of oscilloscope if there is no trigger.
See
"Blocking Synchronization"
page 649.
Agilent InfiniiVision 5000 Series Oscilloscopes Programmer's Guide
page
648).
page
648).
on
page
648).
Polling Wait
You know the oscilloscope may or
may not trigger on the oscilloscope
setup and device under test.
Remote interface will not timeout
No need for device clear if no trigger.
Slower method.
Requires polling loop.
Requires known maximum wait time.
See
"Polling Synchronization With
Timeout"
on page 650.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents