Source code for RsCmwLteMeas.Implementations.Trigger.MultiEval.ListPy

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


# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
[docs] class ListPyCls: """ListPy commands group definition. 2 total commands, 0 Subgroups, 2 group commands""" def __init__(self, core: Core, parent): self._core = core self._cmd_group = CommandsGroup("listPy", core, parent) # noinspection PyTypeChecker
[docs] def get_mode(self) -> enums.ListMode: """SCPI: TRIGger:LTE:MEASurement<Instance>:MEValuation:LIST:MODE \n Snippet: value: enums.ListMode = driver.trigger.multiEval.listPy.get_mode() \n Specifies the trigger mode for list mode measurements. For configuration of retrigger flags, see method RsCmwLteMeas. Configure.MultiEval.ListPy.Segment.Setup.set. For configuration of the global trigger source, see method RsCmwLteMeas. Trigger.MultiEval.source. \n :return: mode: ONCE | SEGMent ONCE A trigger event is only required to start the measurement. The entire range of segments to be measured is captured without additional trigger event. The global trigger source is used. SEGMent The retrigger flag of each segment is evaluated. It defines whether a trigger event is required and which trigger source is used. """ response = self._core.io.query_str('TRIGger:LTE:MEASurement<Instance>:MEValuation:LIST:MODE?') return Conversions.str_to_scalar_enum(response, enums.ListMode)
[docs] def set_mode(self, mode: enums.ListMode) -> None: """SCPI: TRIGger:LTE:MEASurement<Instance>:MEValuation:LIST:MODE \n Snippet: driver.trigger.multiEval.listPy.set_mode(mode = enums.ListMode.ONCE) \n Specifies the trigger mode for list mode measurements. For configuration of retrigger flags, see method RsCmwLteMeas. Configure.MultiEval.ListPy.Segment.Setup.set. For configuration of the global trigger source, see method RsCmwLteMeas. Trigger.MultiEval.source. \n :param mode: ONCE | SEGMent ONCE A trigger event is only required to start the measurement. The entire range of segments to be measured is captured without additional trigger event. The global trigger source is used. SEGMent The retrigger flag of each segment is evaluated. It defines whether a trigger event is required and which trigger source is used. """ param = Conversions.enum_scalar_to_str(mode, enums.ListMode) self._core.io.write(f'TRIGger:LTE:MEASurement<Instance>:MEValuation:LIST:MODE {param}')
# noinspection PyTypeChecker
[docs] def get_nbandwidth(self) -> enums.Nbandwidth: """SCPI: TRIGger:LTE:MEASurement<Instance>:MEValuation:LIST:NBANdwidth \n Snippet: value: enums.Nbandwidth = driver.trigger.multiEval.listPy.get_nbandwidth() \n Selects the trigger evaluation bandwidth for the retrigger source IFPNarrowband. Select the retrigger source via method RsCmwLteMeas.Configure.MultiEval.ListPy.Segment.Setup.set. \n :return: bandwidth: M010 | M020 | M040 | M080 Evaluation bandwidth 10 MHz to 80 MHz """ response = self._core.io.query_str('TRIGger:LTE:MEASurement<Instance>:MEValuation:LIST:NBANdwidth?') return Conversions.str_to_scalar_enum(response, enums.Nbandwidth)
[docs] def set_nbandwidth(self, bandwidth: enums.Nbandwidth) -> None: """SCPI: TRIGger:LTE:MEASurement<Instance>:MEValuation:LIST:NBANdwidth \n Snippet: driver.trigger.multiEval.listPy.set_nbandwidth(bandwidth = enums.Nbandwidth.M010) \n Selects the trigger evaluation bandwidth for the retrigger source IFPNarrowband. Select the retrigger source via method RsCmwLteMeas.Configure.MultiEval.ListPy.Segment.Setup.set. \n :param bandwidth: M010 | M020 | M040 | M080 Evaluation bandwidth 10 MHz to 80 MHz """ param = Conversions.enum_scalar_to_str(bandwidth, enums.Nbandwidth) self._core.io.write(f'TRIGger:LTE:MEASurement<Instance>:MEValuation:LIST:NBANdwidth {param}')