Source code for RsSmw.Implementations.Source.Bb.Progress.Mcoder.Arbitrary

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


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

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

[docs] def get_mcarrier(self) -> int: """ ``[SOURce<HW>]:BB:PROGress:MCODer:ARBitrary:MCARrier`` \n Snippet: ``value: int = driver.source.bb.progress.mcoder.arbitrary.get_mcarrier()`` \n Queries the status of an initiated process. This process can be, for example, the calculation of a signal in accordance to a digital standard, or the calculation of a multicarrier or multi-segment waveform file. :return: mcarrier: integer Indicates the task progress in percent Range: 0 to 100 """ response = self._core.io.query_str('SOURce<HwInstance>:BB:PROGress:MCODer:ARBitrary:MCARrier?') return Conversions.str_to_int(response)
[docs] def get_wsegment(self) -> int: """ ``[SOURce<HW>]:BB:PROGress:MCODer:ARBitrary:WSEGment`` \n Snippet: ``value: int = driver.source.bb.progress.mcoder.arbitrary.get_wsegment()`` \n Queries the status of an initiated process. This process can be, for example, the calculation of a signal in accordance to a digital standard, or the calculation of a multicarrier or multi-segment waveform file. :return: wsegment: integer Indicates the task progress in percent Range: 0 to 100 """ response = self._core.io.query_str('SOURce<HwInstance>:BB:PROGress:MCODer:ARBitrary:WSEGment?') return Conversions.str_to_int(response)