Length

SCPI Command :

MMEMory:CATalog:LENGth
Commands in total: 1
Subgroups: 0
Direct child commands: 1
get(path: str = None) int[source]
# MMEMory:CATalog:LENGth
value: int = driver.massMemory.catalog.length.get(path = 'abc')

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

Parameters:

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

Returns:

file_count: integer Number of files.