Source code for RsCMX_Signaling.Implementations.Diagnostic.Signaling.Registration

from .....Internal.Core import Core
from .....Internal.CommandsGroup import CommandsGroup
from .....Internal import Conversions
from ..... import enums


# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
[docs] class RegistrationCls: """Registration commands group definition. 3 total commands, 2 Subgroups, 1 group commands""" def __init__(self, core: Core, parent): self._core = core self._cmd_group = CommandsGroup("registration", core, parent) @property def listPy(self): """listPy commands group. 0 Sub-classes, 1 commands.""" if not hasattr(self, '_listPy'): from .ListPy import ListPyCls self._listPy = ListPyCls(self._core, self._cmd_group) return self._listPy @property def add(self): """add commands group. 0 Sub-classes, 1 commands.""" if not hasattr(self, '_add'): from .Add import AddCls self._add = AddCls(self._core, self._cmd_group) return self._add
[docs] def reset(self, target: enums.Target) -> None: """SCPI: DIAGnostic:SIGNaling:REGistration:RESet \n Snippet: driver.diagnostic.signaling.registration.reset(target = enums.Target.ALL) \n No command help available \n :param target: No help available """ param = Conversions.enum_scalar_to_str(target, enums.Target) self._core.io.write(f'DIAGnostic:SIGNaling:REGistration:RESet {param}')
def clone(self) -> 'RegistrationCls': """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 = RegistrationCls(self._core, self._cmd_group.parent) self._cmd_group.synchronize_repcaps(new_group) return new_group