Instructions
Chapter 2 Command System  RIGOL 
DSG800 Programming Guide  2-5 
:MMEMory:DATA:IQ 
Syntax 
:MMEMory:DATA:IQ <file_name>,<flag>,<num>{,<i0>,<q0>…<in>,<qn>} 
Description  Save and download IQ waveform data to the instrument. 
Parameter 
Name 
Type 
Explanation 
<file_name>  ASCII string 
The name of the wavetable file downloaded 
into the instrument. 
<flag>  Discrete 
When the IQ data file exceeds 64kB, you 
should download the file packets separately. 
0 denotes downloading the first data packet; 
1 denotes downloading the subsequent data 
packets; 
2 denotes downloading the last data packet 
and output the IQ waveform.   
<num> 
Integer 
The number of IQ data pairs. 
{,<i0>,<q0>
…
<in>,<qn>} 
Decimal 
number 
IQ data pairs. Each data (for example, i0) 
cannot exceed two bytes. 
Explanation  When sending the command, you should add the data block (start with #9 flag) 
which denotes the total length of the IQ data before <i0>,<q0>…<in>,<qn>. For 
example, #9000000011 denotes that the total length of the IQ data is 11 bytes. The 
value is calculated by the formula "the number of bytes of the IQ data pairs + the 
number of bytes occupied by the commas". 
Example  :MMEM:DATA:IQ test1,0,2,#9000000011 1,10,11,20 
/*Save the two pairs of IQ data currently edited with the filename "test1" (the total 
length of "1,10,11,20" is 11 bytes and is expressed by #9000000011) and download 
the IQ data to DSG800*/ 
:MMEMory:DATA:IQ:LIST 
Syntax  :MMEMory:DATA:IQ:LIST? 
Description 
Query the wavetable files currently stored in the root directory (D: disk) of the 
instrument. 
Return Format  The query returns the wavetable file list in the format of "wavetable filename 
(*.arb),file size". For example, wave2.arb,2180,wave3.arb,2516,. 










