Driver for DaylightSolutions MIRcat QCL laser
Version 1.0.1 (43.5 KB) by
Andriy Chmyrov
Matlab MEX driver for MIRcat QCL laser daylightsolutions.com
mircat
Matlab MEX wrapper written in C/C++ (MS Visual Studio) for DaylightSolutions MIRcat QCL laser (https://daylightsolutions.com/product/mircat/)
Requires DaylightSolutions SDK, which is provided with the laser (MIRcatSDK.lib and MIRcatSDK.h)
Syntaxis:
mircat('setParameterCommand',value); % set Parameter to provided value or execute command
result = mircat('getParameterCommand'); % get Parameter value or get command output
Parameters/Commands: | Call type |
---|---|
arm | get only |
disarm | get only |
emission | set&get |
isarmed | get only |
isconnected | get only |
isinterlocked | get only |
istuned | get only |
poweroff | get only |
stepscan | set only |
temperature | get only |
temperaturestable | get only |
temperaturewait | get only |
wavelength | get only |
wavelength_cm1 | set only |
wavelength_mic | set only |
wavelength_trigger | set only |
Example:
mircat('isconnected') % initialize the driver and check connection to the laser`
mircat('isinterlocked') % check the status of the laser interlock
if ~mircat('isarmed') % check if the laser is armed
mircat('arm'); % arm the laser
while ~mircat('isarmed') % wait till arming process is finished
pause(0.5);
end
end
mircat('temperature') % check the laser temperature
mircat('temperaturestable') % check if the laser temperature is is stable
lambda_um = 6.3;
mircat('wavelength_mic',lambda_um); % set emission wavelength to lambda_um (6.3 micrometers)
for ki = 1:10 % wait up to 5 sec until the laser tuning process is finished
if mircat('istuned'), break, end
pause(0.5);
end
mircat('emission',1); % emission ON
mircat('emission',0); % emission OFF
mircat('poweroff'); % power off the laser
clear('mircat'); % clear driver from memory
Cite As
Andriy Chmyrov (2024). Driver for DaylightSolutions MIRcat QCL laser (https://github.com/AndriyChmyrov/mircat), GitHub. Retrieved .
MATLAB Release Compatibility
Created with
R2021b
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.
Versions that use the GitHub default branch cannot be downloaded
Version | Published | Release Notes | |
---|---|---|---|
1.0.1 | added an image |
|
|
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.