SCPI Command :

class LengthCls[source]

Length commands group definition. 1 total commands, 0 Subgroups, 1 group commands

get(path: str = None) int[source]
# SCPI: 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.

param 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 RsAreg800.MassMemory.currentDirectory command.


file_count: integer Number of files.