General Programming 6
Keysight M8195A Revision 2 – Arbitrary Waveform Generator User’s Guide 241
6.21.4 :TRAC[1|2|3|4]:DEF
<segment_id>,<length>[,<init_value>]
<segment_id > – id of the segment
<length> – length of the segment in samples, marker samples do not count
<init_value> – optional initialization DAC value
Use this command to define the size of a waveform memory segment. If <init_value>
is specified, all values in the segment are initialized. If not specified, memory is only
allocated but not initialized.
If the channel is sourced from Extended Memory, the same segment is defined on all
other channels sourced from Extended Memory.
Commands
Define a segment with id 1 and length 1280 samples on channel 1. Initialize all
samples to 0.
TRAC1:DEF 1,1280,0
6.21.5 :TRAC[1|2|3|4]:DEF:NEW?
:TRACe[1|2|3|4]:DEFine:NEW?
<length> [,<init_value>]
<length> – length of the segment in samples, marker samples do not count
<init_value> – optional initialization DAC value
Use this query to define the size of a waveform memory segment. If <init_value> is
specified, all 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.
If the channel is sourced from Extended Memory, the same segment is defined on all
other channels sourced from Extended Memory.
Query
Define a segment of length 1280 samples on channel 1. Returns the segment id.
TRAC1:DEF:NEW? 1280