bluesky.suspenders.SuspendBoolLow#

class bluesky.suspenders.SuspendBoolLow(signal, *, sleep=0, pre_plan=None, post_plan=None, tripped_message='')[source]#

Suspend when a boolean signal goes low; resume when it goes high.

Parameters:
signalophyd.Signal

The signal to watch for changes to determine if the scan should be suspended

sleepfloat, optional

How long to wait in seconds after the resume condition is met before marking the event as done. Defaults to 0

pre_planiterable or iterator, optional

a generator, list, or similar containing Msg objects

post_planiterable or iterator, optional

a generator, list, or similar containing Msg objects

__init__(signal, *, sleep=0, pre_plan=None, post_plan=None, tripped_message='')#

Methods

__init__(signal, *[, sleep, pre_plan, ...])

get_futures()

Return a list of futures to wait on.

install(RE, *[, event_type])

Install callback on signal

remove()

Disable the suspender

Attributes

tripped