Length#

SCPI Command :

MMEMory:DCATalog:LENGth
Commands in total: 1
Subgroups: 0
Direct child commands: 1
get ( path: str = None ) → int
# MMEMory:DCATalog:LENGth
value: int = driver.massMemory.dcatalog.length.get(path = 'abc')

Returns the number of subdirectories in the current or specified directory.

Parameters:

path – String parameter to specify the directory. If the directory is omitted, the command queries the contents of the current directory, to be queried with method RsSmw.massMemory.current_directory() command.

Returns:

directory_count: Number of the parent directory and subdirectories.