![background image](http://html.mh-extra.com/html/hp/81101a/81101a_reference-manual_163946044.webp)
44
Programming Reference
SCPI Instrument Command List
Command
:MMEM:CAT?
Long
:MMEMory:CATalog?
Form
Query
Parameter
["A:"]
*RST value
Not applicable
Description
Use this command to get a listing of the contents of the currently
selected directory on the memory card. As there is only one memory card
slot, the parameter A: is optional. The information returned is:
<bytes_used>,<bytes_free>[,<file_entry>]
The <file_type> is always blank. A directory name has <file_size> = 0.
Command
:MMEM:CDIR
Long
:MMEMory:CDIRectory
Form
Event
Parameter
["directory_name"]
*RST value
Not applicable
Description
Use this command to change the current directory on the memory card.
If you don't specify a directory name parameter, the root directory is
selected.
Note that you cannot use DOS pathnames as directory names, you can
only select a directory name within the current directory.
Use the directory name ".." to move back to the parent directory of the
current directory, unless you are already in the root directory "\".
Examples
To change to different directories on the memory card:
<bytes_used>
<bytes_free>
<file_entry>
The total number of bytes used on the memory card.
The total number of bytes still available on the memory card.
String containing the name, type and size of one file:
"<file_name>,<file_type>,<file_size>"
:MMEM:CDIR
:MMEM:CDIR "PERFORM"
:MMEM:CDIR ".."
Select root directory
Select directory "PERFORM"
Select parent directory