
Command Reference
R&S
®
ZNL/ZNLE
520
User Manual 1178.5966.02 ─ 07
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 521.
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\ZNL\user\SPOOL?.PNG'
Returns all files in
C:\Users\Public\Documents\Rohde-Schwarz\ZNL\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\ZNL\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\ZNL\user\SPOOL6.PNG'
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 521.
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.
Common Instrument Commands
www.allice.de
Allice Messtechnik GmbH