from .......Internal.Core import Core
from .......Internal.CommandsGroup import CommandsGroup
from .......Internal import Conversions
# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
class IdnCls:
"""
| Commands in total: 1
| Subgroups: 0
| Direct child commands: 1
"""
def __init__(self, core: Core, parent):
self._core = core
self._cmd_group = CommandsGroup("idn", core, parent)
[docs]
def get(self) -> float:
"""
``INPut:IQ:OSC:IDN`` \n
Snippet: ``value: float = driver.applications.k149Uwb.inputPy.iq.osc.idn.get()`` \n
Returns the identification string of the oscilloscope connected to the FSW.
:return: idn: string
"""
response = self._core.io.query_str(f'INPut:IQ:OSC:IDN?')
return Conversions.str_to_float(response)