Source code for RsSmw.Implementations.Source.Frequency.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>]:FREQuency:LOSCillator:INPut:FREQuency`` \n
Snippet: ``value: float = driver.source.frequency.loscillator.inputPy.get_frequency()`` \n
Queries the required external reference frequency.
:return: frequency: float Range: 100E3 to 20E9
"""
response = self._core.io.query_str('SOURce<HwInstance>:FREQuency:LOSCillator:INPut:FREQuency?')
return Conversions.str_to_float(response)