[docs]classDownlinkCls:"""Downlink commands group definition. 2 total commands, 0 Subgroups, 2 group commands"""def__init__(self,core:Core,parent):self._core=coreself._cmd_group=CommandsGroup("downlink",core,parent)
[docs]defget_catalog(self)->List[str]:"""SCPI: [SOURce<HW>]:BB:NR5G:SETTing:TMODel:DL:CATalog \n Snippet: value: List[str] = driver.source.bb.nr5G.setting.tmodel.downlink.get_catalog() \n Queries the filenames of predefined files with test signals in the default directory. \n :return: nr_5_gcat_name_tmod_dn: filename1,filename2,... Returns a string of filenames separated by commas. """response=self._core.io.query_str('SOURce<HwInstance>:BB:NR5G:SETTing:TMODel:DL:CATalog?')returnConversions.str_to_str_list(response)
[docs]defget_value(self)->str:"""SCPI: [SOURce<HW>]:BB:NR5G:SETTing:TMODel:DL \n Snippet: value: str = driver.source.bb.nr5G.setting.tmodel.downlink.get_value() \n Loads a test model file with predefined settings. \n :return: tmod_down: 'filename' Filename as queried with one of the following commands: [:SOURcehw]:BB:NR5G:SETTing:TMODel:UL:CATalog? [:SOURcehw]:BB:NR5G:SETTing:TMODel:DL:CATalog? [:SOURcehw]:BB:NR5G:SETTing:TMODel:FILTer:CATalog """response=self._core.io.query_str('SOURce<HwInstance>:BB:NR5G:SETTing:TMODel:DL?')returntrim_str_response(response)
[docs]defset_value(self,tmod_down:str)->None:"""SCPI: [SOURce<HW>]:BB:NR5G:SETTing:TMODel:DL \n Snippet: driver.source.bb.nr5G.setting.tmodel.downlink.set_value(tmod_down = 'abc') \n Loads a test model file with predefined settings. \n :param tmod_down: 'filename' Filename as queried with one of the following commands: [:SOURcehw]:BB:NR5G:SETTing:TMODel:UL:CATalog? [:SOURcehw]:BB:NR5G:SETTing:TMODel:DL:CATalog? [:SOURcehw]:BB:NR5G:SETTing:TMODel:FILTer:CATalog """param=Conversions.value_to_quoted_str(tmod_down)self._core.io.write(f'SOURce<HwInstance>:BB:NR5G:SETTing:TMODel:DL {param}')