[docs]classSettingCls:"""Setting commands group definition. 6 total commands, 1 Subgroups, 4 group commands"""def__init__(self,core:Core,parent):self._core=coreself._cmd_group=CommandsGroup("setting",core,parent)@propertydeftmod(self):"""tmod commands group. 0 Sub-classes, 2 commands."""ifnothasattr(self,'_tmod'):from.TmodimportTmodClsself._tmod=TmodCls(self._core,self._cmd_group)returnself._tmod
[docs]defget_catalog(self)->List[str]:"""SCPI: [SOURce<HW>]:BB:EUTRa:SETTing:CATalog \n Snippet: value: List[str] = driver.source.bb.eutra.setting.get_catalog() \n Queries the files with settings in the default directory. Listed are files with the file extension *.lte. 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: catalog: filename1,filename2,... Returns a string of filenames separated by commas. """response=self._core.io.query_str('SOURce<HwInstance>:BB:EUTRa:SETTing:CATalog?')returnConversions.str_to_str_list(response)
[docs]defset_del_py(self,filename:str)->None:"""SCPI: [SOURce<HW>]:BB:EUTRa:SETTing:DEL \n Snippet: driver.source.bb.eutra.setting.set_del_py(filename = 'abc') \n Deletes the selected file from the default or the specified directory. Deleted are files with extension *.lte. 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 :param filename: string Filename or complete file path; file extension can be omitted """param=Conversions.value_to_quoted_str(filename)self._core.io.write(f'SOURce<HwInstance>:BB:EUTRa:SETTing:DEL {param}')
[docs]defget_load(self)->str:"""SCPI: [SOURce<HW>]:BB:EUTRa:SETTing:LOAD \n Snippet: value: str = driver.source.bb.eutra.setting.get_load() \n Loads the selected file from the default or the specified directory. Loaded are files with extension *.lte. 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: filename: string Filename or complete file path; file extension can be omitted """response=self._core.io.query_str('SOURce<HwInstance>:BB:EUTRa:SETTing:LOAD?')returntrim_str_response(response)
[docs]defset_load(self,filename:str)->None:"""SCPI: [SOURce<HW>]:BB:EUTRa:SETTing:LOAD \n Snippet: driver.source.bb.eutra.setting.set_load(filename = 'abc') \n Loads the selected file from the default or the specified directory. Loaded are files with extension *.lte. 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 :param filename: string Filename or complete file path; file extension can be omitted """param=Conversions.value_to_quoted_str(filename)self._core.io.write(f'SOURce<HwInstance>:BB:EUTRa:SETTing:LOAD {param}')
[docs]defget_store(self)->str:"""SCPI: [SOURce<HW>]:BB:EUTRa:SETTing:STORe \n Snippet: value: str = driver.source.bb.eutra.setting.get_store() \n Stores the current settings into the selected file; the file extension (*.lte) is assigned automatically. 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: filename: string Filename or complete file path """response=self._core.io.query_str('SOURce<HwInstance>:BB:EUTRa:SETTing:STORe?')returntrim_str_response(response)
[docs]defset_store(self,filename:str)->None:"""SCPI: [SOURce<HW>]:BB:EUTRa:SETTing:STORe \n Snippet: driver.source.bb.eutra.setting.set_store(filename = 'abc') \n Stores the current settings into the selected file; the file extension (*.lte) is assigned automatically. 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 :param filename: string Filename or complete file path """param=Conversions.value_to_quoted_str(filename)self._core.io.write(f'SOURce<HwInstance>:BB:EUTRa:SETTing:STORe {param}')
defclone(self)->'SettingCls':"""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=SettingCls(self._core,self._cmd_group.parent)self._cmd_group.synchronize_repcaps(new_group)returnnew_group