Remote Control Commands
R&S
®
SMC100A
227
Operating Manual 1411.4060.32 ─ 04
..............................................................................................231
:MMEMory:CATalog?
<path>
Returns the content of the current or a specified directory.
Query parameters:
<path>
string
String parameter to specify the directory. If the direcory is omitted,
the command queries the content of the current directory, queried
with
MMEM:CDIR
command.
Return values:
<path>
<used_memory>,<free_memory>,<file_name>,<file_entry>,...
<used_memory>
Total amount of storage currently used in the directory, in bytes.
<free_memory>
Total amount of storage available in the directory, in bytes.
<file_entry>
All files of the directory are listed with their file name, format and
size in bytes.
Example:
See
"Working with Files and Directories"
Usage:
Query only
:MMEMory:CATalog:LENGth?
Returns the number of files in the current or in the specified directory.
Return values:
<Length>
<path>
String parameter to specify the directory. If the direcory is omitted,
the command queries the content of the current directory, queried
with
MMEM:CDIR
command.
<count>
Number of files
Example:
See
"Working with Files and Directories"
Usage:
Query only
:MMEMory:CDIRectory
<Cdirectory>
Changes the default directory for mass memory storage. The directory is used for all
subsequent
MMEM
commands if no path is specified with them. It is also possible to change
to a higher directory using two dots '..' .
Setting parameters:
<Cdirectory>
<directory_name>
MMEMory Subsystem