Note
Ophyd async is included on a provisional basis until the v1.0 release and may change API on minor release numbers before then
ophyd_async.core.SignalBackend#
- class ophyd_async.core.SignalBackend[source]#
Bases:
Generic
[T
]A read/write/monitor backend for a Signals
Methods
Connect to underlying hardware
Check if a given datatype is acceptable for this signal backend.
Metadata like source, dtype, shape, precision, units
The current value, timestamp and severity
The point that a signal was requested to move to.
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
Return source of signal.
Attributes
Datatype of the signal value
- abstract classmethod datatype_allowed(dtype: type)[source]#
Check if a given datatype is acceptable for this signal backend.
- abstract source(name: str) str [source]#
Return source of signal. Signals may pass a name to the backend, which can be used or discarded.
- abstract async put(value: T | None, wait=True, timeout=None)[source]#
Put a value to the PV, if wait then wait for completion for up to timeout