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 = 'abc')

Returns the number of subdirectories of the current or of a specified directory. The number includes the directory strings ‘.’ and ‘..’ so that it corresponds to the number of strings returned by the method RsCmwBase.MassMemory.Dcatalog. get_ command.

param path_name:

string If the directory name is omitted, the command queries the contents of the current directory (see method RsCmwBase.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