Source code for RsSmw.Implementations.Source.Efrontend.Loscillator.InputPy

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


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

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

[docs] def get_frequency(self) -> float: """ ``[SOURce<HW>]:EFRontend:LOSCillator:INPut:FREQuency`` \n Snippet: ``value: float = driver.source.efrontend.loscillator.inputPy.get_frequency()`` \n Requires [:SOURce<hw>]:EFRontend:LOSCillator:MODE EXTernal. Queries the required frequency on the 'LO In' connector of the connected external frontend. :return: lo_in_freq: float """ response = self._core.io.query_str('SOURce<HwInstance>:EFRontend:LOSCillator:INPut:FREQuency?') return Conversions.str_to_float(response)