RIGOL Chapter 2 Command System
2-22 DP800 Programming Guide
:MMEMory:CDIRectory
Syntax :MMEMory:CDIRectory <directory_name>
:MMEMory:CDIRectory?
Description Set the current operation directory.
Query the current operation directory.
Parameter
Name Type Range Default
<directory_name> ASCII character string Valid directory NULL
Explanation This command is only applicable to external memory. If the directory set does
not exist, “Invalid directory.” will be displayed.
After setting the external storage directory to the current operation directory,
send the
:MMEMory:DELete, :MMEMory:LOAD or :MMEMory:STORe command
to delete or read the file under the current directory or to save the file to the
current directory. Sending the
:MMEMory:MDIRectory command will create a
folder under the current directory.
Return Format The query returns the current operation directory, for example, D:\RIGOL.
Example :MMEM:CDIR D:\RIGOL /*Set the current operation directory to D:\RIGOL*/
:MMEM:CDIR? /*Query the current operation directory and the query
returns D:\RIGOL*/
Related
Commands
:MMEMory:DELete
:MMEMory:LOAD
:MMEMory:MDIRectory
:MMEMory:STORe
:MMEMory:DELete
Syntax :MMEMory:DELete <file_name>
Description Delete the specified file under the current operation directory.
Parameter
Name Type Range Default
<file_name> ASCII character string
Filename of the file to
be deleted
None
Explanation This command is only available when the current operation directory contains
the specified file.
If the file to be deleted is not under the current operation directory, please use
the
:MMEMory:CDIRectory command to modify the current operation directory.
Example :MMEM:DEL STA.RSF /*Delete the STA.RSF file under the current operation
directory*/
Related
Command
:MMEMory:CDIRectory