Instructions

Table Of Contents
Fernsteuerbefehle
R&S
®
Scope Rider RTH
501Bedienhandbuch 1326.1578.03 ─ 10
Beispiel: Create directory Data on the USB flash device using absolute
path:
MMEM:MDIR "/media/USB1/Data"
Verwendung: Nur Einstellung
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.
Einstellparameter:
<DirectoryName> String parameter, absolute path or relative to the current direc-
tory
Beispiel:
MMEM:RDIR "/media/USB1/Screenshots"
Deletes the directory Screenshots on the USB flash drive.
Verwendung: Nur Einstellung
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.
Abfrageparameter:
<DirectoryName> String parameter
Specifies the directory.
Rückgabewerte:
<FileEntry> String parameter
List of subdirectory strings separated by commas. The current
and the parent directories are also returned (".,,0","..,,
0").
Beispiel: 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
Beispiel: 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
Ergebnisse dokumentieren