Catalog

SCPI Command :

MMEMory:CATalog
Commands in total: 2
Subgroups: 1
Direct child commands: 1
get() str[source]
# MMEMory:CATalog
value: str = driver.massMemory.catalog.get()

This command returns the contents of a particular directory.

Returns:

filename: String containing the path and directory If you leave out the path, the command returns the contents of the directory selected with method RsFsw.massMemory.currentDirectory.set() . The path may be relative or absolute. Using wildcards (‘*’) is possible to query a certain type of files only. If you use a specific file as a parameter, the command returns the name of the file if the file is found in the specified directory, or an error if the file is not found (‘-256,’File name not found’) .

Cloning the Group

# Create a copy of the original group, that exists independently
catalog_copy = driver.massMemory.catalog.clone()

Subgroups