Thorlabs

You first need to install the freely available ThorCam, which include the required drivers : thorlabs_tsi_camera_sdk.dll, thorlabs_unified_sdk_kernel.dll, thorlabs_unified_sdk_main.dll, thorlabs_tsi_usb_driver.dll, thorlabs_tsi_usb_hotplug_monitor.dll, thorlabs_tsi_cs_camera_device.dll, tsi_sdk.dll, tsi_usb.dll.

The Thorlabs driver manage new thorlabs models (as Kirealux or Zelux). Old model with name DCC were produced by IDS and are controlled by the Thorlabs UC480 driver.

Thorlabs cameras are implemented via PyLabLib package. Thus, you need to install PyLabLib. The documentation on Thorlabs driver in PyLabLib is available here.

Finally, you should create a dedicated model class for your model by applying the following procedure (unless model class was already impelmented):

  1. Open file Cameras/Thorlabs.py in an editor.

  2. Copy the definition of the ExampleModelClass class, and paste it at the end of the file.

  3. In the pasted text, replace “ExampleModel” in the name of the class and the “…” in the docstring below by your model name (the exact same as in the Config files).

  4. Save your file and test.

Only Zelux model has been quickly tested with CAtImaPy. If you use another model and it works, let us know. If you use another model, it does not work and you find why, let us know.