DATA Subsystem
Parameter Typical Return
<value> comma separated list of integer values from -32,767 to
+32,767 or floating point values from -1.0 to +1.0. From 8 to
65,536 points.
Download a comma separated list of nine waveform points into waveform memory:
DATA:ARB:DAC myArb, 32767, 24576, 16384, 8192, 0, -8192, -16384, -24576, - 32767
Download nine waveform points into waveform memory as a binary block. The <PMT> specifies what terminates the
binary data. It can be a Line Feed character, or the last byte of your_binary_data can assert the End or Identify.
DATA:ARB myArb, #236<36 bytes of your_binary_data><PMT>
Download a comma separated list of nine waveform points into waveform memory:
DATA:ARB myArb, 1, .75, .50, .25, 0, -.25, -.50, -.75, -1
Download eight waveform points of a dual arbitrary waveform into waveform memory as a comma separated list of
DACcodes. There are 16 values in all, eight for each of two channels. Note that the data is interleaved (ABAB), so the
positive values are all on channel 1, and the negative values are all on channel 2:
DATA:ARB2:FORM ABAB
DATA:ARB2:DAC myArb, 30000, -10000, 29000, -9000, 27000, -7000, 24000, -4000, 27000, -7000, 29000, -
9000, 30000, -10000, 29000, -9000
Download the same examples as above, but in AABBformat:
DATA:ARB2:FORM AABB
DATA:ARB2:DAC myArb, 30000, 29000, 27000, 24000, 27000, 29000, 30000, 29000, -10000, -9000, -7000,
-4000, -7000, -9000, -10000, -9000
l Each data point is either a 16-bit integer from -32,767 and +32,767 or a 32-bit floating point value from -1.0 to
+1.0. Therefore, the total number of bytes is always two times or four times the number of data points in the
waveform. For example, 16,000 bytes are required to download a waveform with 8,000 points as integers, but
32,000 bytes are required to download the same waveform as floating point values.
l The values -32767 and +32767 or -1.0 to +1.0 correspond to the peak values of the waveform (if the offset is 0
V). For example, if you set the output amplitude to 10 Vpp, +32767 corresponds to +5 V and -32767 corresponds
to -5 V.
l Use FORMat:BORDer to select the byte order for block mode binary transfers.
l Use DATA:ARB2:FORMat to specify whether dual arbitrary waveforms are interleaved or sequential (channel 1 fol-
lowed by channel 2).
l Specifying a waveform that is already loaded generates a "Specified arb waveform already exists" error. Deleting
an existing waveform requires clearing the waveform memory with DATA:VOLatile:CLEar.
l Either 1 MSa or 16 MSa (depending on model and options) is the total available sample size for all waveforms
loaded per channel. A new waveform may be limited by waveforms already loaded.
[SOURce[1|2]:]DATA:ATTRibute:AVERage? [<arb_name>]
Returns the arithmetic mean of all data points for the specified arbitrary waveform INTERNAL or USBmemory, or
loaded into waveform memory.
Agilent 33500 Series Operating and Service Guide 189