6  General Programming     
240   Keysight M8195A Revision 2 – Arbitrary Waveform Generator User’s Guide 
6.21.2  Arbitrary Waveform Generation 
 
To prepare your module for arbitrary waveform generation follow these steps: 
  Set Instrument Mode (number of channels), Memory Sample Rate Divider, 
and memory usage of the channels (Internal/Extended). 
  Define a segment using the various forms of the 
o  :TRAC[1|2|3|4]:DEF command. 
  Fill the segment with sample values using 
o  :TRAC[1|2|3|4]:DATA. 
  Signal generation starts after calling INIT:IMM. 
  Use the :TRAC[1|2|3|4]:CAT? query to read the length of a waveform loaded 
into the memory of a channel. Use the :TRAC[1|2|3|4]:DEL:ALL command to 
delete a waveform from the memory of a channel. 
 
 
6.21.3  TRACe[1|2|3|4]:MMODe[?] 
 
INTernal|EXTended 
  INTernal – the  channel uses Internal Memory  
  EXTended – the channel uses Extended Memory 
  NONE – the channel is not used in this configuration (query only) 
Use this command or query to set or get the source of  the waveform samples for a 
channel. There are dependencies between this parameter, the same parameter for 
other channels, the memory sample rate divider and the instrument mode (number of 
channels). The tables in section 1.5.5 show the available combinations. It is 
recommended to set these parameters in one transaction. The value of this 
parameter for each channel determines the target (Internal/Extended Memory) of the 
waveform transfer operation using the TRAC:DATA command. 
Command 
Set 2-channel instrument mode, memory sample rate divider = 2, channels 1 and 4 
use the extended memory. Channels 2 and 3 are not used in this configuration. 
:INST:DACM DUAL;:INST:MEM:EXT:RDIV DIV2;:TRAC1:MMOD 
EXT;:TRAC4:MMOD EXT