Remote control commands
R&S
®
RTE
1393User Manual 1326.1032.02 ─ 20
Query parameters:
<PathName> String parameter to specify the directory. If the directory is omit-
ted, the command queries directory specified with MMEMory:
CDIRectory.
<Format> ALL | WTIMe
ALL: Extended result including file, date, time and attributes
WTIMe: Extended result including file, date, time
Return values:
<UsedMemory> Total amount of storage currently used in the directory, in bytes.
<FreeMemory> Total amount of storage available in the directory, in bytes.
<FileEntry> All files and subdirectories of the directory are listed with their
file name, format and size in bytes. The first two strings are rela-
ted to the parent directory.
Example:
MMEM:CAT? 'C:\USER\DATA'
529479,1831777894400,".,DIR,0","..,DIR,0",
"Backup,DIR,0","CSS,DIR,0","DATEN,DIR,0",
"Commands.jar,BIN,529479","FAVORITES,DIR,0",
"LOG,DIR,0","DATA,DIR,0","test,DIR,0",
"TotalCMD,DIR,0"
Usage: Query only
SCPI confirmed
MMEMory:CATalog:LENGth? [<PathName>]
Returns the number of files and subdirectories of the current or specified directory. The
number includes the parent directory strings "." and ".." and it corresponds to the num-
ber of <FileEntry> strings returned by the MMEMory:CATalog? command.
Query parameters:
<PathName> String parameter, directory to be queried. If the directory is omit-
ted, the current directory is queried, specified with MMEMory:
CDIRectory.
Return values:
<Count> Number of files and subdirectories including parent directory
entries.
Example:
MMEM:CDIR 'C:\USER\DATA'
MMEM:CAT:LENG?
11
Usage: Query only
MMEMory:COPY <FileSource>[, <FileDestination>]
Copies an existing file to a new file.
Data management