Source code for RsFsw.Implementations.Applications.K18_AmplifierEt.Trace.Iq.Synchronized

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


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

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

[docs] def get(self, inp_mode: enums.BbOrRf) -> str: """ ``TRACe:IQ:SYNChronized`` \n Snippet: ``value: str = driver.applications.k18AmplifierEt.trace.iq.synchronized.get(inp_mode = enums.BbOrRf.BB)`` \n This command queries the (measured) synchronized I/Q data (which corresponds to the green bar in the 'Magnitude Capture' result display) . :param inp_mode: BB Queries the data captured on the optional analog baseband input. RF Queries the data captured on the RF input. :return: result: String containing the synchronized measurement values. """ param = Conversions.enum_scalar_to_str(inp_mode, enums.BbOrRf) response = self._core.io.query_str(f'TRACe:IQ:SYNChronized? {param}') return trim_str_response(response)