7 Save/Recall/Print
7.3 Save
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
7.3.14.9 Mass Storage Remove Directory (Remote Command Only)
Remote
Command
:MMEMory:RDIRectory <directory_name>
<directory_name> must be a valid logical path
Example
:MMEM:RDIR "C:\TEMP\NewDir"
Notes Removes a directory. The <directory_name> parameter specifies the directory name to be
removed. All files and directories under the specified directory will also be removed
This command generates an “access denied” error if the folder is a restricted folder (for example,
C:\Windows) or is in a restricted folder and you do not have Power User or Administrator privileges
7.3.14.10 Mass Storage Determine Removable Media (Remote Query Only)
Used to determine whether any removable media devices are connected to the
instrument. Primarily, these are USB memory devices plugged-in to the front panel
or rear panel USB ports. On instruments with PC6 or PC7 CPUs, one SD card slot is
available for removable media. The instrument’s primary disk drive is not a
removable media device.
Remote
Command
:MMEMory:RMEDia:LIST?
Example
:MMEM:RMED:LIST?
Notes The return value is a string containing a list of partition identifiers, which are removable media devices.
Each identifier will be separated by a comma. If no removable media is present, an empty string is
returned
Examples:
–
One removable device present results in a return string of “F:”
–
Two removable devices present results in a return string of “F:,G:”
No removable devices present results in a return string of “”
7.3.14.11 Mass Storage Determine Removable Media Label (Remote Command Only)
Used to set or query a removable media device’s label.
Spectrum Analyzer Mode User's &Programmer's Reference 2626