Source code for RsFsw.Implementations.Sense.Correction.Transducer.Select

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


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

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

[docs] def set(self, name: str) -> None: """ ``[SENSe]:CORRection:TRANsducer:SELect`` \n Snippet: ``driver.sense.correction.transducer.select.set(name = 'abc')`` \n This command selects a transducer factor. :param name: String containing the name of the transducer factor. If the name does not exist yet, the FSW creates a transducer factor by that name. """ param = Conversions.value_to_quoted_str(name) self._core.io.write(f'SENSe:CORRection:TRANsducer:SELect {param}')