Source code for RsCmwLteMeas.Implementations.Configure.MultiEval.NsValue

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


# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
[docs] class NsValueCls: """NsValue commands group definition. 2 total commands, 0 Subgroups, 2 group commands""" def __init__(self, core: Core, parent): self._core = core self._cmd_group = CommandsGroup("nsValue", core, parent) # noinspection PyTypeChecker
[docs] def get_carrier_aggregation(self) -> enums.NetworkSigValue: """SCPI: CONFigure:LTE:MEASurement<Instance>:MEValuation:NSValue:CAGGregation \n Snippet: value: enums.NetworkSigValue = driver.configure.multiEval.nsValue.get_carrier_aggregation() \n Selects the 'network signaled value' for measurements with carrier aggregation. For the combined signal path scenario, use CONFigure:LTE:SIGN<i>:CONNection:SCC<c>:ASEMission:CAGGregation. \n :return: value: NS01 | NS02 | NS03 | NS04 | NS05 | NS06 | NS07 | NS08 | NS09 | NS10 | NS11 | NS12 | NS13 | NS14 | NS15 | NS16 | NS17 | NS18 | NS19 | NS20 | NS21 | NS22 | NS23 | NS24 | NS25 | NS26 | NS27 | NS28 | NS29 | NS30 | NS31 | NS32 Value CA_NS_01 to CA_NS_32 """ response = self._core.io.query_str('CONFigure:LTE:MEASurement<Instance>:MEValuation:NSValue:CAGGregation?') return Conversions.str_to_scalar_enum(response, enums.NetworkSigValue)
[docs] def set_carrier_aggregation(self, value: enums.NetworkSigValue) -> None: """SCPI: CONFigure:LTE:MEASurement<Instance>:MEValuation:NSValue:CAGGregation \n Snippet: driver.configure.multiEval.nsValue.set_carrier_aggregation(value = enums.NetworkSigValue.NS01) \n Selects the 'network signaled value' for measurements with carrier aggregation. For the combined signal path scenario, use CONFigure:LTE:SIGN<i>:CONNection:SCC<c>:ASEMission:CAGGregation. \n :param value: NS01 | NS02 | NS03 | NS04 | NS05 | NS06 | NS07 | NS08 | NS09 | NS10 | NS11 | NS12 | NS13 | NS14 | NS15 | NS16 | NS17 | NS18 | NS19 | NS20 | NS21 | NS22 | NS23 | NS24 | NS25 | NS26 | NS27 | NS28 | NS29 | NS30 | NS31 | NS32 Value CA_NS_01 to CA_NS_32 """ param = Conversions.enum_scalar_to_str(value, enums.NetworkSigValue) self._core.io.write(f'CONFigure:LTE:MEASurement<Instance>:MEValuation:NSValue:CAGGregation {param}')
# noinspection PyTypeChecker
[docs] def get_value(self) -> enums.NetworkSigValueNoCarrAggr: """SCPI: CONFigure:LTE:MEASurement<Instance>:MEValuation:NSValue \n Snippet: value: enums.NetworkSigValueNoCarrAggr = driver.configure.multiEval.nsValue.get_value() \n Selects the 'network signaled value' for measurements without carrier aggregation. For the combined signal path scenario, use CONFigure:LTE:SIGN<i>:CONNection:ASEMission. \n :return: value: NS01 | ... | NS288 Value NS_01 to NS_288 """ response = self._core.io.query_str('CONFigure:LTE:MEASurement<Instance>:MEValuation:NSValue?') return Conversions.str_to_scalar_enum(response, enums.NetworkSigValueNoCarrAggr)
[docs] def set_value(self, value: enums.NetworkSigValueNoCarrAggr) -> None: """SCPI: CONFigure:LTE:MEASurement<Instance>:MEValuation:NSValue \n Snippet: driver.configure.multiEval.nsValue.set_value(value = enums.NetworkSigValueNoCarrAggr.NS01) \n Selects the 'network signaled value' for measurements without carrier aggregation. For the combined signal path scenario, use CONFigure:LTE:SIGN<i>:CONNection:ASEMission. \n :param value: NS01 | ... | NS288 Value NS_01 to NS_288 """ param = Conversions.enum_scalar_to_str(value, enums.NetworkSigValueNoCarrAggr) self._core.io.write(f'CONFigure:LTE:MEASurement<Instance>:MEValuation:NSValue {param}')