Driver for DaylightSolutions MIRcat QCL laser
Versión 1.0.1 (43,5 KB) por
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
Citar como
Andriy Chmyrov (2025). Driver for DaylightSolutions MIRcat QCL laser (https://github.com/AndriyChmyrov/mircat), GitHub. Recuperado .
Compatibilidad con la versión de MATLAB
Se creó con
R2021b
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS LinuxEtiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
No se pueden descargar versiones que utilicen la rama predeterminada de GitHub
Versión | Publicado | Notas de la versión | |
---|---|---|---|
1.0.1 | added an image |
|
|
1.0.0 |
|
Para consultar o notificar algún problema sobre este complemento de GitHub, visite el repositorio de GitHub.
Para consultar o notificar algún problema sobre este complemento de GitHub, visite el repositorio de GitHub.