from ...Internal.Core import Core
from ...Internal.CommandsGroup import CommandsGroup
from ...Internal import Conversions
# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
class ConnectorCls:
"""
| Commands in total: 2
| Subgroups: 0
| Direct child commands: 2
"""
def __init__(self, core: Core, parent):
self._core = core
self._cmd_group = CommandsGroup("connector", core, parent)
[docs]
def get_aux_io(self) -> bool:
"""
``TEST:CONNector:AUXio`` \n
Snippet: ``value: bool = driver.test.connector.get_aux_io()`` \n
No help available
"""
response = self._core.io.query_str('TEST:CONNector:AUXio?')
return Conversions.str_to_bool(response)
[docs]
def get_bnc(self) -> bool:
"""
``TEST:CONNector:BNC`` \n
Snippet: ``value: bool = driver.test.connector.get_bnc()`` \n
No help available
"""
response = self._core.io.query_str('TEST:CONNector:BNC?')
return Conversions.str_to_bool(response)