[docs]classDpiPowerCls:"""DpiPower commands group definition. 1 total commands, 0 Subgroups, 1 group commands"""def__init__(self,core:Core,parent):self._core=coreself._cmd_group=CommandsGroup("dpiPower",core,parent)
[docs]defset(self,power:float)->None:"""SCPI: CONFigure:REFSignal:CWF:DPIPower \n Snippet: driver.applications.k18AmplifierEt.configure.refSignal.cwf.dpiPower.set(power = 1.0) \n This command defines the peak input power of the DUT. This is necessary when you turn off method RsFsw.Applications. K18_AmplifierEt.Configure.RefSignal.Cwf.EtGenerator.State.set (otherwise, the command has no effect) . INTRO_CMD_HELP: Prerequisites for this command \n - Generate reference signal with a waveform file \n :param power: numeric value Unit: dBm """param=Conversions.decimal_value_to_str(power)self._core.io.write(f'CONFigure:REFSignal:CWF:DPIPower {param}')
[docs]defget(self)->float:"""SCPI: CONFigure:REFSignal:CWF:DPIPower \n Snippet: value: float = driver.applications.k18AmplifierEt.configure.refSignal.cwf.dpiPower.get() \n This command defines the peak input power of the DUT. This is necessary when you turn off method RsFsw.Applications. K18_AmplifierEt.Configure.RefSignal.Cwf.EtGenerator.State.set (otherwise, the command has no effect) . INTRO_CMD_HELP: Prerequisites for this command \n - Generate reference signal with a waveform file \n :return: power: numeric value Unit: dBm"""response=self._core.io.query_str(f'CONFigure:REFSignal:CWF:DPIPower?')returnConversions.str_to_float(response)