dodal.devices.fast_shutter.FastShutter#

class dodal.devices.fast_shutter.FastShutter[source]#

Enum device specialised for a fast shutter with configured open_state and close_state so it is generic enough to be used with any device or plan without knowing the specific enum to use.

For example:

await shutter.set(shutter.open_state) await shutter.set(shutter.close_state)

OR

run_engine(bps.mv(shutter, shutter.open_state)) run_engine(bps.mv(shutter, shutter.close_state))

Methods

set(state)

Attributes

open_state

close_state

shutter_state