from ......Internal.Core import Core
from ......Internal.CommandsGroup import CommandsGroup
from ......Internal.Utilities import trim_str_response
from ...... import repcap
# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
class CdeviceCls:
"""
| Commands in total: 1
| Subgroups: 0
| Direct child commands: 1
"""
def __init__(self, core: Core, parent):
self._core = core
self._cmd_group = CommandsGroup("cdevice", core, parent)
[docs]
def get(self, outputConnector=repcap.OutputConnector.Default) -> str:
"""
``OUTPut<up>:DIQ:CDEVice`` \n
Snippet: ``value: str = driver.applications.k10Xlte.output.diq.cdevice.get(outputConnector = repcap.OutputConnector.Default)`` \n
Queries the current configuration and the status of the digital I/Q data output to the optional 'Digital Baseband'
interface. For details see 'Interface Status Information'.
:param outputConnector: optional repeated capability selector. Default value: Nr1 (settable in the interface 'Output')
"""
outputConnector_cmd_val = self._cmd_group.get_repcap_cmd_value(outputConnector, repcap.OutputConnector)
response = self._core.io.query_str(f'OUTPut{outputConnector_cmd_val}:DIQ:CDEVice?')
return trim_str_response(response)