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.SignalRW#
- class ophyd_async.core.SignalRW(backend: SignalBackend[T], timeout: float | None = 10.0)[source]#
Bases:
SignalR[T],SignalW[T],LocatableSignal that can be both read and set
Methods
childrenRemove a subscription.
connectReturn a single item dict with the descriptor in it
The current value
locateReturn a single item dict with the reading in it
Set the value and return a status saying when it's done
set_nameStart caching this signal
Subscribe to updates in the reading
Subscribe to updates in value of a device
Stop caching this signal
Attributes
nameparentThe parent Device if it exists
//PV_PREFIX:SIGNAL, or "" if not set
- async read(cached: bool | None = None) Dict[str, Reading]#
Return a single item dict with the reading in it
- set(value: T, wait=True, timeout='USE_DEFAULT_TIMEOUT') AsyncStatus#
Set the value and return a status saying when it’s done