Fernsteuerbefehle
R&S
®
RTB2000
394Bedienhandbuch 1333.1611.03 ─ 05
Abfrageparameter:
<PathName> String parameter
Specifies the directory. A filter can be used to list, for example,
only files of a given file type.
<Format> ALL | WTIMe
ALL: Extended result including file, date, time and attributes
WTIMe: Result including file, date, time
Rückgabewerte:
<UsedMemory> Total amount of storage currently used in the directory, in bytes.
<FreeMemory> Total amount of storage available in the directory, in bytes.
<FileEntry> String parameter
All files of the directory are listed with their file name, format and
size in bytes.
Beispiel: Query for files in the DATA directory, with absolute path:
MMEM:CAT? "/USB_FRONT/DATA/*.*"
received: 511104,8633856,"MONDAY.TXT,,8",
"TUESDAY.CSV,,8"
Beispiel: Query for TXT files in the DATA directory, with relative path:
MMEM:CDIR "/USB_FRONT/DATA"'
MMEM:CAT? "*.TXT"
received: 511104,8633856,"MONDAY.TXT,,8"
MMEM:CAT:LENGTH? "*.TXT"
received 1
Beispiel: Kapitel 15.2.1.2, "Einstellungsdaten speichern, kopieren und
laden", auf Seite 267
Verwendung: Nur Abfrage
MMEMory:CATalog:LENGth? <PathName>
Returns the number of files in the specified directory. The result corresponds to the
number of files returned by the MMEMory:CATalog? command.
Abfrageparameter:
<PathName> String parameter
Directory to be queried, absolute or relative path
Rückgabewerte:
<Count> Number of files.
Beispiel: MMEMory:CATalog?
Verwendung: Nur Abfrage
Ergebnisse dokumentieren