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:
- Cameras and Imaging Devices
- Light Control and Manipulation Devices
- Lasers and Other Light Sources
- e.g. K-Cube Light Source and the 4-Channel Fiber-Coupled Laser source
- Motion Control Products
- Current and Temperature Control and Monitoring
- Light Analysis Devices
- e.g. Beam Profilers, Wavefront Sensors, and Power Meters
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.