Instructions

Table Of Contents
Remote Control Commands
R&S
®
Scope Rider RTH
502User Manual 1326.1578.02 ─ 15
Usage: Setting only
MMEMory:RDIRectory <DirectoryName>
Deletes the specified directory.
Note: All subdirectories and all files in the specified directory and in the subdirectories
are deleted!
You cannot delete the current directory or a superior directory. In this case, the instru-
ment returns an execution error.
Setting parameters:
<DirectoryName> String parameter, absolute path or relative to the current direc-
tory
Example:
MMEM:RDIR "/media/USB1/Screenshots"
Deletes the directory Screenshots on the USB flash drive.
Usage: Setting only
MMEMory:DCATalog? <DirectoryName>
Returns the subdirectories of the specified directory. The result corresponds to the
number of strings returned by the MMEMory:DCATalog:LENgth? command.
Query parameters:
<DirectoryName> String parameter
Specifies the directory.
Return values:
<FileEntry> String parameter
List of subdirectory strings separated by commas. The current
and the parent directories are also returned (".,,0","..,,
0").
Example: Query for directories using absolute path:
MMEM:DCAT? "/media/USB1/*"
received ".,,0","..,,0","Export,,0","SaveSets,,0","SCREENSHOTS,,0"
MMEM:DCAT:LENG? "/media/USB1/*"
received 5
Example: Query for directories in the current directory:
MMEM:CDIR "/media/USB1/"
MMEM:DCAT? "*"
received ".,,0","..,,0","JANUARY,,0","FEBRUARY,,0"
MMEM:DCAT:LENG? "*"
received 4
Documenting Results