Source code for RsCMPX_NrFr1Meas.Implementations.Configure.NrSubMeas.MultiEval.RbAllocation

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


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

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

[docs] def get_auto(self) -> bool: """ ``CONFigure:NRSub:MEASurement<Instance>:MEValuation:RBALlocation:AUTO`` \n Snippet: ``value: bool = driver.configure.nrSubMeas.multiEval.rbAllocation.get_auto()`` \n No help available """ response = self._core.io.query_str('CONFigure:NRSub:MEASurement<Instance>:MEValuation:RBALlocation:AUTO?') return Conversions.str_to_bool(response)
[docs] def set_auto(self, auto: bool) -> None: """ ``CONFigure:NRSub:MEASurement<Instance>:MEValuation:RBALlocation:AUTO`` \n Snippet: ``driver.configure.nrSubMeas.multiEval.rbAllocation.set_auto(auto = False)`` \n No help available """ param = Conversions.bool_to_str(auto) self._core.io.write(f'CONFigure:NRSub:MEASurement<Instance>:MEValuation:RBALlocation:AUTO {param}')
[docs] def get_nrb(self) -> int: """ ``CONFigure:NRSub:MEASurement<Instance>:MEValuation:RBALlocation:NRB`` \n Snippet: ``value: int = driver.configure.nrSubMeas.multiEval.rbAllocation.get_nrb()`` \n No help available """ response = self._core.io.query_str('CONFigure:NRSub:MEASurement<Instance>:MEValuation:RBALlocation:NRB?') return Conversions.str_to_int(response)
[docs] def set_nrb(self, no_rb: int) -> None: """ ``CONFigure:NRSub:MEASurement<Instance>:MEValuation:RBALlocation:NRB`` \n Snippet: ``driver.configure.nrSubMeas.multiEval.rbAllocation.set_nrb(no_rb = 1)`` \n No help available """ param = Conversions.decimal_value_to_str(no_rb) self._core.io.write(f'CONFigure:NRSub:MEASurement<Instance>:MEValuation:RBALlocation:NRB {param}')
[docs] def get_srb(self) -> int: """ ``CONFigure:NRSub:MEASurement<Instance>:MEValuation:RBALlocation:SRB`` \n Snippet: ``value: int = driver.configure.nrSubMeas.multiEval.rbAllocation.get_srb()`` \n No help available """ response = self._core.io.query_str('CONFigure:NRSub:MEASurement<Instance>:MEValuation:RBALlocation:SRB?') return Conversions.str_to_int(response)
[docs] def set_srb(self, start_rb: int) -> None: """ ``CONFigure:NRSub:MEASurement<Instance>:MEValuation:RBALlocation:SRB`` \n Snippet: ``driver.configure.nrSubMeas.multiEval.rbAllocation.set_srb(start_rb = 1)`` \n No help available """ param = Conversions.decimal_value_to_str(start_rb) self._core.io.write(f'CONFigure:NRSub:MEASurement<Instance>:MEValuation:RBALlocation:SRB {param}')