Source code for RsCMPX_NrFr1Meas.Implementations.Configure.NrSubMeas.Network.Ccall.TxBwidth

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


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

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

	# noinspection PyTypeChecker
[docs] def get_sc_spacing(self) -> enums.SubCarrSpacing: """ ``CONFigure:NRSub:MEASurement<Instance>:NETWork:CCALl:TXBWidth:SCSPacing`` \n Snippet: ``value: enums.SubCarrSpacing = driver.configure.nrSubMeas.network.ccall.txBwidth.get_sc_spacing()`` \n No help available """ response = self._core.io.query_str('CONFigure:NRSub:MEASurement<Instance>:NETWork:CCALl:TXBWidth:SCSPacing?') return Conversions.str_to_scalar_enum(response, enums.SubCarrSpacing)
[docs] def set_sc_spacing(self, used_scs: enums.SubCarrSpacing) -> None: """ ``CONFigure:NRSub:MEASurement<Instance>:NETWork:CCALl:TXBWidth:SCSPacing`` \n Snippet: ``driver.configure.nrSubMeas.network.ccall.txBwidth.set_sc_spacing(used_scs = enums.SubCarrSpacing.S15K)`` \n No help available """ param = Conversions.enum_scalar_to_str(used_scs, enums.SubCarrSpacing) self._core.io.write(f'CONFigure:NRSub:MEASurement<Instance>:NETWork:CCALl:TXBWidth:SCSPacing {param}')