Mmemory:data:iq, Mmemory:data:iq:list, Mmemory:data:iq -8 – RIGOL DSG3000 Series User Manual

Page 28: Mmemory:data:iq:list -8

Advertising
background image

RIGOL

Chapter 2

Command System

2-8

DSG3000 Programming Guide

:MMEMory:DATA:IQ

Syntax

:MMEMory:DATA:IQ <file_name>,<flag>,<num>{,<i0>,<q0>…<in>,<qn>}

Description

Save and download the IQ waveform data to the instrument

Parameter

Name

Type

Explanation

<file_name>

ASCII string

The name of the wave table file downloaded

into the instrument.

<flag>

Discrete

When the IQ data file exceeds 64kB, you

should separately download the file package.

0—download the first data package;
1—download the subsequent packets;
2—download the last package and output

IQ waveform.

<num>

Integer

The number of IQ data pairs.

{,<i0>,<q0>

<in>,<qn>} Decimal number

IQ data pairs. The maximum of each data

(e.g. i0) is two bytes.

Explanation

When sending the command, you should add the data block starting with #9 flag to

represent the total length of the IQ data before <i0>,<q0>…<in>,<qn>. For
example, #9000000011 indicates the total length of the IQ data is 11 bytes. The

value is calculated by the formula (the bytes of IQ data pairs + the number of bytes

occupied by comma).

Example

:MMEM:DATA:IQ test1,0,2,#9000000011 1,10,11,20
/*Save the current two pairs of IQ data with the test1 filename (the total length of

"1,10,11,20" is 11 bytes and expressed by #9000000011) and downloaded to

DSG3000*/

:MMEMory:DATA:IQ:LIST

Syntax

:MMEMory:DATA:IQ:LIST?

Description

Query the wave table file stored in the current root directory (D: disk) of the

instrument.

Return Format

Return wave table file list. The format is "wave table filename (*.arb),file size". For

example,
16QAM.arb,16444,wave2.arb,16438,wave3.arb,16438,newwave.arb,16444,out3.arb

,4124,.

Advertising