6 General Programming
242 Keysight M8195A Revision 2 – Arbitrary Waveform Generator User’s Guide
6.21.6 :TRAC[1|2|3|4]:DEF:WONL
:TRACe[1|2|3|4]:DEFine:WONLy
<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. The segment will be flagged write-only, so it cannot be
read back or stored.
If the channel is sourced from Extended Memory, the same segment is defined on all
other channels sourced from Extended Memory.
Command
Define a write-only segment with id 1 and length 1280 samples on channel 1.
:TRAC1:DEF:WONL 1,1280
6.21.7 :TRAC[1|2|3|4]:DEF:WONL:NEW?
:TRAC[1|2|3|4]:DEF:WONL:NEW?
:TRACe[1|2|3|4]:DEFine:WONLy: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 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. The segment will be flagged write-only, so it cannot be read back or
stored.
If the channel is sourced from Extended Memory, the same segment is defined on all
other channels sourced from Extended Memory.