Command Reference - Base Software
R&S
®
CMW500
216User Manual 1173.9463.02 ─ 06
Example:
MMEM:CAT?
Possible response:
156673,5195137024,
".,DIR,0","..,DIR,0",
"SaveFile001.xml,BIN,78335",
"SaveFile002.xml,BIN,78338"
Example:
MMEM:CAT? 'D:\User\Data\*.jpg'
Possible response:
300928,511337022,
"fig1.jpg,BIN,259395",
"screen.jpg,BIN,41533"
Considers all jpg files located in directory D:\User\Data.
Example:
MMEM:CAT? 'D:\User\Data\*.jpg',ALL
Possible response:
300928,511337022,
"fig1.jpg,BIN,259395,14-01-2011 10:54,A",
"screen.jpg,BIN,41533,10-01-2011 11:13,AR"
Displays all information for the jpg files located in directory
D:\User\Data.
Usage: Query only
SCPI confirmed
Firmware/Software: V1.0.0.4
MMEMory:CATalog:LENGth? ['<DirectoryName>']
Returns the number of files and subdirectories of the current or of a specified directory.
The number includes the directory strings "." and ".." so that it corresponds to the number
of strings returned by the MMEMory:CATalog? command after the initial numeric param-
eters.
Parameters:
'<DirectoryName>' String parameter to specify the directory. If the directory is omitted,
the command queries the contents of the current directory (see
MMEMory:CDIRectory).
If the wildcards ? or * are used, the number of files and subdirec-
tories matching this pattern are returned.
Example:
MMEM:CAT:LENG?
Response: 4 (corresponding to the MMEMory:CATalog? exam-
ple)
Example:
MMEM:CAT:LENG? 'D:\User\Data\session*'
Returns the number of files and subdirectories starting with
session which are located in directory D:\User\Data.
Usage: Query only
Firmware/Software: V1.0.5.3
Instrument-Control Commands