Driver for DaylightSolutions MIRcat QCL laser

版本 1.0.1 (43.5 KB) 作者: Andriy Chmyrov
Matlab MEX driver for MIRcat QCL laser daylightsolutions.com
33.0 次下载
更新时间 2022/8/22

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

引用格式

Andriy Chmyrov (2025). Driver for DaylightSolutions MIRcat QCL laser (https://github.com/AndriyChmyrov/mircat), GitHub. 检索时间: .

MATLAB 版本兼容性
创建方式 R2021b
兼容任何版本
平台兼容性
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!

无法下载基于 GitHub 默认分支的版本

版本 已发布 发行说明
1.0.1

added an image

1.0.0

要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库
要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库