[docs]classStateCls:"""State commands group definition. 2 total commands, 0 Subgroups, 2 group commands"""def__init__(self,core:Core,parent):self._core=coreself._cmd_group=CommandsGroup("state",core,parent)# noinspection PyTypeChecker
[docs]defget_pon(self)->enums.UnchOff:"""SCPI: OUTPut<HW>:[STATe]:PON \n Snippet: value: enums.UnchOff = driver.output.state.get_pon() \n Defines the state of the RF output signal when the instrument is switched on. \n :return: pon: OFF| UNCHanged """response=self._core.io.query_str('OUTPut<HwInstance>:STATe:PON?')returnConversions.str_to_scalar_enum(response,enums.UnchOff)
[docs]defset_pon(self,pon:enums.UnchOff)->None:"""SCPI: OUTPut<HW>:[STATe]:PON \n Snippet: driver.output.state.set_pon(pon = enums.UnchOff.OFF) \n Defines the state of the RF output signal when the instrument is switched on. \n :param pon: OFF| UNCHanged """param=Conversions.enum_scalar_to_str(pon,enums.UnchOff)self._core.io.write(f'OUTPut<HwInstance>:STATe:PON {param}')