7 Save/Recall/Print
7.3 Save
The default path for Cal Factor Files is:
My Documents\<mode name>\data\PSCF
where <mode name> is the parameter used to select the mode with :INST:SEL (for
example, MRECEIVE for Measuring Receiver Mode). Hence, a Cal Factor file from any
measurement in the Measuring Receiver mode would be stored in:
My Documents\MRECEIVE\data\PSCF
Cal Factor files have the extension .xml. The default filename is <Sensor Model>_
<Sensor Serial Number>_0000.xml, where the 4-digit number is the lowest
number that does not conflict with any filename in the current directory. If the
sensor model or serial number is blank, the default filename is PSCF_0000.xml.
Remote Command
:MMEMory:STORe:PSCFactor <file_name>
Example
:MMEM:STOR:PSCF "myPSCF.xml"
Notes If the save is initiated via SCPI, and the file already exists, the file will be overwritten
Using the C: drive is strongly discouraged, since it runs the risk of being overwritten during an
instrument software upgrade
Both single and double quotes are supported for any filename parameter over SCPI
Dependencies Only appears if you have the proper option installed in your instrument
7.3.14 Remote Only Commands
The following commands execute file system operations such as move, copy, and
transfer data from a file.
7.3.14.1 Mass Storage Catalog (Remote Command Only)
Remote
Command
:MMEMory:CATalog? [<directory_name>]
The string <directory_name> must be a valid logical path. If no string then it uses the current
directory
Example
:MMEM:CAT? "C:\"
Notes Queries disk usage information (drive capacity, free space available) and obtains a list of files and
directories in a specified directory in the following format:
<numeric_value>,<numeric_value>,\{<file_entry>\}
It returns two numeric parameters and as many strings as there are files and directories
The first parameter indicates the total amount of storage currently used in bytes
The second parameter indicates the total amount of storage available, also in bytes. <file_entry>
is a string. Each <file_entry> indicates the name, type, and size of one file in the directory list:
<file_name>,<file_type>,<file_size>
As the Windows file system has an extension that indicates file type, <file_type> is always empty.
<file_size> provides the size of the file in bytes. For directories, <file_entry> is surrounded
by square brackets and both <file_type> and <file_size> are empty
2623 Spectrum Analyzer Mode User's &Programmer's Reference