mesoSPIM.src.devices.shutters package
Submodules
mesoSPIM.src.devices.shutters.Demo_Shutter module
mesoSPIM.src.devices.shutters.NI_Shutter module
mesoSPIM Module for controlling a shutter via NI-DAQmx Author: Fabian Voigt #TODO
- class mesoSPIM.src.devices.shutters.NI_Shutter.NI_Shutter(shutterline)[source]
Bases:
objectSlow shutter, intended more as a gating device than a fast open/close because the NI task is recreated and deleted every time a shutter is actuated.
Thus, the shutter has more a “gating” function to protect the sample than fast control of the laser, this is done via the laser intensity anyway.
This uses the property of NI-DAQmx-outputs to keep their last digital state or analog voltage for as long the device is not powered down.