[docs]classErrorCls:"""Error commands group definition. 2 total commands, 0 Subgroups, 2 group commands"""def__init__(self,core:Core,parent):self._core=coreself._cmd_group=CommandsGroup("error",core,parent)
[docs]defget_max(self)->float:"""SCPI: [SOURce<HW>]:IQ:DPD:OUTPut:ERRor:MAX \n Snippet: value: float = driver.source.iq.dpd.output.error.get_max() \n Sets the allowed maximum error. \n :return: maximum_error: float Range: 0.01 to 1 """response=self._core.io.query_str('SOURce<HwInstance>:IQ:DPD:OUTPut:ERRor:MAX?')returnConversions.str_to_float(response)
[docs]defset_max(self,maximum_error:float)->None:"""SCPI: [SOURce<HW>]:IQ:DPD:OUTPut:ERRor:MAX \n Snippet: driver.source.iq.dpd.output.error.set_max(maximum_error = 1.0) \n Sets the allowed maximum error. \n :param maximum_error: float Range: 0.01 to 1 """param=Conversions.decimal_value_to_str(maximum_error)self._core.io.write(f'SOURce<HwInstance>:IQ:DPD:OUTPut:ERRor:MAX {param}')