MMEMory:CATalog[:ALL]? [<folder>]
Returns a list of files in the specified folder.
Parameter Typical return
<folder>
Any valid folder name. Defaults to folder selected by
MMEMory:CDIRectory
+1000000000,+327168572,
"command.exe,,375808",
"MyDCVMeas.sta,STAT,8192",MyData.csv,ASC,11265"
List all files in the folder MyData on the front panel USB storage device: MMEM:CAT? "USB:\MyData"
List all state files in the root directory of internal memory: MMEM:CAT? "INT:\*.sta"
–
If <folder> is omitted or is *.*, the command or query acts on all files. You can also use the * as a generic wildcard:
*.sta, abc*.*, and so on.
– The catalog takes the following form:
<mem_used>,<mem_free>{,"<file listing>"}
The instrument returns two numbers and a string for each file in the folder. The first number is the number of
bytes used on the drive. The second indicates the number of bytes available. Each <file listing> is in the format
"<file_name>,<file_type>,<file_size>" (including the quotation marks), where <file_ name> is the name of the
file including file extension, if any; <file_type> is either STAT for STATe (.sta) files, ASC for DATA (.csv) files, PREF
for PREFerence (.prf) files, FOLD for folders, or null for all other file extensions; <file_size> is the file size in bytes.
–
If no files exist, only <mem_used>,<mem_free> is returned.
Keysight DAQ970A/DAQ973A Programming Guide 191
2 SCPI Programming