Command Reference
R&S
®
CMW500
215User Manual 1173.9463.02 ─ 02
Parameters:
'<DirectoryName>' String parameter to specify the directory. If this parameter is omit-
ted, the command queries the contents of the current directory
(see MMEMory:CDIRectory).
If the wildcards ? or * are used, only the subdirectories matching
this pattern are returned.
Return values:
'<Directory_1>' ...
'<Directory_n>'
Names of the subdirectories as comma-separated list
Example:
MMEM:DCAT?
Response: ".","..","temp","test","mydirectory"
Example:
MMEM:DCAT? 'D:\User\Data\session*'
Response: "session1","session5","sessiontest"
These are the subdirectories located in directory D:\User
\Data which start with session.
Usage: Query only
Firmware/Software: V1.0.5.3
MMEMory:DCATalog:LENGth? ['<DirectoryName>']
Returns the number of subdirectories of the current or of a specified directory. The num-
ber includes the directory strings "." and ".." so that it corresponds to the number of strings
returned by the MMEMory:DCATalog command.
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 subdirectories
matching this pattern are returned.
Example:
MMEM:DCAT:LENG?
Response: 5 (corresponding to the MMEMory:DCATalog exam-
ple)
Example:
MMEM:DCAT:LENG? 'D:\User\Data\session*'
Returns the number of subdirectories starting with session which
are located in directory D:\User\Data.
Usage: Query only
Firmware/Software: V1.0.5.3
MMEMory:DELete '<FileName>'
Deletes the specified file(s).
Instrument-Control Commands