[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,length:float)->None:"""SCPI: [SENSe]:SWEep:EGATe:LENGth \n Snippet: driver.applications.k14Xnr5G.sense.sweep.egate.length.set(length = 1.0) \n Defines the gate length. \n :param length: Range: 125 ns to 30 s, Unit: S """param=Conversions.decimal_value_to_str(length)self._core.io.write(f'SENSe:SWEep:EGATe:LENGth {param}')
[docs]defget(self)->float:"""SCPI: [SENSe]:SWEep:EGATe:LENGth \n Snippet: value: float = driver.applications.k14Xnr5G.sense.sweep.egate.length.get() \n Defines the gate length. \n :return: length: No help available"""response=self._core.io.query_str(f'SENSe:SWEep:EGATe:LENGth?')returnConversions.str_to_float(response)