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

Fix linkam SDK initialisation #214

Closed thomasmfish closed 3 years ago

thomasmfish commented 3 years ago

linkamInitialiseSDK returns large positive int if failed, passing the check and breaking. This makes the check specific to ensure it succeeded (returns 1).