Remote Control
R&S
®
FSPN
451
User Manual 1179.4363.02 ─ 01
...............................................................................................451
..........................................................................................453
.................................................................................... 454
...............................................................................................454
.............................................................................. 455
.................................................................................... 455
MMEMory:CATalog
<FileName>
This command returns the contents of a particular directory.
Parameters:
<FileName>
String containing the path and directory
If you leave out the path, the command returns the contents of
the directory selected with
on page 452.
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"
).
Example:
MMEM:CAT? 'C:\Data\SPOOL?.PNG'
Returns all files in
C:\Data\
whose names start with
SPOOL
,
have 6 characters and the extension
.PNG
, e.g.:
SPOOL1.PNG,SPOOL2.PNG,SPOOL3.PNG
Example:
MMEM:CAT? 'C:\Data\SPOOL6.PNG'
Query whether the file '
SPOOL6.PNG
' also exists in the directory;
Result:
-256,"File name not found;:MMEMory:CATalog?
'C:\Data\SPOOL6.PNG'
Manual operation:
See
" Selecting Storage Location - Drive/ Path/ Files"
MMEMory:CATalog:LONG
<Directory>
This command returns the contents of a particular directory with additional information
about the files.
Managing Settings and Results