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
67 stars 39 forks source link

unified interface for devices that can be triggered #159

Open carandraug opened 3 years ago

carandraug commented 3 years ago

We have TriggerTargetMixin for devices that can be triggered. Currently, it is only used by deformable mirrors and the ximea camera but makes sense to use on all cameras and any other devices types can are typically triggered. This was discussed a few times before but seems like we never opened an issue for this. Basically, the goal is:

  1. have all triggerable devices share the same interface and logic
  2. extend the existing trigger modes in the camera interface to cover other common trigger types and modes
iandobbie commented 3 years ago

Yes I guess that the triggering should be generalised to cover devices that need this type of logic to be controlled.