ophyd.areadetector.trigger_mixins.ADTriggerStatus

class ophyd.areadetector.trigger_mixins.ADTriggerStatus(*args, **kwargs)

A Status for AreaDetector triggers

A special status object that notifies watches (progress bars) based on comparing device.cam.array_counter to device.cam.num_images.

__init__(*args, **kwargs)

Methods

__init__(*args, **kwargs)

add_callback(callback)

Register a callback to be called once when the Status finishes.

exception([timeout])

Return the exception raised by the action.

set_exception(exc)

Mark as finished but failed with the given Exception.

set_finished()

Mark as finished successfully.

wait([timeout])

Block until the action completes.

watch(func)

Subscribe to notifications about partial progress.

Attributes

callbacks

Callbacks to be run when the status is marked as finished

done

Boolean indicating whether associated operation has completed.

finished_cb

settle_time

A delay between when set_finished() is when the Status is done.

success

Boolean indicating whether associated operation has completed.

timeout

The timeout for this action.