[docs]classLengthCls:"""Length commands group definition. 1 total commands, 0 Subgroups, 1 group commands"""def__init__(self,core:Core,parent):self._core=coreself._cmd_group=CommandsGroup("length",core,parent)
[docs]defset(self,gate_length:float)->None:"""SCPI: TRACe:IQ:EGATe:LENGth \n Snippet: driver.trace.iq.egate.length.set(gate_length = 1.0) \n Defines the gate length for gated measurements with the I/Q analyzer. Defines the gate length in samples in edge mode. For details see 'Configuring I/Q gating'. \n :param gate_length: numeric value Max = (440 MS * sample rate/200MHz) -1 pretrigger samples defined by TRACe:IQ:SET; sample rate defined by method RsFsw.Applications.K10x_Lte.Trace.Iq.SymbolRate.get_) Range: 1...Max (samples) """param=Conversions.decimal_value_to_str(gate_length)self._core.io.write(f'TRACe:IQ:EGATe:LENGth {param}')
[docs]defget(self)->float:"""SCPI: TRACe:IQ:EGATe:LENGth \n Snippet: value: float = driver.trace.iq.egate.length.get() \n Defines the gate length for gated measurements with the I/Q analyzer. Defines the gate length in samples in edge mode. For details see 'Configuring I/Q gating'. \n :return: gate_length: numeric value Max = (440 MS * sample rate/200MHz) -1 pretrigger samples defined by TRACe:IQ:SET; sample rate defined by method RsFsw.Applications.K10x_Lte.Trace.Iq.SymbolRate.get_) Range: 1...Max (samples)"""response=self._core.io.query_str(f'TRACe:IQ:EGATe:LENGth?')returnConversions.str_to_float(response)