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
[docs] class TxBwidthCls: """TxBwidth commands group definition. 1 total commands, 0 Subgroups, 1 group commands""" 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: """SCPI: CONFigure:NRSub:MEASurement<Instance>:NETWork:CCALl:TXBWidth:SCSPacing \n Snippet: value: enums.SubCarrSpacing = driver.configure.nrSubMeas.network.ccall.txBwidth.get_sc_spacing() \n No command help available \n :return: used_scs: 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: """SCPI: 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 command help available \n :param used_scs: 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}')