Skip to content
@Thorlabs

Thorlabs

Official Account and Source for Example Code

Welcome!

This collection of code examples is a useful starting point for working with the devices in Thorlabs' product offering, as well as implementing the devices in common applications. These code repositories are organized into several categories, according to device type and application:

Each repository includes individual folders for different programming languages, as well as a list of the products compatible with each code example. To help you get the code running on your machine, there is a README at each level of the repositories providing information about the contents, as well as setup instructions.

Visit the software downloads page to download software packages associated with Thorlabs' products.


Contact us (techsupport@thorlabs.com) with questions or comments, and please post details of any concerns or errors you find in these projects to the Issues section of the repository page.

Popular repositories Loading

  1. Motion_Control_Examples Motion_Control_Examples Public

    Software examples for Thorlabs motion control products (e.g. T-Cube, K-Cube, and benchtop brushless, DC, stepper, and Piezo motor controllers)

    C 151 59

  2. Light_Analysis_Examples Light_Analysis_Examples Public

    Software examples for Thorlabs products: Power Meter PMxxx | Spectrometers CCTxxx | Polarimeter PAX1000 | Optical Spectrum Analyzers OSA | Shack-Hartmann Wavefront Sensors WFSxx | Camera Beam Profi…

    HTML 67 32

  3. Camera_Examples Camera_Examples Public

    Software examples for Thorlabs cameras (e.g. Zelux, Kiralux, Quantalux)

    MATLAB 27 8

  4. Current_And_Temperature_Controller_Examples Current_And_Temperature_Controller_Examples Public

    Software examples for Thorlabs products: Temperature Logger TSP01 | Temperature Logger upTEMP | Laser Diode Driver CLD10xx | LED Driver DC2200 | LED Driver upLED

    C# 11 3

  5. Light_Sources_Examples Light_Sources_Examples Public

    Software examples for Thorlabs products: Laser Source KLS635, CHROLIS, SPDC810, Benchtop Laser Sources

    Python 5 1

  6. Light_Control_and_Manipulation_Examples Light_Control_and_Manipulation_Examples Public

    Software examples for Thorlabs products: Deformable Mirrors DMP40, DMH40 | Shutter Controller KSC101 | Liquid Crystal Controller LCC25

    C# 1 3

Repositories

Showing 8 of 8 repositories
  • Light_Sources_Examples Public

    Software examples for Thorlabs products: Laser Source KLS635, CHROLIS, SPDC810, Benchtop Laser Sources

    Thorlabs/Light_Sources_Examples's past year of commit activity
    Python 5 MIT 1 0 0 Updated Sep 9, 2026
  • Motion_Control_Examples Public

    Software examples for Thorlabs motion control products (e.g. T-Cube, K-Cube, and benchtop brushless, DC, stepper, and Piezo motor controllers)

    Thorlabs/Motion_Control_Examples's past year of commit activity
    C 151 MIT 59 1 4 Updated Sep 9, 2026
  • Light_Analysis_Examples Public

    Software examples for Thorlabs products: Power Meter PMxxx | Spectrometers CCTxxx | Polarimeter PAX1000 | Optical Spectrum Analyzers OSA | Shack-Hartmann Wavefront Sensors WFSxx | Camera Beam Profiler BC20x | Slit Beam Profiler BP20x

    Thorlabs/Light_Analysis_Examples's past year of commit activity
    HTML 67 MIT 32 0 0 Updated Aug 27, 2026
  • Current_And_Temperature_Controller_Examples Public

    Software examples for Thorlabs products: Temperature Logger TSP01 | Temperature Logger upTEMP | Laser Diode Driver CLD10xx | LED Driver DC2200 | LED Driver upLED

    Thorlabs/Current_And_Temperature_Controller_Examples's past year of commit activity
    C# 11 MIT 3 0 1 Updated Aug 18, 2026
  • Light_Control_and_Manipulation_Examples Public

    Software examples for Thorlabs products: Deformable Mirrors DMP40, DMH40 | Shutter Controller KSC101 | Liquid Crystal Controller LCC25

    Thorlabs/Light_Control_and_Manipulation_Examples's past year of commit activity
    C# 1 MIT 3 0 0 Updated Jul 27, 2026
  • .github Public

    Public .github repo

    Thorlabs/.github's past year of commit activity
    0 0 0 0 Updated Jul 27, 2026
  • Camera_Examples Public

    Software examples for Thorlabs cameras (e.g. Zelux, Kiralux, Quantalux)

    Thorlabs/Camera_Examples's past year of commit activity
    MATLAB 27 MIT 8 0 1 Updated Jul 22, 2026
  • Insights_and_Applications Public

    Location of code shown in Thorlabs Insight videos and Application Notes

    Thorlabs/Insights_and_Applications's past year of commit activity
    Python 0 MIT 4 0 0 Updated Sep 15, 2025

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Most used topics