![background image](http://html1.mh-extra.com/html/rands/afq100a/afq100a_operating-manual_3076923340.webp)
R&S AFQ100A
AFQ Commands - Setup Section
1401.3084.32 6.79
E-3
MMEMory:CATalog?
<path>
This command reads out the subdirectories and files in the specified directory. If no directory is
specified, the default directory selected with the
MMEM:CDIR
command is read out on the default
drive selected with the
MMEM:MSIS
command.
The response has the following format:
<used_bytes_in_this_directory>,<free_bytes_on_this_disk>,
"<file_name>,<file_type>,<filesize_in_bytes>",
"<file_name>,<file_type>,<filesize_in_bytes>", …
The command is a query command and therefore has no *RST value.
Parameters:
<file_name>
File or directory name
<file_type>
File type. There are the following file types: DIR (directory), ASCii (ASCII file),
BINary (Binary file), and STATe (file with instrument settings).
<filesize_in_bytes>
File size. The size "0" is returned for a directory.
Example:
MMEM:CAT? '\\Server\DATA\*.LOG'
'reads back all files in \\Server\DATA with the extension ".LOG".
MMEM:CAT? 'd:\user'
'reads out all files at the highest directory level of the memory stick.
Response:
"127145265,175325184,"test,DIR,0","temp,DIR,0","readme.txt,ASC,1324","state.
savracl,STAT,5327","waveform.wv,BIN,2342"
'the directory
D:\User
contains the subdirectories
'test'
and
'temp'
as
well as the files
'readme.txt'
,
'state.savrcl'
and
'waveform.wv'
which have different file types.
*RST value
Resolution
Options
SCPI
-
-
Compliant