Instructions

RIGOL Chapter 2 Command System
2-36 DG2000 Programming Guide
:MMEM:DOWN:FNAM "C:\state" /* Creates a "state" file in the internal memory (Disk C)*/
:MMEM:DOWN:DATA #15Hello /* Loads the data "Hello" into the "state" file of the internal memory*/
:MMEMory:LOAD[:ALL]
Syntax
:MMEMory:LOAD[:ALL] <file_name>
Description
Loads the specified state file or arbitrary waveform file under the current path.
Parameter
Name
Type
Range
Default
<file_name> ASCII String
The filename of the state file or the
arbitrary waveform file in the current
directory
None
Remarks
The parameter <file_name> is the filename of the state file or the arbitrary waveform file in the
current directory of the internal or external memory and it is a string enclosed by double quotation
marks. For example, "Rigol0.RSF".
If the file to be loaded is an arbitrary waveform file, it will be loaded into the current channel.
Example
Assume that the current directory is D:\.
:MMEM:LOAD "Rigol0.RSF" /*Loads the file Rigol0.RSF from the external memory (D:\).*/
:MMEMory:LOAD:DATA
Syntax
:MMEMory:LOAD:DATA[<n>] <file_name>
Description
Load the specified arbitrary waveform file and sequence file (*.RAF) from the current directory into the
specified channel.
Parameter
Name
Type
Range
Default
[<n>]
Discrete
1|2
1
<file_name> ASCII String
The filename of the arbitrary waveform
file and sequence file in the current
directory
None
Remarks
The parameter [<n>] indicates CH1 or CH2 where the specified arbitrary waveform file and sequence
file under the current directory is loaded into. When this parameter is omitted, by default, the file will
be loaded into CH1.
The parameter <file_name> is the filename of the arbitrary waveform file and sequence file in the
specified directory and it is a string enclosed by double quotation marks. For example, "Rigol4.RAF".
Example
Assume that the current directory is D:\Rigol.
:MMEM:LOAD:DATA "Rigol4.RAF" /*Loads the arbitrary waveform file Rigol4.RAF in the current
directory (D:\Rigol) into the current channel.*/