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
Содержание 33210A
Страница 1: ...Keysight 33210A 10 MHz Function Arbitrary Waveform Generator User s Guide ...
Страница 2: ......
Страница 3: ......
Страница 14: ...12 Contents Contents 33210A users guide book Page 12 Wednesday July 16 2008 11 16 AM ...
Страница 15: ...1 1 Quick Start 33210A users guide book Page 13 Wednesday July 16 2008 11 16 AM ...
Страница 33: ...2 2 Front Panel Menu Operation 33210A users guide book Page 31 Wednesday July 16 2008 11 16 AM ...
Страница 53: ...3 3 Features and Functions 33210A users guide book Page 51 Wednesday July 16 2008 11 16 AM ...
Страница 147: ...4 4 Remote Interface Reference 33210A users guide book Page 145 Wednesday July 16 2008 11 16 AM ...
Страница 273: ...5 5 Error Messages 33210A users guide book Page 271 Wednesday July 16 2008 11 16 AM ...
Страница 301: ...6 6 Application Programs 33210A users guide book Page 299 Wednesday July 16 2008 11 16 AM ...
Страница 311: ...7 7 Tutorial 33210A users guide book Page 309 Wednesday July 16 2008 11 16 AM ...
Страница 335: ...8 8 Specifications 33210A users guide book Page 333 Wednesday July 16 2008 11 16 AM ...