Keysight M8131A 16/32 GSa/s Digitizer User’s Guide
117
Remote Programming
4
:MMEMory:CDIRectory
Command
:MMEMory:CDIRectory [<directory_name>]
Description
The command changes the default directory for a mass memory file
system. The
<directory_name>
parameter is a string. If no parameter is
specified, the directory is set to the
*RST
value. At
*RST
, this value is set
to the default user data storage area, that is defined as
System.Environment.SpecialFolder.Personal
e.g.
C:\Users\Name\Documents
MMEMory:CDIRectory?
— Query returns full path of the default
directory.
Parameter
<directory_name>
Example
Command
:MMEM:CDIR “C:\Users\Name\Documents”
Query
:MMEM:CDIR?
:MMEMory:COPY
Command
:MMEMory:COPY <string>,<string>[,<string>,<string>]
Description
The command copies an existing file to a new file or an existing directory to
a new directory. Two forms of parameters are allowed. The first form has
two parameters. In this form, the first parameter specifies the source, and
the second parameter specifies the destination.
The second form has four parameters. In this form, the first and third
parameters specify the file names. The second and fourth parameters
specify the directories. The first pair of parameters specifies the source.
The second pair specifies the destination. An error is generated if the
source doesn't exist or the destination file already exists.
Parameters
<string>,<string>
Example
Command
:MMEM:COPY "C:\data.txt", "C:\data_new.txt"