General Programming 8
M8190A User’s Guide 275
8.22.6 Arbitrary Waveform Generation
To prepare your module for arbitrary waveform generation follow these steps:
Select one of the direct modes (precision or speed mode) or one of the interpolated
modes ((x3, x12, x24 and x48) using
:TRACe[1|2]:DWIDth
Define one or multiple segments using the various forms of the
:TRAC[1|2]:DEF command
Fill the segments with values and marker data using
:TRAC[1|2]:DATA
Select the segment to be output in arbitrary waveform mode using
:TRAC[1|2]:SEL
Signal generation starts after calling INIT:IMM
8.22.7 :TRACe[1|2]:DEFine <segment_id>,<length>[,<init_value1>[,<init_value2>]]
<segment_id>,<length>[,<init_value1>[,<init_value2>]]
<segment_id > – id of the segment, 1..512k for option SEQ, 1 if not installed
<length> – length of the segment in samples for direct modes or in I/Q sample
pairs for interpolated modes
<init_value1> – optional initialization value. For direct modes this is a DAC value.
For interpolated modes this is the I-part of an I/Q sample pair.
<init_value2> – optional initialization value, only applicable for interpolated
modes. This is the Q-part of an I/Q sample pair.
Use this command to define the size of a waveform memory segment. If
<init_value1> is specified (direct modes) or <init_value1> and <init_value2>
(interpolated modes) are specified, all sample values in the segment are initialized. If
not specified, memory is only allocated but not initialized.