Bnc 645 User Manual Page 134

  • Download
  • Add to my manuals
  • Print
  • Page
    / 190
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 133
134
DATA:DAC VOLATILE, #214
z 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
IEEE-488.2 Binary Block Format
In the binary block format, a block header precedes the data points. The
block header follows the format below:
# 5 32768
“#” starts the data block. The second number represents the number of
digits to follow and the third number represents the number of bytes to
follow (32,768 bytes = 16,384 points).
A waveform data point is represented as a 16-bit integer sent in 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,
32,768 bytes are required to load a waveform with 16,384 points.
Use the FORM:BORD command to select the byte order for binary block
transfers. If you specify FORM:BORD NORM (the default setting), the
most-significant byte (MSB) of each data point is sent first. If you specify
FORM:BORD SWAP, the least-significant byte (LSB) of each data point is
sent first. Most computers use the “swapped” byte order.
Notes:
z The values ±8191 correspond to the peak values of the waveform (if
the offset is 0 volts).
z The maximum amplitude will be limited if the data points do not span
the full range of the output DAC (Digital-to-Analog converter). For
example, the built-in sinc wave does not use the full range of binary
values between ±8191 and thus its maximum amplitude is limited to
6.087 Vpp (into 50 Ω).
z The DATA:DAC command overwrites the previous waveform in the
volatile memory (and no error will be generated). Use the DATA:COPY
command to copy the waveform to non-volatile memory.
DATA:CATalog?
List all waveform names available for use. The names of the five built-in
waveforms (in non-volatile memory) and all user-defined waveforms (in volatile
Page view 133
1 2 ... 129 130 131 132 133 134 135 136 137 138 139 ... 189 190

Comments to this Manuals

No comments