Source code for RsCMPX_LteMeas.Implementations.Configure.LteMeas.CarrierAggregation.Scc.AcSpacing

from ......Internal.Core import Core
from ......Internal.CommandsGroup import CommandsGroup
from ...... import repcap


# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
[docs] class AcSpacingCls: """AcSpacing commands group definition. 1 total commands, 0 Subgroups, 1 group commands""" def __init__(self, core: Core, parent): self._core = core self._cmd_group = CommandsGroup("acSpacing", core, parent)
[docs] def set(self, secondaryCC=repcap.SecondaryCC.Default) -> None: """SCPI: CONFigure:LTE:MEASurement<Instance>:CAGGregation[:SCC<Nr>]:ACSPacing \n Snippet: driver.configure.lteMeas.carrierAggregation.scc.acSpacing.set(secondaryCC = repcap.SecondaryCC.Default) \n Adjusts the component carrier frequencies, so that the carriers are aggregated contiguously. \n :param secondaryCC: optional repeated capability selector. Default value: CC1 (settable in the interface 'Scc') """ secondaryCC_cmd_val = self._cmd_group.get_repcap_cmd_value(secondaryCC, repcap.SecondaryCC) self._core.io.write(f'CONFigure:LTE:MEASurement<Instance>:CAGGregation:SCC{secondaryCC_cmd_val}:ACSPacing')
[docs] def set_with_opc(self, secondaryCC=repcap.SecondaryCC.Default, opc_timeout_ms: int = -1) -> None: secondaryCC_cmd_val = self._cmd_group.get_repcap_cmd_value(secondaryCC, repcap.SecondaryCC) """SCPI: CONFigure:LTE:MEASurement<Instance>:CAGGregation[:SCC<Nr>]:ACSPacing \n Snippet: driver.configure.lteMeas.carrierAggregation.scc.acSpacing.set_with_opc(secondaryCC = repcap.SecondaryCC.Default) \n Adjusts the component carrier frequencies, so that the carriers are aggregated contiguously. \n Same as set, but waits for the operation to complete before continuing further. Use the RsCMPX_LteMeas.utilities.opc_timeout_set() to set the timeout value. \n :param secondaryCC: optional repeated capability selector. Default value: CC1 (settable in the interface 'Scc') :param opc_timeout_ms: Maximum time to wait in milliseconds, valid only for this call.""" self._core.io.write_with_opc(f'CONFigure:LTE:MEASurement<Instance>:CAGGregation:SCC{secondaryCC_cmd_val}:ACSPacing', opc_timeout_ms)