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

class ophyd.v2.core.SignalX(backend: SignalBackend[T], timeout: float | None = 10.0)#

Bases: Signal

Signal that puts the default value

Methods

connect

Connect self and all child Devices.

execute

Execute the action and return a status saying when it's done

set_name

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

Attributes

name

Return the name of the Device

parent

The parent Device if it exists

source

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

async execute(wait=True, timeout=None)#

Execute the action and return a status saying when it’s done

async connect(sim=False)#

Connect self and all child Devices.

Parameters:
sim:

If True then connect in simulation mode.

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#

Like ca://PV_PREFIX:SIGNAL, or “” if not set