dodal.devices.fast_shutter.DualFastShutter#
- class dodal.devices.fast_shutter.DualFastShutter[source]#
A fast shutter device that handles the positions of two other fast shutters. The “active” shutter is the one that corrosponds to the selected_shutter signal. For example, active shutter is shutter1 if selected_source is at SelectedSource.SOURCE1 and vise versa for shutter2 and SelectedSource.SOURCE2. Whenever a move is done on this device, the inactive shutter is always set to the close_state.
- Parameters:
shutter1 (GenericFastShutter) – Active shutter that corrosponds to SelectedSource.SOURCE1.
shutter2 (GenericFastShutter) – Active shutter that corrosponds to SelectedSource.SOURCE2.
selected_source (SignalRW) – Signal that decides the active shutter.
name (str, optional) – Name of this device.
Methods
Attributes
open_stateclose_stateshutter_state