Note
Ophyd.v2 is included on a provisional basis until the v2.0 release and may change API on minor release numbers before then
ophyd.v2.core.SimSignalBackend#
- class ophyd.v2.core.SimSignalBackend(datatype: Type[T] | None, source: str)#
Bases:
SignalBackend
[T
]An simulated backend to a Signal, created with
Signal.connect(sim=True)
Methods
Connect to underlying hardware
Metadata like source, dtype, shape, precision, units
The current value, timestamp and severity
The current value
Put a value to the PV, if wait then wait for completion for up to timeout
Observe changes to the current value, timestamp and severity
Attributes
Datatype of the signal value
Like ca://PV_PREFIX:SIGNAL
- async put(value: T | None, wait=True, timeout=None)#
Put a value to the PV, if wait then wait for completion for up to timeout
- async get_descriptor() Descriptor #
Metadata like source, dtype, shape, precision, units
- async get_value() T #
The current value