User Manual

Remote Commands
R&S
®
FPL1000
787User Manual 1178.3370.02 ─ 03
Query parameters:
<Path> String containing the path and directory
If you leave out the path, the command returns the contents of
the directory selected with MMEMory:CDIRectory.
The path may be relative or absolute. Using wildcards ('*') is
possible to query a certain type of files only.
If you use a specific file as a parameter, the command returns
the name of the file if the file is found in the specified directory,
or an error if the file is not found ("-256,"File name not
found").
Return values:
<FileNames> List of file and directory names, separated by commas
If no files are found, an error is displayed: "-256,"File name
not found"
Example:
MMEM:CAT? 'C:
\Users\Public\Documents\Rohde-Schwarz\Analyzer\user\SPOOL?.PNG'
Returns all files in
C:\Users\Public\Documents\Rohde-Schwarz\Analyzer\user
whose names start with SPOOL, have 6 letters and the exten-
sion .PNG, e.g.:
SPOOL1.PNG,SPOOL2.PNG,SPOOL3.PNG
Example:
MMEM:CAT? 'C:
\Users\Public\Documents\Rohde-Schwarz\Analyzer\user\SPOOL6.PNG'
Query whether the file 'SPOOL6.PNG' also exists in the directory;
Result:
-256,"File name not found;:MMEMory:CATalog?
'C:\Users\Public\Documents\Rohde-Schwarz\Analyzer\user\SPOOL6.PNG'
Usage: Query only
Manual operation: See " Selecting Storage Location - Drive/ Path/ Files"
on page 104
MMEMory:CATalog:LONG? <Path>
This command returns the contents of a particular directory with additional information
about the files.
Query parameters:
<Path> String containing the path and directory.
If you leave out the path, the command returns the contents of
the directory selected with MMEMory:CDIRectory.
The path may be relative or absolute. Using wildcards ('*') is
possible to query a certain type of files only.
Return values:
<UsedDiskSpace> Byte size of all files in the directory.
<FreeDiskSpace> Remaining disk space in bytes.
Managing Settings and Results