Source code for RsSmw.Implementations.Source.Bb.Arbitrary.Wsegment.Configure.Blank.Append

from ........Internal.Core import Core
from ........Internal.CommandsGroup import CommandsGroup
from ........Internal.Types import DataType
from ........Internal.ArgSingleList import ArgSingleList
from ........Internal.ArgSingle import ArgSingle


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

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

[docs] def set(self, samp_count: float, frequency: float) -> None: """ ``[SOURce<HW>]:BB:ARBitrary:WSEGment:CONFigure:BLANk:APPend`` \n Snippet: ``driver.source.bb.arbitrary.wsegment.configure.blank.append.set(samp_count = 1.0, frequency = 1.0)`` \n Adds a blank segment to the multi-segment file. :param samp_count: float Specifies the number of samples. Range: 512 to 1E7 :param frequency: float Determines the clock rate. Range: 400 Hz to depends on options """ param = ArgSingleList().compose_cmd_string(ArgSingle('samp_count', samp_count, DataType.Float), ArgSingle('frequency', frequency, DataType.Float)) self._core.io.write(f'SOURce<HwInstance>:BB:ARBitrary:WSEGment:CONFigure:BLANk:APPend {param}'.rstrip())