[docs]classEnableCls:"""Enable commands group definition. 1 total commands, 0 Subgroups, 1 group commands"""def__init__(self,core:Core,parent):self._core=coreself._cmd_group=CommandsGroup("enable",core,parent)
[docs]defset(self,summary_bit:int)->None:"""SCPI: STATus:OPERation:ENABle \n Snippet: driver.status.operation.enable.set(summary_bit = 1) \n These commands control the ENABle part of a register. The ENABle part allows true conditions in the EVENt part of the status register to bereported in the summary bit. If a bit is 1 in the enable register and its associated event bit transitions to true, a positive transition will occur in the summary bit reported to the next higher level. \n :param summary_bit: No help available """param=Conversions.decimal_value_to_str(summary_bit)self._core.io.write(f'STATus:OPERation:ENABle {param}')
[docs]defget(self)->int:"""SCPI: STATus:OPERation:ENABle \n Snippet: value: int = driver.status.operation.enable.get() \n These commands control the ENABle part of a register. The ENABle part allows true conditions in the EVENt part of the status register to bereported in the summary bit. If a bit is 1 in the enable register and its associated event bit transitions to true, a positive transition will occur in the summary bit reported to the next higher level. \n :return: summary_bit: No help available"""response=self._core.io.query_str(f'STATus:OPERation:ENABle?')returnConversions.str_to_int(response)