Using The Ieee-488.2 Binary Block Format - Agilent Technologies 33250A User Manual

80 mhz function / arbitrary waveform generator
Hide thumbs Also See for 33250A:
Table of Contents

Advertisement

4
Chapter 4 Remote Interface Reference
Arbitrary Waveform Commands
• The following statement shows how to use the DATA:DAC command to
download seven integer points using the binary block format (see also
"Using the IEEE-488.2 Binary Block Format" below).
DATA:DAC VOLATILE, #214
• The following statement shows how to use the DATA:DAC command to
download five integer points in decimal format.
DATA:DAC VOLATILE, 2047, 1024, 0, -1024, -2047

Using the IEEE-488.2 Binary Block Format

In the binary block format, a block header precedes the waveform data.
The block header has the following format:
#
Start of
Data Block
Number of Digits
to Follow
The function generator represents binary data as 16-bit integers, which
are sent as two bytes. Therefore, the total number of bytes is always
twice the number of data points in the waveform
even number
). For example, 32,768 bytes are required to download
a waveform with 16,384 points.
Use the FORM:BORD command to select the byte order for binary
transfers in block mode. If you specify FORM:BORD NORM (default),
the most-significant byte (MSB) of each data point is assumed first.
If you specify FORM:BORD SWAP, the least-significant byte (LSB) of
each data point is assumed first. Most computers use the "swapped"
byte order.
202
Binary Data
5
32768
Even Number of Bytes to Follow
(32,768 bytes = 16,384 points)
(and must always be an

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents