[docs]classCatalogCls:"""Catalog commands group definition. 2 total commands, 0 Subgroups, 2 group commands"""def__init__(self,core:Core,parent):self._core=coreself._cmd_group=CommandsGroup("catalog",core,parent)
[docs]defget_length(self)->int:"""SCPI: [SOURce<HW>]:BB:ARBitrary:WAVeform:CATalog:LENGth \n Snippet: value: int = driver.source.bb.arbitrary.waveform.catalog.get_length() \n Reads out the files with extension *.wv in the default directory and returns the number of waveform files in this directory. The default directory is set using command method RsSmw.MassMemory.currentDirectory. \n :return: length: integer Number of waveform files in default directory Range: 0 to INT_MAX """response=self._core.io.query_str('SOURce<HwInstance>:BB:ARBitrary:WAVeform:CATalog:LENGth?')returnConversions.str_to_int(response)
[docs]defget_value(self)->List[str]:"""SCPI: [SOURce<HW>]:BB:ARBitrary:WAVeform:CATalog \n Snippet: value: List[str] = driver.source.bb.arbitrary.waveform.catalog.get_value() \n Reads out the files extension *.wv in the default directory. \n :return: catalog: string Returns a list of the file names separated by commas """response=self._core.io.query_str('SOURce<HwInstance>:BB:ARBitrary:WAVeform:CATalog?')returnConversions.str_to_str_list(response)