Command reference
R&S
®
ZNL/ZNLE
577
User Manual 1178.5966.02 ─ 19
If you leave out the path, the command returns the contents of
the directory selected with
on page 577.
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'
MMEMory:CATalog:LONG
<Directory>
This command returns the contents of a particular directory with additional information
about the files.
Parameters:
<Directory>
String containing the path and directory.
If you leave out the path, the command returns the contents of
the directory selected with
on page 577.
The path may be relative or absolute. Using wildcards ('*') is
possible to query a certain type of files only.
MMEMory:CDIRectory
<Directory>
This command changes the current directory.
Parameters:
<Directory>
String containing the path to another directory.
The path may be relative or absolute.
MMEMory:COMMent
<Comment>
This command defines a comment for the stored settings.
Parameters:
<Comment>
String containing the comment.
Common instrument commands