Keysight M8121A User Manual page 123

Arbitrary waveform generator
Table of Contents

Advertisement

Parameter Suffix
Keysight M8121A Arbitrary Waveform Generator User Guide
: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.
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
Remote Programming
123
6

Advertisement

Table of Contents
loading

Table of Contents