122
Keysight M8121A Arbitrary Waveform Generator User Guide
6
Remote Programming
: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.
Parameter Suffix
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
Summary of Contents for M8121A
Page 1: ...User Guide Keysight M8121A Arbitrary Waveform Generator ...
Page 20: ......
Page 72: ......
Page 138: ......
Page 142: ......