mesoSPIM.src.devices.lasers package
Submodules
mesoSPIM.src.devices.lasers.Demo_LaserEnabler module
mesoSPIM.src.devices.lasers.mesoSPIM_LaserEnabler module
mesoSPIM Module for enabling single laser lines via NI-DAQmx
Authors: Fabian Voigt, Nikita Vladimirov
- class mesoSPIM.src.devices.lasers.mesoSPIM_LaserEnabler.mesoSPIM_LaserEnabler(laserdict)[source]
Bases:
objectClass for interacting with the laser enable DO lines via NI-DAQmx 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. This means that the NI tasks are closed after calls to “enable”, “disable”, etc which in turn means that this class is not intended for fast switching in complicated waveforms. Needs a dictionary which combines laser wavelengths and device outputs in the form: {‘488 nm’: ‘PXI1Slot4/port0/line2’, ‘515 nm’: ‘PXI1Slot4/port0/line3’}