Length

SCPI Command :

MMEMory:DCATalog:LENGth
class LengthCls[source]

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

get(path: str = None) int[source]
# SCPI: MMEMory:DCATalog:LENGth
value: int = driver.massMemory.dcatalog.length.get(path = 'abc')

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

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

return:

directory_count: integer Number of parent and subdirectories.