Source code for RsFsw.Implementations.Applications.K149_Uwb.Sense.Detect.Burst.Length.Minimum

from ........Internal.Core import Core
from ........Internal.CommandsGroup import CommandsGroup
from ........Internal import Conversions


# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
class MinimumCls:
	"""
	| Commands in total: 1
	| Subgroups: 0
	| Direct child commands: 1
	"""

	def __init__(self, core: Core, parent):
		self._core = core
		self._cmd_group = CommandsGroup("minimum", core, parent)

[docs] def set(self, minimum: float) -> None: """ ``[SENSe]:DETect:BURSt:LENGth:MINimum`` \n Snippet: ``driver.applications.k149Uwb.sense.detect.burst.length.minimum.set(minimum = 1.0)`` \n Defines the minimum burst length. :param minimum: numeric value """ param = Conversions.decimal_value_to_str(minimum) self._core.io.write(f'SENSe:DETect:BURSt:LENGth:MINimum {param}')
[docs] def get(self) -> float: """ ``[SENSe]:DETect:BURSt:LENGth:MINimum`` \n Snippet: ``value: float = driver.applications.k149Uwb.sense.detect.burst.length.minimum.get()`` \n Defines the minimum burst length. :return: minimum: numeric value """ response = self._core.io.query_str(f'SENSe:DETect:BURSt:LENGth:MINimum?') return Conversions.str_to_float(response)