from .....Internal.Core import Core
from .....Internal.CommandsGroup import CommandsGroup
from ..... import repcap
# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
class InfoCls:
"""
| Commands in total: 1
| Subgroups: 0
| Direct child commands: 1
"""
def __init__(self, core: Core, parent):
self._core = core
self._cmd_group = CommandsGroup("info", core, parent)
[docs]
def get(self, probe=repcap.Probe.Default) -> bytes:
"""
``PROBe<*>:SETup:TIPModel:INFO`` \n
Snippet: ``value: bytes = driver.probe.setup.tipModel.info.get(probe = repcap.Probe.Default)`` \n
Return detailed information on the tip module that is connected to a R&S RT-ZISO probe.
:param probe: optional repeated capability selector. Default value: Nr1 (settable in the interface 'Probe')
:return: tip_info: Comma-separated list of tip module attributes: Name, Type, PartNumber, SerialNumber, InputCapacity, InputImpedance, InputMin, InputMax, OffsetMin, OffsetMax, Unit, Bandwidth, Attenuation.
"""
probe_cmd_val = self._cmd_group.get_repcap_cmd_value(probe, repcap.Probe)
response = self._core.io.query_bin_block_ERROR(f'PROBe{probe_cmd_val}:SETup:TIPModel:INFO?')
return response