from .....Internal.Core import Core
from .....Internal.CommandsGroup import CommandsGroup
from .....Internal import Conversions
# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
class AllocationCls:
"""
| Commands in total: 2
| Subgroups: 0
| Direct child commands: 2
"""
def __init__(self, core: Core, parent):
self._core = core
self._cmd_group = CommandsGroup("allocation", core, parent)
[docs]
def get_nsymbols(self) -> int:
"""
``CONFigure:NRSub:MEASurement<Instance>:MEValuation:ALLocation:NSYMbols`` \n
Snippet: ``value: int = driver.configure.nrSubMeas.multiEval.allocation.get_nsymbols()`` \n
No help available
"""
response = self._core.io.query_str('CONFigure:NRSub:MEASurement<Instance>:MEValuation:ALLocation:NSYMbols?')
return Conversions.str_to_int(response)
[docs]
def set_nsymbols(self, no_symbols: int) -> None:
"""
``CONFigure:NRSub:MEASurement<Instance>:MEValuation:ALLocation:NSYMbols`` \n
Snippet: ``driver.configure.nrSubMeas.multiEval.allocation.set_nsymbols(no_symbols = 1)`` \n
No help available
"""
param = Conversions.decimal_value_to_str(no_symbols)
self._core.io.write(f'CONFigure:NRSub:MEASurement<Instance>:MEValuation:ALLocation:NSYMbols {param}')
[docs]
def get_ssymbol(self) -> int:
"""
``CONFigure:NRSub:MEASurement<Instance>:MEValuation:ALLocation:SSYMbol`` \n
Snippet: ``value: int = driver.configure.nrSubMeas.multiEval.allocation.get_ssymbol()`` \n
No help available
"""
response = self._core.io.query_str('CONFigure:NRSub:MEASurement<Instance>:MEValuation:ALLocation:SSYMbol?')
return Conversions.str_to_int(response)
[docs]
def set_ssymbol(self, start_symbol: int) -> None:
"""
``CONFigure:NRSub:MEASurement<Instance>:MEValuation:ALLocation:SSYMbol`` \n
Snippet: ``driver.configure.nrSubMeas.multiEval.allocation.set_ssymbol(start_symbol = 1)`` \n
No help available
"""
param = Conversions.decimal_value_to_str(start_symbol)
self._core.io.write(f'CONFigure:NRSub:MEASurement<Instance>:MEValuation:ALLocation:SSYMbol {param}')