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.SignalW#

class ophyd_async.core.SignalW(backend: SignalBackend[T] | None = None, timeout: float | None = 10.0, name: str = '')[source]#

Bases: Signal[T], Movable

Signal that can be set

Methods

children

connect

set

Set the value and return a status saying when it's done

set_name

Set self.name=name and each self.child.name=name+"-child".

Attributes

log

name

Return the name of the Device

parent

The parent Device if it exists

source

//PV_PREFIX:SIGNAL, or "" if not set

set(value: ~ophyd_async.core._utils.T, wait=True, timeout: float | None | ~typing.Type[~ophyd_async.core._utils.CalculateTimeout] = <class 'ophyd_async.core._utils.CalculateTimeout'>) AsyncStatus[source]#

Set the value and return a status saying when it’s done

children() Iterator[Tuple[str, Device]]#
async connect(mock=False, timeout=10.0, force_reconnect: bool = False, backend: SignalBackend[T] | None = None)#
property log#
property name: str#

Return the name of the Device

parent: Device | None = None#

The parent Device if it exists

set_name(name: str)#

Set self.name=name and each self.child.name=name+"-child".

Parameters:

name – New name to set

property source: str#

//PV_PREFIX:SIGNAL, or β€œβ€ if not set

Type:

Like ca