python-microscope / microscope

Python library for control of microscope devices, supporting hardware triggers and distribution of devices over the network for performance and flexibility.
https://www.python-microscope.org
GNU General Public License v3.0
66 stars 39 forks source link

pvcam: modernise exposure modes #221

Open dstoychev opened 2 years ago

dstoychev commented 2 years ago

Since version 3.0.1 of PVCAM, released around 2014, the camera exposure modes (i.e. the trigger modes) are split into two categories: legacy and extended. The former are intended for CCD cameras, whereas the latter are for CMOS ones. The extended modes also support configuration of the EXPOSE_OUT signal, which could modify the camera behaviour.

None of this is currently supported in microscope. In addition, there seems to be a misunderstanding of how some of the trigger modes work. For example, there is a misalignment between PVCAM's and microscope's strobe modes.

I address all this, and some other minor issues, in the following commit: https://github.com/dstoychev/microscope/commit/ffa9ab194c45352b856b4fcc88bc2a150c34b61a.