Keysight M8121A User Manual page 122

Arbitrary waveform generator
Table of Contents

Advertisement

6
Remote Programming
Parameter Suffix
122
:TRACe[1|2]:DEFine[?]
Command
:TRACe[1|2]:DEFine
<segment_id>,<length>[,<init_value1>[,<init_value2>]]
Query
:TRACe[1|2]:DEFine?
Parameters
<segment_id>,<length>[,<init_value1>[,<init_value2>]]
<segment_id> – id of the segment, must be 1.
<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.
None
Description
Use this command to define the size of a waveform memory segment. If is
specified (direct modes) or and (interpolated modes) are specified, all
sample values in the segment are initialized. If not specified, memory is
only allocated but not initialized. The segment will be flagged write-only,
so it cannot be read back or stored.
Examples
Commands
To set precision mode
:TRAC1:DWID WPR
To define a segment with id 1 and length 320 samples. Initialize to sample
value 0.
:TRAC1:DEF 1,320,0
To set interpolated mode, interpolation factor 3.
:TRAC1:DWID INTX3
To define a segment with id 1 and length 64 samples. Initialize with I/Q
value pair (0,1).
:TRAC:DEF 1,64,0,1
Keysight M8121A Arbitrary Waveform Generator User Guide

Advertisement

Table of Contents
loading

Table of Contents