[docs]classSettingCls:"""Setting commands group definition. 1 total commands, 0 Subgroups, 1 group commands"""def__init__(self,core:Core,parent):self._core=coreself._cmd_group=CommandsGroup("setting",core,parent)
[docs]defset(self,setting:enums.PsweepSetting)->None:"""SCPI: CONFigure:PSWeep:X:SETTing \n Snippet: driver.applications.k18AmplifierEt.configure.psweep.x.setting.set(setting = enums.PsweepSetting.BIAS) \n This command selects the parameter type for the first parameter controlled by the parameter sweep. \n :param setting: BIAS Controls the envelope bias. DELay Controls the delay between envelope and RF signal. FREQuency Controls the frequency. POWer Controls the output level. """param=Conversions.enum_scalar_to_str(setting,enums.PsweepSetting)self._core.io.write(f'CONFigure:PSWeep:X:SETTing {param}')
# noinspection PyTypeChecker
[docs]defget(self)->enums.PsweepSetting:"""SCPI: CONFigure:PSWeep:X:SETTing \n Snippet: value: enums.PsweepSetting = driver.applications.k18AmplifierEt.configure.psweep.x.setting.get() \n This command selects the parameter type for the first parameter controlled by the parameter sweep. \n :return: setting: BIAS Controls the envelope bias. DELay Controls the delay between envelope and RF signal. FREQuency Controls the frequency. POWer Controls the output level."""response=self._core.io.query_str(f'CONFigure:PSWeep:X:SETTing?')returnConversions.str_to_scalar_enum(response,enums.PsweepSetting)