Controllers for Thorlabs PM100d
Version 1.0.1 (7.58 KB) by
Jonathan Beaumariage
Controllers for basic use of the thorlabs PM100d power meters
These are controllers for the thorlabs pm100d power meter, allowing you to:
-measure power
-set calibration wavelength
-get calibration wavelength
Please note, in order to get this matlab code working, you should first ensure that the thorlabs optical power meter utility software runs and can communicate with your power meter.
The thorlabs optical power meter utility version 5.4 can be downloaded at:
You may have to download and install Visa 17 from national instruments (free), at this location:
Once those programs are downloaded and installed, test that you can communicate with your power meter using the thorlabs optical power meter utility. If you can, then use that software to find the usb board number, which should look similar to this: USB0::0x1313::0x8078::P0004854::INSTR. The number comes up in a pop up when you turn the power meter utility on.
Once you have your usb board number, you will want to edit it into the if statement in line 62 of the thorpm100d_findinstrument function.
I recommend adding the functions to your matlab path if you intend to use them in a lab setting.
Cite As
Jonathan Beaumariage (2024). Controllers for Thorlabs PM100d (https://www.mathworks.com/matlabcentral/fileexchange/98884-controllers-for-thorlabs-pm100d), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2021a
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.