Remote Commands
R&S
®
FSW
992User Manual 1173.9411.02 ─ 19
MMEMory:CATalog?
This command returns the contents of a particular directory.
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:
<FileNames> List of file and directory names, separated by commas
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
Usage: Query only
SCPI confirmed
Manual operation: See "Selecting the Storage Location - Drive/ Path/ Files"
on page 222
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.
<FileInfo> <NameFileN>,<SuffixFileN>,<SizeFileN>
Describes the individual file.
<NameFileN>
Name of the file.
<SuffixFileN>
Type of the file. Possible suffixes are: ASCii, BINary, DIRectory,
STAT
<SizeFileN>
Size of the file in bytes.
Usage: Query only
Managing Settings and Results