Availability: Windows
Python bindings for Thorlabs Kinesis DLLs. This project aims to map all C API functions provided by Kinesis libraries to python. More information on Kinesis Motion Control Software can be found on ThorLabs' Website.
ThorLabs Kinesis has been tested against the following versions (but should also work with other versions):
- 1.14.4.0 64 Bit
This project emerged from a need to use Python with Thorlabs BSC201, BSC203, and LTS150. So included examples are tested with those controllers on Windows 7 against Python 3.6.
Binding methodology is inspired by PySDL2 project.
Code structure in the original DLLs is transferred 1-1, even though it could have benefited from some refactoring. This makes easier to map examples given in Thorlabs' documentation.
At it's current stage this module only provides bindings. So, basic mapping of C code provided with the Kinesis documentation should be enough to use the module. However you have to make sure that DLLs are in the PATH. For that, you can add the Kinesis folder to PATH.
This module automatically includes the default installation directory of
Kinesis and ThorCam on Windows when looking for DLL's. If you have DLLs in a
different location, you can add directories to this module's search path by
storing them in the THORLABS_DLL_PATHS
environment variable using the regular
path notation (i.e. ;
, or os.pathsep
, as separator between directories on
Windows, if more than one directory is being included).