Driver for DaylightSolutions MIRcat QCL laser
Version 1.0.1 (43,5 ko) par
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
Citation pour cette source
Andriy Chmyrov (2024). Driver for DaylightSolutions MIRcat QCL laser (https://github.com/AndriyChmyrov/mircat), GitHub. Récupéré le .
Compatibilité avec les versions de MATLAB
Créé avec
R2021b
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Les versions qui utilisent la branche GitHub par défaut ne peuvent pas être téléchargées
Version | Publié le | Notes de version | |
---|---|---|---|
1.0.1 | added an image |
|
|
1.0.0 |
|
Pour consulter ou signaler des problèmes liés à ce module complémentaire GitHub, accédez au dépôt GitHub.
Pour consulter ou signaler des problèmes liés à ce module complémentaire GitHub, accédez au dépôt GitHub.