from .......Internal.Core import Core
from .......Internal.CommandsGroup import CommandsGroup
# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
[docs]class OscilloscopeCls:
"""Oscilloscope commands group definition. 35 total commands, 5 Subgroups, 0 group commands"""
def __init__(self, core: Core, parent):
self._core = core
self._cmd_group = CommandsGroup("oscilloscope", core, parent)
@property
def timeout(self):
"""timeout commands group. 0 Sub-classes, 1 commands."""
if not hasattr(self, '_timeout'):
from .Timeout import TimeoutCls
self._timeout = TimeoutCls(self._core, self._cmd_group)
return self._timeout
@property
def demodulation(self):
"""demodulation commands group. 4 Sub-classes, 7 commands."""
if not hasattr(self, '_demodulation'):
from .Demodulation import DemodulationCls
self._demodulation = DemodulationCls(self._core, self._cmd_group)
return self._demodulation
@property
def audioInput(self):
"""audioInput commands group. 0 Sub-classes, 8 commands."""
if not hasattr(self, '_audioInput'):
from .AudioInput import AudioInputCls
self._audioInput = AudioInputCls(self._core, self._cmd_group)
return self._audioInput
@property
def spdif(self):
"""spdif commands group. 0 Sub-classes, 8 commands."""
if not hasattr(self, '_spdif'):
from .Spdif import SpdifCls
self._spdif = SpdifCls(self._core, self._cmd_group)
return self._spdif
@property
def voip(self):
"""voip commands group. 0 Sub-classes, 7 commands."""
if not hasattr(self, '_voip'):
from .Voip import VoipCls
self._voip = VoipCls(self._core, self._cmd_group)
return self._voip
def clone(self) -> 'OscilloscopeCls':
"""Clones the group by creating new object from it and its whole existing subgroups
Also copies all the existing default Repeated Capabilities setting,
which you can change independently without affecting the original group"""
new_group = OscilloscopeCls(self._core, self._cmd_group.parent)
self._cmd_group.synchronize_repcaps(new_group)
return new_group