from .....Internal.Core import Core
from .....Internal.CommandsGroup import CommandsGroup
from .....Internal import Conversions
from .....Internal.StructBase import StructBase
from .....Internal.ArgStruct import ArgStruct
from ..... import enums
# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
class MultiEvalCls:
"""
| Commands in total: 152
| Subgroups: 16
| Direct child commands: 23
"""
def __init__(self, core: Core, parent):
self._core = core
self._cmd_group = CommandsGroup("multiEval", core, parent)
@property
def bwConfig(self):
"""
| Commands in total: 1
| Subgroups: 0
| Direct child commands: 1
"""
if not hasattr(self, '_bwConfig'):
from .BwConfig import BwConfigCls
self._bwConfig = BwConfigCls(self._core, self._cmd_group)
return self._bwConfig
@property
def pcomp(self):
"""
| Commands in total: 1
| Subgroups: 0
| Direct child commands: 1
"""
if not hasattr(self, '_pcomp'):
from .Pcomp import PcompCls
self._pcomp = PcompCls(self._core, self._cmd_group)
return self._pcomp
@property
def msubFrames(self):
"""
| Commands in total: 1
| Subgroups: 0
| Direct child commands: 1
"""
if not hasattr(self, '_msubFrames'):
from .MsubFrames import MsubFramesCls
self._msubFrames = MsubFramesCls(self._core, self._cmd_group)
return self._msubFrames
@property
def mslot(self):
"""
| Commands in total: 1
| Subgroups: 0
| Direct child commands: 1
"""
if not hasattr(self, '_mslot'):
from .Mslot import MslotCls
self._mslot = MslotCls(self._core, self._cmd_group)
return self._mslot
@property
def spectrum(self):
"""
| Commands in total: 3
| Subgroups: 2
| Direct child commands: 0
"""
if not hasattr(self, '_spectrum'):
from .Spectrum import SpectrumCls
self._spectrum = SpectrumCls(self._core, self._cmd_group)
return self._spectrum
@property
def modulation(self):
"""
| Commands in total: 10
| Subgroups: 3
| Direct child commands: 3
"""
if not hasattr(self, '_modulation'):
from .Modulation import ModulationCls
self._modulation = ModulationCls(self._core, self._cmd_group)
return self._modulation
@property
def rbAllocation(self):
"""
| Commands in total: 3
| Subgroups: 0
| Direct child commands: 3
"""
if not hasattr(self, '_rbAllocation'):
from .RbAllocation import RbAllocationCls
self._rbAllocation = RbAllocationCls(self._core, self._cmd_group)
return self._rbAllocation
@property
def allocation(self):
"""
| Commands in total: 2
| Subgroups: 0
| Direct child commands: 2
"""
if not hasattr(self, '_allocation'):
from .Allocation import AllocationCls
self._allocation = AllocationCls(self._core, self._cmd_group)
return self._allocation
@property
def dmrs(self):
"""
| Commands in total: 5
| Subgroups: 1
| Direct child commands: 4
"""
if not hasattr(self, '_dmrs'):
from .Dmrs import DmrsCls
self._dmrs = DmrsCls(self._core, self._cmd_group)
return self._dmrs
@property
def endc(self):
"""
| Commands in total: 2
| Subgroups: 1
| Direct child commands: 1
"""
if not hasattr(self, '_endc'):
from .Endc import EndcCls
self._endc = EndcCls(self._core, self._cmd_group)
return self._endc
@property
def pdynamics(self):
"""
| Commands in total: 4
| Subgroups: 1
| Direct child commands: 2
"""
if not hasattr(self, '_pdynamics'):
from .Pdynamics import PdynamicsCls
self._pdynamics = PdynamicsCls(self._core, self._cmd_group)
return self._pdynamics
@property
def scount(self):
"""
| Commands in total: 6
| Subgroups: 1
| Direct child commands: 4
"""
if not hasattr(self, '_scount'):
from .Scount import ScountCls
self._scount = ScountCls(self._core, self._cmd_group)
return self._scount
@property
def result(self):
"""
| Commands in total: 16
| Subgroups: 1
| Direct child commands: 14
"""
if not hasattr(self, '_result'):
from .Result import ResultCls
self._result = ResultCls(self._core, self._cmd_group)
return self._result
@property
def limit(self):
"""
| Commands in total: 55
| Subgroups: 7
| Direct child commands: 0
"""
if not hasattr(self, '_limit'):
from .Limit import LimitCls
self._limit = LimitCls(self._core, self._cmd_group)
return self._limit
@property
def listPy(self):
"""
| Commands in total: 18
| Subgroups: 3
| Direct child commands: 5
"""
if not hasattr(self, '_listPy'):
from .ListPy import ListPyCls
self._listPy = ListPyCls(self._core, self._cmd_group)
return self._listPy
@property
def trace(self):
"""
| Commands in total: 1
| Subgroups: 1
| Direct child commands: 0
"""
if not hasattr(self, '_trace'):
from .Trace import TraceCls
self._trace = TraceCls(self._core, self._cmd_group)
return self._trace
# noinspection PyTypeChecker
[docs]
def get_timeout(self) -> float:
"""
``CONFigure:NRSub:MEASurement<Instance>:MEValuation:TOUT`` \n
Snippet: ``value: float = driver.configure.nrSubMeas.multiEval.get_timeout()`` \n
Defines a timeout for the measurement. The timer is started when the measurement is initiated via a READ or INIT command.
It is not started if the measurement is initiated manually. When the measurement has completed the first measurement
cycle (first single shot) , the statistical depth is reached and the timer is reset. If the first measurement cycle has
not been completed when the timer expires, the measurement is stopped. The measurement state changes to RDY.
The reliability indicator is set to 1, indicating that a measurement timeout occurred. Still running READ, FETCh or
CALCulate commands are completed, returning the available results. At least for some results, there are no values at all
or the statistical depth has not been reached. A timeout of 0 s corresponds to an infinite measurement timeout.
:return: timeout: numeric
"""
response = self._core.io.query_str('CONFigure:NRSub:MEASurement<Instance>:MEValuation:TOUT?')
return Conversions.str_to_float(response)
[docs]
def set_timeout(self, timeout: float) -> None:
"""
``CONFigure:NRSub:MEASurement<Instance>:MEValuation:TOUT`` \n
Snippet: ``driver.configure.nrSubMeas.multiEval.set_timeout(timeout = 1.0)`` \n
Defines a timeout for the measurement. The timer is started when the measurement is initiated via a READ or INIT command.
It is not started if the measurement is initiated manually. When the measurement has completed the first measurement
cycle (first single shot) , the statistical depth is reached and the timer is reset. If the first measurement cycle has
not been completed when the timer expires, the measurement is stopped. The measurement state changes to RDY.
The reliability indicator is set to 1, indicating that a measurement timeout occurred. Still running READ, FETCh or
CALCulate commands are completed, returning the available results. At least for some results, there are no values at all
or the statistical depth has not been reached. A timeout of 0 s corresponds to an infinite measurement timeout.
:param timeout: numeric
"""
param = Conversions.decimal_value_to_str(timeout)
self._core.io.write(f'CONFigure:NRSub:MEASurement<Instance>:MEValuation:TOUT {param}')
# noinspection PyTypeChecker
[docs]
def get_dmode(self) -> enums.DuplexModeB:
"""
``CONFigure:NRSub:MEASurement<Instance>:MEValuation:DMODe`` \n
Snippet: ``value: enums.DuplexModeB = driver.configure.nrSubMeas.multiEval.get_dmode()`` \n
Selects the duplex mode of the signal: FDD or TDD.
:return: mode: FDD | TDD
"""
response = self._core.io.query_str_with_opc('CONFigure:NRSub:MEASurement<Instance>:MEValuation:DMODe?')
return Conversions.str_to_scalar_enum(response, enums.DuplexModeB)
[docs]
def set_dmode(self, mode: enums.DuplexModeB) -> None:
"""
``CONFigure:NRSub:MEASurement<Instance>:MEValuation:DMODe`` \n
Snippet: ``driver.configure.nrSubMeas.multiEval.set_dmode(mode = enums.DuplexModeB.FDD)`` \n
Selects the duplex mode of the signal: FDD or TDD.
:param mode: FDD | TDD
"""
param = Conversions.enum_scalar_to_str(mode, enums.DuplexModeB)
self._core.io.write_with_opc(f'CONFigure:NRSub:MEASurement<Instance>:MEValuation:DMODe {param}')
# noinspection PyTypeChecker
[docs]
def get_sc_spacing(self) -> enums.SubCarrSpacing:
"""
``CONFigure:NRSub:MEASurement<Instance>:MEValuation:SCSPacing`` \n
Snippet: ``value: enums.SubCarrSpacing = driver.configure.nrSubMeas.multiEval.get_sc_spacing()`` \n
No help available
"""
response = self._core.io.query_str('CONFigure:NRSub:MEASurement<Instance>:MEValuation:SCSPacing?')
return Conversions.str_to_scalar_enum(response, enums.SubCarrSpacing)
[docs]
def set_sc_spacing(self, sub_carr_spacing: enums.SubCarrSpacing) -> None:
"""
``CONFigure:NRSub:MEASurement<Instance>:MEValuation:SCSPacing`` \n
Snippet: ``driver.configure.nrSubMeas.multiEval.set_sc_spacing(sub_carr_spacing = enums.SubCarrSpacing.S15K)`` \n
No help available
"""
param = Conversions.enum_scalar_to_str(sub_carr_spacing, enums.SubCarrSpacing)
self._core.io.write(f'CONFigure:NRSub:MEASurement<Instance>:MEValuation:SCSPacing {param}')
# noinspection PyTypeChecker
[docs]
def get_cbandwidth(self) -> enums.ChannelBwidth:
"""
``CONFigure:NRSub:MEASurement<Instance>:MEValuation:CBANdwidth`` \n
Snippet: ``value: enums.ChannelBwidth = driver.configure.nrSubMeas.multiEval.get_cbandwidth()`` \n
No help available
"""
response = self._core.io.query_str('CONFigure:NRSub:MEASurement<Instance>:MEValuation:CBANdwidth?')
return Conversions.str_to_scalar_enum(response, enums.ChannelBwidth)
[docs]
def set_cbandwidth(self, channel_bw: enums.ChannelBwidth) -> None:
"""
``CONFigure:NRSub:MEASurement<Instance>:MEValuation:CBANdwidth`` \n
Snippet: ``driver.configure.nrSubMeas.multiEval.set_cbandwidth(channel_bw = enums.ChannelBwidth.B003)`` \n
No help available
"""
param = Conversions.enum_scalar_to_str(channel_bw, enums.ChannelBwidth)
self._core.io.write(f'CONFigure:NRSub:MEASurement<Instance>:MEValuation:CBANdwidth {param}')
[docs]
def get_dft_precoding(self) -> bool:
"""
``CONFigure:NRSub:MEASurement<Instance>:MEValuation:DFTPrecoding`` \n
Snippet: ``value: bool = driver.configure.nrSubMeas.multiEval.get_dft_precoding()`` \n
No help available
"""
response = self._core.io.query_str('CONFigure:NRSub:MEASurement<Instance>:MEValuation:DFTPrecoding?')
return Conversions.str_to_bool(response)
[docs]
def set_dft_precoding(self, on_off: bool) -> None:
"""
``CONFigure:NRSub:MEASurement<Instance>:MEValuation:DFTPrecoding`` \n
Snippet: ``driver.configure.nrSubMeas.multiEval.set_dft_precoding(on_off = False)`` \n
No help available
"""
param = Conversions.bool_to_str(on_off)
self._core.io.write(f'CONFigure:NRSub:MEASurement<Instance>:MEValuation:DFTPrecoding {param}')
# noinspection PyTypeChecker
[docs]
def get_mscheme(self) -> enums.ModulationScheme:
"""
``CONFigure:NRSub:MEASurement<Instance>:MEValuation:MSCHeme`` \n
Snippet: ``value: enums.ModulationScheme = driver.configure.nrSubMeas.multiEval.get_mscheme()`` \n
No help available
"""
response = self._core.io.query_str('CONFigure:NRSub:MEASurement<Instance>:MEValuation:MSCHeme?')
return Conversions.str_to_scalar_enum(response, enums.ModulationScheme)
[docs]
def set_mscheme(self, mod_scheme: enums.ModulationScheme) -> None:
"""
``CONFigure:NRSub:MEASurement<Instance>:MEValuation:MSCHeme`` \n
Snippet: ``driver.configure.nrSubMeas.multiEval.set_mscheme(mod_scheme = enums.ModulationScheme.AUTO)`` \n
No help available
"""
param = Conversions.enum_scalar_to_str(mod_scheme, enums.ModulationScheme)
self._core.io.write(f'CONFigure:NRSub:MEASurement<Instance>:MEValuation:MSCHeme {param}')
# noinspection PyTypeChecker
[docs]
def get_cprefix(self) -> enums.CyclicPrefix:
"""
``CONFigure:NRSub:MEASurement<Instance>:MEValuation:CPRefix`` \n
Snippet: ``value: enums.CyclicPrefix = driver.configure.nrSubMeas.multiEval.get_cprefix()`` \n
No help available
"""
response = self._core.io.query_str('CONFigure:NRSub:MEASurement<Instance>:MEValuation:CPRefix?')
return Conversions.str_to_scalar_enum(response, enums.CyclicPrefix)
[docs]
def set_cprefix(self, cyclic_prefix: enums.CyclicPrefix) -> None:
"""
``CONFigure:NRSub:MEASurement<Instance>:MEValuation:CPRefix`` \n
Snippet: ``driver.configure.nrSubMeas.multiEval.set_cprefix(cyclic_prefix = enums.CyclicPrefix.EXTended)`` \n
No help available
"""
param = Conversions.enum_scalar_to_str(cyclic_prefix, enums.CyclicPrefix)
self._core.io.write(f'CONFigure:NRSub:MEASurement<Instance>:MEValuation:CPRefix {param}')
# noinspection PyTypeChecker
[docs]
def get_ns_value(self) -> enums.NetworkSigVal:
"""
``CONFigure:NRSub:MEASurement<Instance>:MEValuation:NSValue`` \n
Snippet: ``value: enums.NetworkSigVal = driver.configure.nrSubMeas.multiEval.get_ns_value()`` \n
Selects the 'network signaled value'.
:return: value: Value NS_01 to NS_100, NS_03U, NS_05U, NS_43U
"""
response = self._core.io.query_str('CONFigure:NRSub:MEASurement<Instance>:MEValuation:NSValue?')
return Conversions.str_to_scalar_enum(response, enums.NetworkSigVal)
[docs]
def set_ns_value(self, value: enums.NetworkSigVal) -> None:
"""
``CONFigure:NRSub:MEASurement<Instance>:MEValuation:NSValue`` \n
Snippet: ``driver.configure.nrSubMeas.multiEval.set_ns_value(value = enums.NetworkSigVal.NS01)`` \n
Selects the 'network signaled value'.
:param value: Value NS_01 to NS_100, NS_03U, NS_05U, NS_43U
"""
param = Conversions.enum_scalar_to_str(value, enums.NetworkSigVal)
self._core.io.write(f'CONFigure:NRSub:MEASurement<Instance>:MEValuation:NSValue {param}')
[docs]
def get_plc_id(self) -> int:
"""
``CONFigure:NRSub:MEASurement<Instance>:MEValuation:PLCid`` \n
Snippet: ``value: int = driver.configure.nrSubMeas.multiEval.get_plc_id()`` \n
No help available
"""
response = self._core.io.query_str('CONFigure:NRSub:MEASurement<Instance>:MEValuation:PLCid?')
return Conversions.str_to_int(response)
[docs]
def set_plc_id(self, phs_layer_cell_id: int) -> None:
"""
``CONFigure:NRSub:MEASurement<Instance>:MEValuation:PLCid`` \n
Snippet: ``driver.configure.nrSubMeas.multiEval.set_plc_id(phs_layer_cell_id = 1)`` \n
No help available
"""
param = Conversions.decimal_value_to_str(phs_layer_cell_id)
self._core.io.write(f'CONFigure:NRSub:MEASurement<Instance>:MEValuation:PLCid {param}')
# noinspection PyTypeChecker
[docs]
def get_ctype(self) -> enums.ChannelTypeA:
"""
``CONFigure:NRSub:MEASurement<Instance>:MEValuation:CTYPe`` \n
Snippet: ``value: enums.ChannelTypeA = driver.configure.nrSubMeas.multiEval.get_ctype()`` \n
No help available
"""
response = self._core.io.query_str('CONFigure:NRSub:MEASurement<Instance>:MEValuation:CTYPe?')
return Conversions.str_to_scalar_enum(response, enums.ChannelTypeA)
[docs]
def set_ctype(self, channel_type: enums.ChannelTypeA) -> None:
"""
``CONFigure:NRSub:MEASurement<Instance>:MEValuation:CTYPe`` \n
Snippet: ``driver.configure.nrSubMeas.multiEval.set_ctype(channel_type = enums.ChannelTypeA.PUCCh)`` \n
No help available
"""
param = Conversions.enum_scalar_to_str(channel_type, enums.ChannelTypeA)
self._core.io.write(f'CONFigure:NRSub:MEASurement<Instance>:MEValuation:CTYPe {param}')
# noinspection PyTypeChecker
[docs]
class PuschConfigStruct(StructBase):
"""
Structure for setting input parameters. Fields: \n
- Mod_Scheme: enums.ModulationScheme: No parameter help available
- Mapping_Type: enums.MappingType: No parameter help available
- Nrb_Auto: bool: No parameter help available
- No_Rb: int: No parameter help available
- Start_Rb: int: No parameter help available
- No_Symbols: int: No parameter help available
- Start_Symbol: int: No parameter help available
- Config_Type: enums.ConfigType: No parameter help available
- Max_Length: enums.MaxLength: No parameter help available
- Add_Position: int: No parameter help available
- Lzero: int: No parameter help available
"""
__meta_args_list = [
ArgStruct.scalar_enum('Mod_Scheme', enums.ModulationScheme),
ArgStruct.scalar_enum('Mapping_Type', enums.MappingType),
ArgStruct.scalar_bool('Nrb_Auto'),
ArgStruct.scalar_int('No_Rb'),
ArgStruct.scalar_int('Start_Rb'),
ArgStruct.scalar_int('No_Symbols'),
ArgStruct.scalar_int('Start_Symbol'),
ArgStruct.scalar_enum('Config_Type', enums.ConfigType),
ArgStruct.scalar_enum('Max_Length', enums.MaxLength),
ArgStruct.scalar_int('Add_Position'),
ArgStruct.scalar_int('Lzero')]
def __init__(self):
StructBase.__init__(self, self)
self.Mod_Scheme: enums.ModulationScheme=None
self.Mapping_Type: enums.MappingType=None
self.Nrb_Auto: bool=None
self.No_Rb: int=None
self.Start_Rb: int=None
self.No_Symbols: int=None
self.Start_Symbol: int=None
self.Config_Type: enums.ConfigType=None
self.Max_Length: enums.MaxLength=None
self.Add_Position: int=None
self.Lzero: int=None
[docs]
def get_pusch_config(self) -> PuschConfigStruct:
"""
``CONFigure:NRSub:MEASurement<Instance>:MEValuation:PUSChconfig`` \n
Snippet: ``value: PuschConfigStruct = driver.configure.nrSubMeas.multiEval.get_pusch_config()`` \n
No help available
:return: structure: for return value, see the help for PuschConfigStruct structure arguments.
"""
return self._core.io.query_struct('CONFigure:NRSub:MEASurement<Instance>:MEValuation:PUSChconfig?', self.__class__.PuschConfigStruct())
[docs]
def set_pusch_config(self, value: PuschConfigStruct) -> None:
"""
``CONFigure:NRSub:MEASurement<Instance>:MEValuation:PUSChconfig`` \n
Snippet with structure: \n
structure = driver.configure.nrSubMeas.multiEval.PuschConfigStruct() \n
structure.Mod_Scheme: enums.ModulationScheme = enums.ModulationScheme.AUTO \n
structure.Mapping_Type: enums.MappingType = enums.MappingType.A \n
structure.Nrb_Auto: bool = False \n
structure.No_Rb: int = 1 \n
structure.Start_Rb: int = 1 \n
structure.No_Symbols: int = 1 \n
structure.Start_Symbol: int = 1 \n
structure.Config_Type: enums.ConfigType = enums.ConfigType.T1 \n
structure.Max_Length: enums.MaxLength = enums.MaxLength.DOUBle \n
structure.Add_Position: int = 1 \n
structure.Lzero: int = 1 \n
driver.configure.nrSubMeas.multiEval.set_pusch_config(value = structure) \n
No help available
:param value: see the help for PuschConfigStruct structure arguments.
"""
self._core.io.write_struct('CONFigure:NRSub:MEASurement<Instance>:MEValuation:PUSChconfig', value)
# noinspection PyTypeChecker
[docs]
def get_map_type(self) -> enums.MappingType:
"""
``CONFigure:NRSub:MEASurement<Instance>:MEValuation:MAPType`` \n
Snippet: ``value: enums.MappingType = driver.configure.nrSubMeas.multiEval.get_map_type()`` \n
No help available
"""
response = self._core.io.query_str('CONFigure:NRSub:MEASurement<Instance>:MEValuation:MAPType?')
return Conversions.str_to_scalar_enum(response, enums.MappingType)
[docs]
def set_map_type(self, mapping_type: enums.MappingType) -> None:
"""
``CONFigure:NRSub:MEASurement<Instance>:MEValuation:MAPType`` \n
Snippet: ``driver.configure.nrSubMeas.multiEval.set_map_type(mapping_type = enums.MappingType.A)`` \n
No help available
"""
param = Conversions.enum_scalar_to_str(mapping_type, enums.MappingType)
self._core.io.write(f'CONFigure:NRSub:MEASurement<Instance>:MEValuation:MAPType {param}')
# noinspection PyTypeChecker
[docs]
def get_repetition(self) -> enums.Repeat:
"""
``CONFigure:NRSub:MEASurement<Instance>:MEValuation:REPetition`` \n
Snippet: ``value: enums.Repeat = driver.configure.nrSubMeas.multiEval.get_repetition()`` \n
Specifies the repetition mode of the measurement. The repetition mode specifies whether the measurement is stopped after
a single shot or repeated continuously. Use the CONFigure:...:MEAS<i>:...:SCOunt commands to specify the number of
measurement intervals per single shot.
:return: repetition: SINGleshot: Single-shot measurement CONTinuous: Continuous measurement
"""
response = self._core.io.query_str('CONFigure:NRSub:MEASurement<Instance>:MEValuation:REPetition?')
return Conversions.str_to_scalar_enum(response, enums.Repeat)
[docs]
def set_repetition(self, repetition: enums.Repeat) -> None:
"""
``CONFigure:NRSub:MEASurement<Instance>:MEValuation:REPetition`` \n
Snippet: ``driver.configure.nrSubMeas.multiEval.set_repetition(repetition = enums.Repeat.CONTinuous)`` \n
Specifies the repetition mode of the measurement. The repetition mode specifies whether the measurement is stopped after
a single shot or repeated continuously. Use the CONFigure:...:MEAS<i>:...:SCOunt commands to specify the number of
measurement intervals per single shot.
:param repetition: SINGleshot: Single-shot measurement CONTinuous: Continuous measurement
"""
param = Conversions.enum_scalar_to_str(repetition, enums.Repeat)
self._core.io.write(f'CONFigure:NRSub:MEASurement<Instance>:MEValuation:REPetition {param}')
# noinspection PyTypeChecker
[docs]
def get_scondition(self) -> enums.StopCondition:
"""
``CONFigure:NRSub:MEASurement<Instance>:MEValuation:SCONdition`` \n
Snippet: ``value: enums.StopCondition = driver.configure.nrSubMeas.multiEval.get_scondition()`` \n
Qualifies whether the measurement is stopped after a failed limit check or continued. With SLFail, the measurement is
stopped and reaches the RDY state when one of the results exceeds the limits.
:return: stop_condition: NONE: Continue measurement irrespective of the limit check. SLFail: Stop measurement on limit failure.
"""
response = self._core.io.query_str('CONFigure:NRSub:MEASurement<Instance>:MEValuation:SCONdition?')
return Conversions.str_to_scalar_enum(response, enums.StopCondition)
[docs]
def set_scondition(self, stop_condition: enums.StopCondition) -> None:
"""
``CONFigure:NRSub:MEASurement<Instance>:MEValuation:SCONdition`` \n
Snippet: ``driver.configure.nrSubMeas.multiEval.set_scondition(stop_condition = enums.StopCondition.NONE)`` \n
Qualifies whether the measurement is stopped after a failed limit check or continued. With SLFail, the measurement is
stopped and reaches the RDY state when one of the results exceeds the limits.
:param stop_condition: NONE: Continue measurement irrespective of the limit check. SLFail: Stop measurement on limit failure.
"""
param = Conversions.enum_scalar_to_str(stop_condition, enums.StopCondition)
self._core.io.write(f'CONFigure:NRSub:MEASurement<Instance>:MEValuation:SCONdition {param}')
# noinspection PyTypeChecker
[docs]
def get_mmode(self) -> enums.MeasurementMode:
"""
``CONFigure:NRSub:MEASurement<Instance>:MEValuation:MMODe`` \n
Snippet: ``value: enums.MeasurementMode = driver.configure.nrSubMeas.multiEval.get_mmode()`` \n
Selects the measurement mode.
:return: measurement_mode: NORMal: normal mode MELMode: multi-evaluation list mode For a setting command, only NORMal is allowed (disables the list mode) . A query can also return MELM.
"""
response = self._core.io.query_str('CONFigure:NRSub:MEASurement<Instance>:MEValuation:MMODe?')
return Conversions.str_to_scalar_enum(response, enums.MeasurementMode)
[docs]
def set_mmode(self, measurement_mode: enums.MeasurementMode) -> None:
"""
``CONFigure:NRSub:MEASurement<Instance>:MEValuation:MMODe`` \n
Snippet: ``driver.configure.nrSubMeas.multiEval.set_mmode(measurement_mode = enums.MeasurementMode.MELMode)`` \n
Selects the measurement mode.
:param measurement_mode: NORMal: normal mode MELMode: multi-evaluation list mode For a setting command, only NORMal is allowed (disables the list mode) . A query can also return MELM.
"""
param = Conversions.enum_scalar_to_str(measurement_mode, enums.MeasurementMode)
self._core.io.write(f'CONFigure:NRSub:MEASurement<Instance>:MEValuation:MMODe {param}')
[docs]
def get_mo_exception(self) -> bool:
"""
``CONFigure:NRSub:MEASurement<Instance>:MEValuation:MOEXception`` \n
Snippet: ``value: bool = driver.configure.nrSubMeas.multiEval.get_mo_exception()`` \n
Specifies whether measurement results identified as faulty or inaccurate are rejected.
:return: meas_on_exception: OFF: Faulty results are rejected. ON: Results are never rejected.
"""
response = self._core.io.query_str('CONFigure:NRSub:MEASurement<Instance>:MEValuation:MOEXception?')
return Conversions.str_to_bool(response)
[docs]
def set_mo_exception(self, meas_on_exception: bool) -> None:
"""
``CONFigure:NRSub:MEASurement<Instance>:MEValuation:MOEXception`` \n
Snippet: ``driver.configure.nrSubMeas.multiEval.set_mo_exception(meas_on_exception = False)`` \n
Specifies whether measurement results identified as faulty or inaccurate are rejected.
:param meas_on_exception: OFF: Faulty results are rejected. ON: Results are never rejected.
"""
param = Conversions.bool_to_str(meas_on_exception)
self._core.io.write(f'CONFigure:NRSub:MEASurement<Instance>:MEValuation:MOEXception {param}')
[docs]
def get_nvfilter(self) -> int | bool:
"""
``CONFigure:NRSub:MEASurement<Instance>:MEValuation:NVFilter`` \n
Snippet: ``value: int | bool = driver.configure.nrSubMeas.multiEval.get_nvfilter()`` \n
Specifies, enables or disables the number of resource blocks (NRB) view filter. If the filter is active, only slots with
a matching number of allocated resource blocks are measured.
:return: nrb_view_filter: (integer or boolean) Number of allocated resource blocks The allowed values depend on the SC spacing and on the channel bandwidth, see 'Resource elements, grids and blocks'.
"""
response = self._core.io.query_str('CONFigure:NRSub:MEASurement<Instance>:MEValuation:NVFilter?')
return Conversions.str_to_int_or_bool(response)
[docs]
def set_nvfilter(self, nrb_view_filter: int | bool) -> None:
"""
``CONFigure:NRSub:MEASurement<Instance>:MEValuation:NVFilter`` \n
Snippet: ``driver.configure.nrSubMeas.multiEval.set_nvfilter(nrb_view_filter = 1)`` \n
Specifies, enables or disables the number of resource blocks (NRB) view filter. If the filter is active, only slots with
a matching number of allocated resource blocks are measured.
:param nrb_view_filter: (integer or boolean) Number of allocated resource blocks The allowed values depend on the SC spacing and on the channel bandwidth, see 'Resource elements, grids and blocks'.
"""
param = Conversions.decimal_or_bool_value_to_str(nrb_view_filter)
self._core.io.write(f'CONFigure:NRSub:MEASurement<Instance>:MEValuation:NVFilter {param}')
# noinspection PyTypeChecker
[docs]
def get_ctv_filter(self) -> enums.ChannelTypeB:
"""
``CONFigure:NRSub:MEASurement<Instance>:MEValuation:CTVFilter`` \n
Snippet: ``value: enums.ChannelTypeB = driver.configure.nrSubMeas.multiEval.get_ctv_filter()`` \n
No help available
"""
response = self._core.io.query_str('CONFigure:NRSub:MEASurement<Instance>:MEValuation:CTVFilter?')
return Conversions.str_to_scalar_enum(response, enums.ChannelTypeB)
[docs]
def set_ctv_filter(self, channel_type: enums.ChannelTypeB) -> None:
"""
``CONFigure:NRSub:MEASurement<Instance>:MEValuation:CTVFilter`` \n
Snippet: ``driver.configure.nrSubMeas.multiEval.set_ctv_filter(channel_type = enums.ChannelTypeB.OFF)`` \n
No help available
"""
param = Conversions.enum_scalar_to_str(channel_type, enums.ChannelTypeB)
self._core.io.write(f'CONFigure:NRSub:MEASurement<Instance>:MEValuation:CTVFilter {param}')
[docs]
def get_nsub_frames(self) -> int:
"""
``CONFigure:NRSub:MEASurement<Instance>:MEValuation:NSUBframes`` \n
Snippet: ``value: int = driver.configure.nrSubMeas.multiEval.get_nsub_frames()`` \n
Specifies the number of subframes to be evaluated.
:return: no_subframe: decimal
"""
response = self._core.io.query_str('CONFigure:NRSub:MEASurement<Instance>:MEValuation:NSUBframes?')
return Conversions.str_to_int(response)
[docs]
def set_nsub_frames(self, no_subframe: int) -> None:
"""
``CONFigure:NRSub:MEASurement<Instance>:MEValuation:NSUBframes`` \n
Snippet: ``driver.configure.nrSubMeas.multiEval.set_nsub_frames(no_subframe = 1)`` \n
Specifies the number of subframes to be evaluated.
:param no_subframe: decimal
"""
param = Conversions.decimal_value_to_str(no_subframe)
self._core.io.write(f'CONFigure:NRSub:MEASurement<Instance>:MEValuation:NSUBframes {param}')
# noinspection PyTypeChecker
[docs]
def get_fstructure(self) -> enums.ConfigType:
"""
``CONFigure:NRSub:MEASurement<Instance>:MEValuation:FSTRucture`` \n
Snippet: ``value: enums.ConfigType = driver.configure.nrSubMeas.multiEval.get_fstructure()`` \n
No help available
"""
response = self._core.io.query_str('CONFigure:NRSub:MEASurement<Instance>:MEValuation:FSTRucture?')
return Conversions.str_to_scalar_enum(response, enums.ConfigType)
[docs]
def get_dss_pusch(self) -> int:
"""
``CONFigure:NRSub:MEASurement<Instance>:MEValuation:DSSPusch`` \n
Snippet: ``value: int = driver.configure.nrSubMeas.multiEval.get_dss_pusch()`` \n
No help available
"""
response = self._core.io.query_str('CONFigure:NRSub:MEASurement<Instance>:MEValuation:DSSPusch?')
return Conversions.str_to_int(response)
[docs]
def set_dss_pusch(self, delta_seq_sh_pusch: int) -> None:
"""
``CONFigure:NRSub:MEASurement<Instance>:MEValuation:DSSPusch`` \n
Snippet: ``driver.configure.nrSubMeas.multiEval.set_dss_pusch(delta_seq_sh_pusch = 1)`` \n
No help available
"""
param = Conversions.decimal_value_to_str(delta_seq_sh_pusch)
self._core.io.write(f'CONFigure:NRSub:MEASurement<Instance>:MEValuation:DSSPusch {param}')
[docs]
def get_ghopping(self) -> bool:
"""
``CONFigure:NRSub:MEASurement<Instance>:MEValuation:GHOPping`` \n
Snippet: ``value: bool = driver.configure.nrSubMeas.multiEval.get_ghopping()`` \n
No help available
"""
response = self._core.io.query_str('CONFigure:NRSub:MEASurement<Instance>:MEValuation:GHOPping?')
return Conversions.str_to_bool(response)
[docs]
def set_ghopping(self, value: bool) -> None:
"""
``CONFigure:NRSub:MEASurement<Instance>:MEValuation:GHOPping`` \n
Snippet: ``driver.configure.nrSubMeas.multiEval.set_ghopping(value = False)`` \n
No help available
"""
param = Conversions.bool_to_str(value)
self._core.io.write(f'CONFigure:NRSub:MEASurement<Instance>:MEValuation:GHOPping {param}')
def clone(self) -> 'MultiEvalCls':
"""
Clones the group by creating new object from it and its whole existing subgroups.
Also copies all the existing default Repeated Capabilities setting,
which you can change independently without affecting the original group.
"""
new_group = MultiEvalCls(self._core, self._cmd_group.parent)
self._cmd_group.synchronize_repcaps(new_group)
return new_group