Keysight M8121A Arbitrary Waveform Generator User Guide
123
Remote Programming
6
:TRACe[1|2]:DEFine:NEW?
Command
Query
:TRACe[1|2]:DEFine:NEW? <length>
[,<init_value1>[,<init_value2>]]
Parameters
<length> [,<init_value1>[,<init_value2>]]
•
<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 query 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. If
the query was successful, a new <segment_id> will be returned.
This query returns a segment ID of 1 every time, unless the allocation fails.
It always removes the existing segment #1 and creates a new one of the
specified size, returning ID=1.
Examples
Query
Define a segment of length 320 samples. Returns the segment id.
:TRAC1:DEF:NEW? 320
:TRACe[1|2]:DWIDth[?]
Command
:TRACe[1|2]:DWIDth[?]
WSPeed|WPRecision|INTX3|INTX12|INTX24|INTX48
Query
:TRACe[1|2]:DWIDth?
Parameters
WSPeed|WPRecision|INTX3|INTX12|INTX24|INTX48
•
WSPeed
– speed mode, 12 bit DAC resolution
•
WPRecision
– precision mode, 14 bit DAC resolution
•
INTX3
– interpolation x3 mode
•
INTX12
– interpolation x12 mode
Summary of Contents for M8121A
Page 1: ...User Guide Keysight M8121A Arbitrary Waveform Generator ...
Page 20: ......
Page 72: ......
Page 138: ......
Page 142: ......