Driver for Thorlabs motorized pinhole MPH16

Matlab .mex wrapper for Thorlabs MPH16 motorized pinhole
6 Downloads
Updated 22 Aug 2022

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
Created with R2021b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

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

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.