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

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


# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
[docs]class ArbitraryCls: """Arbitrary commands group definition. 2 total commands, 0 Subgroups, 2 group commands""" def __init__(self, core: Core, parent): self._core = core self._cmd_group = CommandsGroup("arbitrary", core, parent)
[docs] def get_mcarrier(self) -> int: """SCPI: [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, like for example the calculation of a signal in accordance to a digital standard, or the calculation of a multi-carrier or multi-segment waveform file. \n :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: """SCPI: [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, like for example the calculation of a signal in accordance to a digital standard, or the calculation of a multi-carrier or multi-segment waveform file. \n :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)