[docs]classHrCls:"""Hr commands group definition. 1 total commands, 0 Subgroups, 1 group commands"""def__init__(self,core:Core,parent):self._core=coreself._cmd_group=CommandsGroup("hr",core,parent)
[docs]defget_state(self)->bool:"""SCPI: [SOURce<HW>]:BB:BTOoth:HR:STATe \n Snippet: value: bool = driver.source.bb.btooth.hr.get_state() \n No command help available \n :return: hr_state: No help available """response=self._core.io.query_str('SOURce<HwInstance>:BB:BTOoth:HR:STATe?')returnConversions.str_to_bool(response)
[docs]defset_state(self,hr_state:bool)->None:"""SCPI: [SOURce<HW>]:BB:BTOoth:HR:STATe \n Snippet: driver.source.bb.btooth.hr.set_state(hr_state = False) \n No command help available \n :param hr_state: No help available """param=Conversions.bool_to_str(hr_state)self._core.io.write(f'SOURce<HwInstance>:BB:BTOoth:HR:STATe {param}')