Length

SCPI Command:

MMEMory:CATalog: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:CATalog:LENGth
value: int = driver.massMemory.catalog.length.get(path_name = '1')

Returns the number of files and subdirectories in the specified directory. The returned number corresponds to the number of information strings returned by the method RsCma.MassMemory.Catalog.get_ command.

param path_name:

String parameter, directory to be queried. If the directory 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 files and subdirectories matching this pattern are returned.

return:

count: No help available