[docs]classUlistCls:"""Ulist commands group definition. 3 total commands, 2 Subgroups, 1 group commands"""def__init__(self,core:Core,parent):self._core=coreself._cmd_group=CommandsGroup("ulist",core,parent)@propertydefselect(self):"""select commands group. 0 Sub-classes, 1 commands."""ifnothasattr(self,'_select'):from.SelectimportSelectClsself._select=SelectCls(self._core,self._cmd_group)returnself._select@propertydefstate(self):"""state commands group. 0 Sub-classes, 1 commands."""ifnothasattr(self,'_state'):from.StateimportStateClsself._state=StateCls(self._core,self._cmd_group)returnself._state
[docs]defget_catalog(self)->List[str]:"""SCPI: [SOURce<HW>]:REGenerator:OBJect:ULISt:CATalog \n Snippet: value: List[str] = driver.source.regenerator.object.ulist.get_catalog() \n Queries files with user setting in the default directory. Listed are files with the file extension *.reg_list. Refer to 'Accessing Files in the Default or Specified Directory' for general information on file handling in the default and in a specific directory. \n :return: filenames: filename1,filename2,... Returns a string of file names separated by commas. """response=self._core.io.query_str('SOURce<HwInstance>:REGenerator:OBJect:ULISt:CATalog?')returnConversions.str_to_str_list(response)
defclone(self)->'UlistCls':"""Clones the group by creating new object from it and its whole existing subgroups Also copies all the existing default Repeated Capabilities setting, which you can change independently without affecting the original group"""new_group=UlistCls(self._core,self._cmd_group.parent)self._cmd_group.synchronize_repcaps(new_group)returnnew_group