Source code for RsFsw.Implementations.Applications.K50_Spurious.Sense.Transfer.Spur

from typing import List

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


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

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

[docs] def set(self, spur: List[int]=None) -> None: """ ``[SENSe]:TRANsfer:SPUR`` \n Snippet: ``driver.applications.k50Spurious.sense.transfer.spur.set(spur = [1, 2, 3])`` \n No help available :param spur: Comma-separated list of spur numbers (integers) """ param = '' if spur: param = Conversions.list_to_csv_str(spur) self._core.io.write(f'SENSe:TRANsfer:SPUR {param}'.strip())