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

class ophyd_async.core.HardwareTriggeredFlyable(detector_group_logic: DetectorGroupLogic, trigger_logic: TriggerLogic[T], configuration_signals: Sequence[SignalR], trigger_to_frame_timeout: float | None = 10.0, name: str = '')[source]#

Bases: Device, Preparable, Stageable, Flyable, Collectable, WritesExternalAssets, HasHints, Generic[T]

Methods

children

collect_asset_docs

complete

connect

Connect self and all child Devices.

describe_collect

describe_configuration

kickoff

prepare

Arm detectors and setup trajectories

read_configuration

set_name

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

stage

unstage

Attributes

hints

name

Return the name of the Device

parent

The parent Device if it exists

prepare(value: T) AsyncStatus[source]#

Arm detectors and setup trajectories

async connect(sim: bool = False, timeout: float = 10.0)#

Connect self and all child Devices.

Contains a timeout that gets propagated to child.connect methods.

Parameters:
  • sim – If True then connect in simulation mode.

  • timeout – Time to wait before failing with a TimeoutError.

property name: str#

Return the name of the Device

set_name(name: str)#

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

Parameters:

name – New name to set