HP 54601 Programmer's Manual page 27

Table of Contents

Advertisement

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 HP 54600-Series Oscilloscopes
Programmer's Reference.
Aborting a Digitize Operation Over HP-IB
When using HP-IB, a digitize operation may be aborted by sending a Device
Clear over the bus (CLEAR 707).
Programming Getting Started
Using the DIGitize Command
2–7

Advertisement

Table of Contents
loading

This manual is also suitable for:

54600 series5460254603546105461554616

Table of Contents