Driver for Thorlabs motorized pinhole MPH16
mph16
This is a Matlab .mex wrapper written in C/C++ (MS Visual Studio) for Thorlabs MPH16 motorized pinhole.
Requires Thorlabs software which can be downloaded from: https://www.thorlabs.com/software_pages/viewsoftwarepage.cfm?code=MPH16
File "ThorPinholeStepperSettings.xml" with pinhole location parameters has to be located in the current folder of Matlab.
Example of usage:
numpinholes = mph16(); % initialize and get number of pinholes
position = mph16('position'); % get current pinhole position (indexed from 0)
mph16('position',position); % set current pinhole position
clear mph16 % clear pinhole driver
Cite As
Andriy Chmyrov (2024). Driver for Thorlabs motorized pinhole MPH16 (https://github.com/AndriyChmyrov/mph16), GitHub. Retrieved .
MATLAB Release Compatibility
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.
Versions that use the GitHub default branch cannot be downloaded
Version | Published | Release Notes | |
---|---|---|---|
1.0.3 | changed the image |
|
|
1.0.2 | added a picture :-) |
|
|
1.0.1 | updated description about requirement to have ThorPinholeStepperSettings.xml file in the current directory |
|
|
1.0.0 |
|