RIGOL
2-34
DG900 Programming Guide
Remarks
The parameter <directory_name> is a valid directory in the internal or external memory. It is a string
enclosed by double quotation marks. For example, "C:\" and "D:\Rigol".
Example
Assume that the current directory is D:\.
:MMEM:COPY "D:\Rigol","Rigol1.RAF" /*Copies the file Rigol1.RAF from the external memory directory to
"D:\Rigol" (i.g. the Rigol folder in Disk D).*/
:MMEMory:DELete
Syntax
:MMEMory:DELete <file_name>
Description
Deletes the specified file or empty folder from the current directory.
Parameter
Name
Type
Range
Default
<file_name>
ASCII String
Filename of the file or the folder
name of the empty folder under
the current directory
None
Remarks
The parameter <file_name> is the filename of the file or the folder name of the empty folder under the
current directory. It is a string enclosed by double quotation marks. For example, "Rigol1.RAF".
Example
Assume that the current directory is D:\.
:MMEM:DEL " D:\Rigol1.RAF" /*Deletes the file Rigol1.RAF from the external memory (D:\).*/
:MMEMory:DOWNload:FNAMe
:MMEMory:DOWNload:DATA
Syntax
:MMEMory:DOWNload:FNAMe <file_name>
:MMEMory:DOWNload:DATA <binary_block>
Description
Creates a file under the current directory.
Loads binary data into the currently created file.
Parameter
Name
Type
Range
Default
<file_name>
ASCII String
Valid filename
None
<binary_block>
ASCII String
Valid data
None
Remarks
The parameter < file_name> is a string with double quotes and its length cannot exceed 7 characters. It
can be composed of Chinese characters, English uppercase characters and numbers. Wherein, one Chinese
character is counted as 2 characters.
Example
Assume that the current directory is C:\.
Summary of Contents for DG952
Page 2: ......
Page 168: ......
Page 181: ...Chapter 4 Programming Examples RIGOL DG900 Programming Guide 4 7 ...
Page 185: ...Chapter 4 Programming Examples RIGOL DG900 Programming Guide 4 11 ...
Page 187: ...Chapter 4 Programming Examples RIGOL DG900 Programming Guide 4 13 ...
Page 199: ...Chapter 4 Programming Examples RIGOL DG900 Programming Guide 4 25 ...
Page 200: ......