Agilent Technologies 54621A Programmer's Manual page 28

Mixed-signal oscilloscopes
Hide thumbs Also See for 54621A:
Table of Contents

Advertisement

Programming Getting Started
Using the DIGitize Command
The following program example shows a typical setup:
OUTPUT 707;":ACQUIRE:TYPE AVERAGE"<terminator>
OUTPUT 707;":ACQUIRE:COMPLETE 100"<terminator>
OUTPUT 707;":WAVEFORM:SOURCE CHANNEL1"<terminator>
OUTPUT 707;":WAVEFORM:FORMAT BYTE"<terminator>
OUTPUT 707;":ACQUIRE:COUNT 8"<terminator>
OUTPUT 707;":WAVEFORM:POINTS 500"<terminator>
OUTPUT 707;":DIGITIZE CHANNEL1"<terminator>
OUTPUT 707;":WAVEFORM:DATA?"<terminator>
This setup places the instrument into the averaged mode with eight averages.
This means that when the DIGitize command is received, the command will
execute until the signal has been averaged at least eight times.
After receiving the :WAVEFORM:DATA? query, the instrument will start passing
the waveform information when addressed to talk.
Digitized waveforms are passed from the instrument to the controller by sending
a numerical representation of each digitized point. The format of the numerical
representation is controlled with the :WAVEFORM:FORMAT command and may
be selected as BYTE, WORD, or ASCII.
The easiest method of transferring a digitized waveform depends on data
structures, formatting available and I/O capabilities. You must scale the integers
to determine the voltage value of each point. These integers are passed starting
with the leftmost point on the instrument's display. For more information, see
the waveform subsystem commands and corresponding program code examples
in the online Programmer's Reference.
Aborting a Digitize Operation Over GPIB
When using GPIB, you can abort a digitize operation by sending a Device Clear over
the bus (CLEAR 707).
2-8

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

54624a54622a54641a54621d54622d54641d ... Show all

Table of Contents