Source code for RsFsw.Implementations.Applications.K14x_Nr5G.Fetch.All.Summary.Power

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


# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
class PowerCls:
	"""
	| Commands in total: 1
	| Subgroups: 0
	| Direct child commands: 1
	"""

	def __init__(self, core: Core, parent):
		self._core = core
		self._cmd_group = CommandsGroup("power", core, parent)

[docs] def get(self) -> float: """ ``FETCh:ALL:SUMMary:POWer`` \n Snippet: ``value: float = driver.applications.k14Xnr5G.fetch.all.summary.power.get()`` \n Queries the total signal power. method ``RsFsw.applications.k14Xnr5G.fetch.all.summary.power.get()`` queries the average result over all carriers. Prerequisites: \n - Select to evaluate all carriers (method ``RsFsw.applications.k14Xnr5G.sense.nr5G.rsummary.ccResult.set()`` ) . :return: power: Unit: dBm """ response = self._core.io.query_str(f'FETCh:ALL:SUMMary:POWer?') return Conversions.str_to_float(response)