216 ab c – GW Instek AFG-2000 User Manual User Manual

Page 134

Advertising
background image

AFG-2000 Series User Manual

132

waveform. For instance, for a waveform with an
amplitude of 5Vpp (0 offset), the value 511 is the
equivalent of 2.5 Volts and -511 is the equivalent of
-2.5V. If the integer values do not span the full
output range, the peak amplitude will be limited.

The IEEE-488.2 binary block format is comprised
of three parts:

#216

ab c


a. Initialization character (#)

b. Digit length (in ASCII) of the

number of bytes

c. Number of bytes

IEEE 488.2 binary block format uses two bytes to
represent waveform data (16 bit integer). Therefore
the number of bytes is always twice the number of
data points. In the example above, the data block
represents 8 data points.

Syntax

DATA:DAC VOLATILE, <start>,{<binary
block>|<value>, <value>, . . . }

Parameter

<start>

Start address of the
arbitrary waveform

<binary block>

Points 2~4096 in binary
block format

<value>

Decimal or integer values
±511

Example1

DATA:DAC VOLATILE, 1000, #216 Binary Data

The command above downloads 8 integer points
stored in 16 bytes to memory 1000 using the binary
block format.

Example2

DATA:DAC VOLATILE, 1000, 511, 206, 0, -206, -511,
-206, 0, 206

The command above downloads the data values
(511, 206, 0, -206, -511, -206, 0, 206) to address 1000
using the ordered list method.

Advertising