Agilent Technologies Infiniium 8000A Programmer's Reference Manual page 864

Table of Contents

Advertisement

BYTE BYTE-formatted data is formatted as signed 8-bit integers. If you use BASIC,
WORD WORD-formatted data is transferred as signed 16-bit integers in two bytes. If
BINary BINary-formatted data can be used with any SOURce. When a source is any
Example
Waveform Commands
FORMat
you need to create a function to convert these signed bits to signed integers.
In BYTE format:
• The value 125 represents a hole value. A hole can occur when you are
using the equivalent time sampling mode when during a single acquisition
not all of the acquisition memory locations contain sampled waveform
data. It can take several acquisitions in the equivalent time sampling mode
to fill all of the memory locations.
The waveform data values are converted from 16-bit integers to 8-bit integers
before being downloaded to the computer. For more information see
"Understanding WORD and BYTE Formats" on page 30-37.
If PODALL is the source, the byte format will produce an error.
:WAVeform:BYTeorder is set to MSBFirst, the most significant byte of each word
is sent first. If the BYTeorder is LSBFirst, the least significant byte of each word
is sent first. In WORD format:
• For analog channels, the value 31232 represents a hole level. There are
no hole values in the data for digital channels. A hole can occur when you
are using the equivalent time sampling mode and during a single
acquisition not all of the acquisition memory locations contain sampled
waveform data. It can take several acquisitions in the equivalent time
sampling mode to fill all of the memory locations.
For more information see "Understanding WORD and BYTE Formats" on page
30-37.
valid source except for histogram, the data is return in WORD format.
For digital channels, if the source is pod1 or pod2 the data is in BYTE format.
If the source is podall the dat is in WORD format.
When the source is set to HISTogram, the data is transferred as signed 32-bit
integers in four bytes. The are no hole values in the histogram data.
If :WAVeform:BYTeorder is set to MSBFirst, the most significant byte of each
long word is sent first. If the BYTeorder is LSBFirst, the least significant byte
of each long word is sent first.
This example selects the WORD format for waveform data transmission.
10
OUTPUT 707;":WAVEFORM:FORMAT WORD"
20
END
30-42

Advertisement

Table of Contents
loading

Table of Contents