bluesky.preprocessors.monitor_during_wrapper

bluesky.preprocessors.monitor_during_wrapper(plan, signals)[source]

Monitor (asynchronously read) devices during runs.

This is a preprocessor that insert messages immediately after a run is opened and before it is closed.

Parameters:
planiterable or iterator

a generator, list, or similar containing Msg objects

signalscollection

objects that support the Signal interface

Yields:
msgMsg

messages from plan with ‘monitor’, and ‘unmontior’ messages inserted

See also

bluesky.plans.fly_during_wrapper()