User`s guide
266 53220A/53230A User’s Guide
7 Formats and Data Flow
memory used and the total amount of memory available (free) on the specified
drive.
MMEMory:CATalog[:ALL]? [<“folder”>]
MMEMory:CATalog:DATA? [<“folder”>]
MMEMory:CATalog:STATe? [<“folder”>]
The folder parameter format is drive:path. drive is either INT (internal
flash memory) or USB (external memory device). path is an absolute path and
folder name beginning with \. If a folder is not specified, the contents of the
specified current folder (MMEMory:CDIRectory) or the contents of the
drive’s root directory are returned.
The format of the data returned is:
<total memory used>, <total memory free>, <“file listing”>
“file listing” with quotes (““) included is further separated into:
“<file name>, <file type>, <file size>”
Memory used, memory free, and file size are given in bytes. Examples of what
the individual CATalog commands might return for a folder on an external
USB memory device containing a sub-folder plus a .csv data file, a .dat data
file, and a state file are given as follows:
MMEMory:CATalog[:ALL]?
253657088,519798784,"data1.csv,ASC,12500","state1.sta,STAT,860","
data2.dat,BIN,1600","dut_a,FOLD,0"
MMEMory:CATalog:DATA?
253657088,519798784,"data1.csv,ASC,12500","data2.dat,BIN,1600"
MMEMory:CATalog:STATe?
253657088,519798784,"state1.sta,STAT,860"