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[TypeVar(EnumTypesT, bound= StrictEnum | SubsetEnum | SupersetEnum)])

  • shutter2 (GenericFastShutter[TypeVar(EnumTypesT, bound= StrictEnum | SubsetEnum | SupersetEnum)])

  • selected_source (SignalRW[SelectedSource])

  • name (str, default: '')

  • shutter1 – Active shutter that corrosponds to SelectedSource.SOURCE1.

  • shutter2 – Active shutter that corrosponds to SelectedSource.SOURCE2.

  • selected_source – Signal that decides the active shutter.

  • name – Name of this device.

Methods

Attributes

open_state

close_state

shutter_state