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

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


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

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

[docs] def get_filter_py(self) -> int: """ ``[SOURce<HW>]:BB:PROGress:MCODer:DM:FILTer`` \n Snippet: ``value: int = driver.source.bb.progress.mcoder.dm.get_filter_py()`` \n Queries the status of an applied offline filtering, like for example during the calculation of a waveform and a multi carrier waveform file. :return: filter_py: integer Indicates the task progress in percent Range: 0 to 100 """ response = self._core.io.query_str('SOURce<HwInstance>:BB:PROGress:MCODer:DM:FILTer?') return Conversions.str_to_int(response)
[docs] def get_sub(self) -> int: """ ``[SOURce<HW>]:BB:PROGress:MCODer:DM:SUB`` \n Snippet: ``value: int = driver.source.bb.progress.mcoder.dm.get_sub()`` \n No help available """ response = self._core.io.query_str('SOURce<HwInstance>:BB:PROGress:MCODer:DM:SUB?') return Conversions.str_to_int(response)