Source code for RsFsw.Implementations.Sense.Correction.Transducer

from .....Internal.Core import Core
from .....Internal.CommandsGroup import CommandsGroup


# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
[docs]class TransducerCls: """Transducer commands group definition. 13 total commands, 11 Subgroups, 1 group commands""" def __init__(self, core: Core, parent): self._core = core self._cmd_group = CommandsGroup("transducer", core, parent) @property def active(self): """active commands group. 0 Sub-classes, 1 commands.""" if not hasattr(self, '_active'): from .Active import ActiveCls self._active = ActiveCls(self._core, self._cmd_group) return self._active @property def catalog(self): """catalog commands group. 0 Sub-classes, 1 commands.""" if not hasattr(self, '_catalog'): from .Catalog import CatalogCls self._catalog = CatalogCls(self._core, self._cmd_group) return self._catalog @property def select(self): """select commands group. 0 Sub-classes, 1 commands.""" if not hasattr(self, '_select'): from .Select import SelectCls self._select = SelectCls(self._core, self._cmd_group) return self._select @property def unit(self): """unit commands group. 0 Sub-classes, 1 commands.""" if not hasattr(self, '_unit'): from .Unit import UnitCls self._unit = UnitCls(self._core, self._cmd_group) return self._unit @property def scaling(self): """scaling commands group. 0 Sub-classes, 1 commands.""" if not hasattr(self, '_scaling'): from .Scaling import ScalingCls self._scaling = ScalingCls(self._core, self._cmd_group) return self._scaling @property def comment(self): """comment commands group. 0 Sub-classes, 1 commands.""" if not hasattr(self, '_comment'): from .Comment import CommentCls self._comment = CommentCls(self._core, self._cmd_group) return self._comment @property def data(self): """data commands group. 0 Sub-classes, 1 commands.""" if not hasattr(self, '_data'): from .Data import DataCls self._data = DataCls(self._core, self._cmd_group) return self._data @property def state(self): """state commands group. 0 Sub-classes, 1 commands.""" if not hasattr(self, '_state'): from .State import StateCls self._state = StateCls(self._core, self._cmd_group) return self._state @property def adjust(self): """adjust commands group. 1 Sub-classes, 0 commands.""" if not hasattr(self, '_adjust'): from .Adjust import AdjustCls self._adjust = AdjustCls(self._core, self._cmd_group) return self._adjust @property def inputPy(self): """inputPy commands group. 2 Sub-classes, 0 commands.""" if not hasattr(self, '_inputPy'): from .InputPy import InputPyCls self._inputPy = InputPyCls(self._core, self._cmd_group) return self._inputPy @property def generate(self): """generate commands group. 0 Sub-classes, 1 commands.""" if not hasattr(self, '_generate'): from .Generate import GenerateCls self._generate = GenerateCls(self._core, self._cmd_group) return self._generate
[docs] def delete(self) -> None: """SCPI: [SENSe]:CORRection:TRANsducer:DELete \n Snippet: driver.sense.correction.transducer.delete() \n This command deletes the currently selected transducer factor. Before you can use the command, you have to select a transducer. \n """ self._core.io.write(f'SENSe:CORRection:TRANsducer:DELete')
[docs] def delete_with_opc(self, opc_timeout_ms: int = -1) -> None: """SCPI: [SENSe]:CORRection:TRANsducer:DELete \n Snippet: driver.sense.correction.transducer.delete_with_opc() \n This command deletes the currently selected transducer factor. Before you can use the command, you have to select a transducer. \n Same as delete, but waits for the operation to complete before continuing further. Use the RsFsw.utilities.opc_timeout_set() to set the timeout value. \n :param opc_timeout_ms: Maximum time to wait in milliseconds, valid only for this call.""" self._core.io.write_with_opc(f'SENSe:CORRection:TRANsducer:DELete', opc_timeout_ms)
def clone(self) -> 'TransducerCls': """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 = TransducerCls(self._core, self._cmd_group.parent) self._cmd_group.synchronize_repcaps(new_group) return new_group