Length

SCPI Command:

MMEMory:DCATalog:LENGth
class LengthCls[source]

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

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

Returns the number of subdirectories of the specified directory. The number corresponds to the number of strings returned by the method RsCma.MassMemory.Dcatalog.get_ command.

param path_name:

String parameter to specify the directory. If the parameter is omitted, the command queries the contents of the current directory (see method RsCma.MassMemory.CurrentDirectory.set) . If the wildcards ? or * are used, the number of subdirectories matching this pattern are returned.

return:

file_entry_count: No help available