226
Chapter 4 Remote Interface Reference
Arbitrary Waveform Commands (Option 002)
4
• 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
Binary Data
• The following statement shows how to use the
DATA:DAC
command to
download five integer points in decimal format.
DATA:DAC VOLATILE, 8191, 4096, 0, -4096, -8191
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:
#
5
16384
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
(and must always be an
even number
). For example, 16,384 bytes are required to download
a waveform with 8,192 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.
Start of
Data Block
Number of Digits
to Follow
Even Number of Bytes to Follow
(16,384 bytes = 8,192 points)
33210A users guide.book Page 226 Wednesday, July 16, 2008 11:16 AM
Summary of Contents for 33210A
Page 1: ...Keysight 33210A 10 MHz Function Arbitrary Waveform Generator User s Guide ...
Page 2: ......
Page 3: ......
Page 14: ...12 Contents Contents 33210A users guide book Page 12 Wednesday July 16 2008 11 16 AM ...
Page 15: ...1 1 Quick Start 33210A users guide book Page 13 Wednesday July 16 2008 11 16 AM ...
Page 53: ...3 3 Features and Functions 33210A users guide book Page 51 Wednesday July 16 2008 11 16 AM ...
Page 273: ...5 5 Error Messages 33210A users guide book Page 271 Wednesday July 16 2008 11 16 AM ...
Page 301: ...6 6 Application Programs 33210A users guide book Page 299 Wednesday July 16 2008 11 16 AM ...
Page 311: ...7 7 Tutorial 33210A users guide book Page 309 Wednesday July 16 2008 11 16 AM ...
Page 335: ...8 8 Specifications 33210A users guide book Page 333 Wednesday July 16 2008 11 16 AM ...