Remote Commands
R&S
®
FSVA3000/ R&S
®
FSV3000
1061
User Manual 1178.8520.02 ─ 01
MMEMory:CATalog
<Path>
This command returns the contents of a particular directory.
Parameters:
<Path>
String containing the path and directory
If you leave out the path, the command returns the contents of
the directory selected with
on page 1062.
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:\R_S\INSTR\USER\SPOOL?.PNG'
Returns all files in
C:\R_S\INSTR\USER
whose names start
with SPOOL, have 6 letters and the extension
.PNG
, e.g.:
SPOOL1.PNG,SPOOL2.PNG,SPOOL3.PNG
Example:
MMEM:CAT? 'C:\R_S\INSTR\USER\SPOOL6.PNG'
Query whether the file '
SPOOL6.PNG
' also exists in the directory;
Result:
-256,"File name not found;:MMEMory:CATalog?
'C:\R_S\INSTR\USER\SPOOL6.PNG'
Manual operation:
See
" Selecting Storage Location - Drive/ Path/ Files"
MMEMory:CATalog:LONG
<Path>
This command returns the contents of a particular directory with additional information
about the files.
Parameters:
<Path>
String containing the path and directory.
If you leave out the path, the command returns the contents of
the directory selected with
on page 1062.
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.
<FileInfo>
<NameFileN>,<SuffixFileN>,<SizeFileN>
Managing Settings and Results