MMEMory:CATalog:ALL?
Syntax
MMEMory:CATalog[:ALL]? [<folder>]
Description
This command returns a list of all files in the specified folder.
Parameters
Name Type Range of Values Default Value
<folder> String Any valid folder name
folder specified by the MMEMory:CDIRectory command
Remarks
l The format for <folder> is "[[<drive>:]<path>]", where <drive> can be INTernal or USB, and <path> is a
folder path.
o
INTernal specifies the internal flash file system. USB specifies a front panel USB storage device.
o
If <drive> is specified, <path> is interpreted as an absolute folder path. Absolute paths begin with a "\"
or "/" and start at the root folder of <drive>.
o
If <drive> is omitted, <path> is relative to the folder specified by the MMEMory:CDIRectory command.
Relative paths must not begin with "\" or "/".
o
Folder and file names cannot contain the following characters: \ / : * ? " < > |
o
<folder> cannot exceed 240 characters.
o
The specified folder must exist and cannot be marked as hidden or system.
l MMEMory:CATalog:DATA? will return the catalog of only the data (.csv) files in the selected folder.
l MMEMory:CATalog:STATe? will return the catalog of only the state (.sta) files in the selected folder.
Return Format
The query returns the catalog in the following form:
<mem_used>,<mem_free>{,"<file listing>"}
The instrument returns two numeric values and a string for each file in the selected folder. The first
numeric indicates the total number of bytes of storage currently used on the drive. The second indicates
the total number of bytes of storage currently available. Each <file listing> is in the format "<file_
name>,<file_type>,<file_size>" (the quotes are also returned), 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,
FOLD for folders, or PREF for user preferences (.prf) files, null for all other file extensions; <file_size> is the
size of the file in bytes.
Keysight 53220A/53230A Programmer's Reference 289
MMEMory:CATalog:ALL?