Remote Control Commands
R&S
®
SMU200A
546Operating Manual 1007.9845.32 ─ 15
Return values:
<used_memory>,<free_memory>,<file_name>,<file_entry>,...
<used_memory>
Total amount of storage currently used in the directory, in bytes.
<free_memory>
Total amount of storage available in the directory, in bytes.
<file_entry>
All files of the directory are listed with their file name, format and
size in bytes.
Query parameters:
string
String parameter to specify the directory. If the direcory is omitted,
the command queries the content of the current directory, queried
with MMEM:CDIR command.
<path>
<path>
MMEM:CAT? '\\Server\DATA\*.LOG'
Reads back all files in \\Server\DATA with the extension ".LOG".
MMEM:CAT? 'E:/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 E:/user contains the subdirectories test and
temp as well as the files readme.txt, state.savrcl and
waveform.wv which have different file types.
Example:
Query onlyUsage:
:MMEMory:CATalog:LENGth?
Returns the number of files in the current or in the specified directory.
Return values:
<path>
String parameter to specify the directory. If the direcory is omitted,
the command queries the content of the current directory, queried
with MMEM:CDIR command.
Number of files
<Length>
<count>
MMEM:CAT:LENG? 'E:/user'
reads out the number of files at the highest directory level of the
memory stick.
Response:
'1'
there is 1 file at the highest directory level of the memory stick.
Example:
Query onlyUsage:
MMEMory Subsystem