[docs]classAutoCls:"""Auto commands group definition. 1 total commands, 0 Subgroups, 1 group commands"""def__init__(self,core:Core,parent):self._core=coreself._cmd_group=CommandsGroup("auto",core,parent)
[docs]defset(self,state:bool)->None:"""SCPI: TRIGger[:SEQuence]:LEVel:POWer:AUTO \n Snippet: driver.applications.k91Wlan.trigger.sequence.level.power.auto.set(state = False) \n By default, the optimum trigger level for power triggers is automatically measured and determined at the start of each sweep (for Modulation Accuracy, Flatness, Tolerance... measurements) . Is only considered for TRIG:SEQ:SOUR IFP and TRIG:SEQ:SOUR RFP, see method RsFsw.Applications.K91_Wlan.Trigger.Sequence.Source.set To define the trigger level manually, switch this function off and define the level using method RsFsw.Applications.K17_Mcgd.Trigger.Sequence.Level. IfPower.set or method RsFsw.Applications.K17_Mcgd.Trigger.Sequence.Level.RfPower.set. \n :param state: OFF | 0 Switches the auto level detection function off ON | 1 Switches the auto level detection function on """param=Conversions.bool_to_str(state)self._core.io.write(f'TRIGger:SEQuence:LEVel:POWer:AUTO {param}')
[docs]defget(self)->bool:"""SCPI: TRIGger[:SEQuence]:LEVel:POWer:AUTO \n Snippet: value: bool = driver.applications.k91Wlan.trigger.sequence.level.power.auto.get() \n By default, the optimum trigger level for power triggers is automatically measured and determined at the start of each sweep (for Modulation Accuracy, Flatness, Tolerance... measurements) . Is only considered for TRIG:SEQ:SOUR IFP and TRIG:SEQ:SOUR RFP, see method RsFsw.Applications.K91_Wlan.Trigger.Sequence.Source.set To define the trigger level manually, switch this function off and define the level using method RsFsw.Applications.K17_Mcgd.Trigger.Sequence.Level. IfPower.set or method RsFsw.Applications.K17_Mcgd.Trigger.Sequence.Level.RfPower.set. \n :return: state: OFF | 0 Switches the auto level detection function off ON | 1 Switches the auto level detection function on"""response=self._core.io.query_str(f'TRIGger:SEQuence:LEVel:POWer:AUTO?')returnConversions.str_to_bool(response)