Remote control commands
R&S
®
RTA4000
587
User Manual 1335.7898.02 ─ 08
Query parameters:
<PathName>
String parameter
Specifies the directory.
Return values:
<FileEntry>
String parameter
List of subdirectory strings separated by commas. If the speci-
fied directory does not have any subdirectory, the current and
the parent directories are returned (
".,,0","..,,0"
)
Example:
Query for directories with absolute path:
MMEM:DCAT? "/USB_FRONT/*"
received ".,,0","..,,0","DATA,,0","DATA_NEW,,
0","SCREENSHOTS,,0"
MMEM:DCAT:LENG? "/USB_FRONT/*"
received 5
Example:
Query for directories in the current directory:
MMEM:CDIR "/USB_FRONT/DATA/"
MMEM:DCAT? "*"
received ".,,0","..,,0","JANUARY,,0",
"FEBRUARY,,0"
MMEM:DCAT:LENG? "*"
received 4
Example:
Query with filter:
MMEM:DCAT? "/USB_FRONT/DA*"
received "DATA,,0","DATA_NEW,,0"
MMEM:DCAT:LENG? "/USB_FRONT/DA*"
received 2
Usage:
Query only
MMEMory:DCATalog:LENGth?
<PathName>
Returns the number of directories in specified directory. The result corresponds to the
number of strings returned by the
MMEMory:DCATalog?
command.
Query parameters:
<PathName>
String parameter
Specifies the directory.
Return values:
<DirCount>
Number of directories.
Example:
Usage:
Query only
Documenting results