Length

SCPI Command :

MMEMory:CATalog:LENGth
class LengthCls[source]

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

get(path: Optional[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 RsSmbv.MassMemory.currentDirectory command.

return

file_count: integer Number of files.