from ........Internal.Core import Core
from ........Internal.CommandsGroup import CommandsGroup
from ........Internal import Conversions
# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
[docs]class PsignalCls:
"""Psignal commands group definition. 1 total commands, 0 Subgroups, 1 group commands"""
def __init__(self, core: Core, parent):
self._core = core
self._cmd_group = CommandsGroup("psignal", core, parent)
[docs] def get(self) -> float:
"""SCPI: FETCh:ALL:SUMMary:EVM:PSIGnal \n
Snippet: value: float = driver.applications.k14Xnr5G.fetch.all.summary.evm.psignal.get() \n
Queries the EVM of the physical signal.
INTRO_CMD_HELP: method RsFsw.Applications.K14x_Nr5G.Fetch.All.Summary.Evm.Psignal.get_ queries the average result over all carriers. Prerequisites: \n
- Select to evaluate all carriers ([SENSe:]NR5G:RSUMmary:CCResult) . \n
:return: result: ALL Available for combined measurements. Queries the EVM of all events (meas IDs) . Omitting this parameter queries the EVM of the selected event."""
response = self._core.io.query_str(f'FETCh:ALL:SUMMary:EVM:PSIGnal?')
return Conversions.str_to_float(response)