:MMEM:CAT

Type

Query

Syntax

:MMEMory:CATalog?

Description

This command reads the following information on the built-in storage device of the E4991B:

      • To read out the information in the root directory (folder), specify "\" (backslash). Separate between directory names (file name) with "\ " (back slash), or "/" (slash).  

Variable

Parameter

Value1

Description

Directory name of which the information you want to read out

Data Type

Character string type (String)

Range

254 chars

Query Response

{Value 2}<newline><^END>

 

Parameter

Value2

Description

Directory information ("{A},{B},{Name 1},{Size 1},{Name 2},{Size 2}, ... ,{Name N},{Size N}")

Where N is the number of all files in the specified directory and n is an integer between 1 and N.

  {A}: Space in use of the built-in storage device (byte).

  {B}: Available space of the built-in storage device (byte).

  {Name n}: Name of the n-th file (directory).

  {Size n}: Size (byte) of the n-th file (directory). Always 0 for directories.

Data Type

Character string type (String)

Range

254 chars

 

Examples

Dim Var as Variant
Ana.WriteString ":MMEM:CAT? ""D:""", True
Var=Ana.Readlist

Equivalent Softkey

No equivalent key is available on the front panel.

COM Command Syntax (Internal Control Only)

SCPI.MMEMORY.CATALOG