[docs]classDataCls:"""Data commands group definition. 2 total commands, 0 Subgroups, 2 group commands"""def__init__(self,core:Core,parent):self._core=coreself._cmd_group=CommandsGroup("data",core,parent)
[docs]defget_dselection(self)->str:"""SCPI: [SOURce<HW>]:BB:DAB:DATA:DSELection \n Snippet: value: str = driver.source.bb.dab.data.get_dselection() \n No command help available \n :return: dselection: No help available """response=self._core.io.query_str('SOURce<HwInstance>:BB:DAB:DATA:DSELection?')returntrim_str_response(response)
[docs]defset_dselection(self,dselection:str)->None:"""SCPI: [SOURce<HW>]:BB:DAB:DATA:DSELection \n Snippet: driver.source.bb.dab.data.set_dselection(dselection = 'abc') \n No command help available \n :param dselection: No help available """param=Conversions.value_to_quoted_str(dselection)self._core.io.write(f'SOURce<HwInstance>:BB:DAB:DATA:DSELection {param}')
# noinspection PyTypeChecker
[docs]defget_value(self)->enums.DabDataSour:"""SCPI: [SOURce<HW>]:BB:DAB:DATA \n Snippet: value: enums.DabDataSour = driver.source.bb.dab.data.get_value() \n No command help available \n :return: data: No help available """response=self._core.io.query_str('SOURce<HwInstance>:BB:DAB:DATA?')returnConversions.str_to_scalar_enum(response,enums.DabDataSour)
[docs]defset_value(self,data:enums.DabDataSour)->None:"""SCPI: [SOURce<HW>]:BB:DAB:DATA \n Snippet: driver.source.bb.dab.data.set_value(data = enums.DabDataSour.ALL0) \n No command help available \n :param data: No help available """param=Conversions.enum_scalar_to_str(data,enums.DabDataSour)self._core.io.write(f'SOURce<HwInstance>:BB:DAB:DATA {param}')