7 Save/Recall/Print
7.3 Save
7.3.70 Mass Storage Data (Remote Command Only)
Creates a file containing the specified data or queries the data from an existing file.
Remote
Command
:MMEMory:DATA <file_name>, <data>
<file_name> must be a valid logical path
:MMEMory:DATA? <file_name>
Example
:MMEM:DATA? "MyFile.txt"
Notes If no directory is specified, uses the current directory
The command form :MMEMory:DATA <file_name>,<data> loads <data> into the file
<file_name>. <data> is in 488.2 block format. <file_name> is string data
The response to :MMEMory:DATA? <file_name> is the associated <data> in block format
7.3.71 Mass Storage Make Directory (Remote Command Only)
Remote
Command
:MMEMory:MDIRectory <directory_name>
<directory_name> must be a valid logical path
Example
:MMEM:MDIR "C:\TEMP\NewDir"
Notes Creates a new directory. <directory_name> specifies the name to be created
Generates an “access denied” error if the new directory would be in a restricted folder (for example,
C:\Windows) and you do not have Power User or Administrator privileges
7.3.72 Mass Storage Move (Remote Command Only)
Remote
Command
:MMEMory:MOVE <string>,<string>[,<string>,<string>]
<string> must be valid logical paths
Example
:MMEM:MOVE "C:\TEMP\Screen_0000.png","C:\"
Notes Moves 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 source.
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
This command generates an “access denied” error if the destination is a restricted folder (for example,
C:\Windows) and you do not have Power User or Administrator privileges
WLAN Mode User's &Programmer's Reference 2435