Source code for RsFsw.Implementations.Applications.K10x_Lte.Configure.Lte.NoCc

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


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

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

[docs] def set(self, carrier: float) -> None: """ ``CONFigure[:LTE]:NOCC`` \n Snippet: ``driver.applications.k10Xlte.configure.lte.noCc.set(carrier = 1.0)`` \n Selects the number of component carriers analyzed in the measurement. :param carrier: Number of the component carriers that you would like to measure. The range depends on the measurement. For more information see 'Carrier Aggregation'. """ param = Conversions.decimal_value_to_str(carrier) self._core.io.write(f'CONFigure:LTE:NOCC {param}')
[docs] def get(self) -> float: """ ``CONFigure[:LTE]:NOCC`` \n Snippet: ``value: float = driver.applications.k10Xlte.configure.lte.noCc.get()`` \n Selects the number of component carriers analyzed in the measurement. :return: carrier: Number of the component carriers that you would like to measure. The range depends on the measurement. For more information see 'Carrier Aggregation'. """ response = self._core.io.query_str(f'CONFigure:LTE:NOCC?') return Conversions.str_to_float(response)