[docs]classRlengthCls:"""Rlength commands group definition. 1 total commands, 0 Subgroups, 1 group commands"""def__init__(self,core:Core,parent):self._core=coreself._cmd_group=CommandsGroup("rlength",core,parent)
[docs]defset(self,sample_count:float)->None:"""SCPI: [SENSe]:RLENgth \n Snippet: driver.applications.k60Transient.sense.rlength.set(sample_count = 1.0) \n Defines the record length (in samples) for the current measurement. Note that the record length and the measurement time are interdependent (see [SENSe:]MTIMe) . \n :param sample_count: The maximum record length is limited only by the available memory. """param=Conversions.decimal_value_to_str(sample_count)self._core.io.write(f'SENSe:RLENgth {param}')
[docs]defget(self)->float:"""SCPI: [SENSe]:RLENgth \n Snippet: value: float = driver.applications.k60Transient.sense.rlength.get() \n Defines the record length (in samples) for the current measurement. Note that the record length and the measurement time are interdependent (see [SENSe:]MTIMe) . \n :return: sample_count: The maximum record length is limited only by the available memory."""response=self._core.io.query_str(f'SENSe:RLENgth?')returnConversions.str_to_float(response)