Source code for RsSmw.Implementations.Source.Bb.Nfc.Waveform

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


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

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

[docs] def set_create(self, filename: str) -> None: """ ``[SOURce<HW>]:BB:NFC:WAVeform:CREate`` \n Snippet: ``driver.source.bb.nfc.waveform.set_create(filename = 'abc')`` \n Stores the current NFC signal as ARB signal in a waveform file with the filename given in the parameter. :param filename: string """ param = Conversions.value_to_quoted_str(filename) self._core.io.write(f'SOURce<HwInstance>:BB:NFC:WAVeform:CREate {param}')