Driver for DaylightSolutions MIRcat QCL laser
Versione 1.0.1 (43,5 KB) da
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
Cita come
Andriy Chmyrov (2024). Driver for DaylightSolutions MIRcat QCL laser (https://github.com/AndriyChmyrov/mircat), GitHub. Recuperato .
Compatibilità della release di MATLAB
Creato con
R2021b
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS LinuxTag
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
Le versioni che utilizzano il ramo predefinito di GitHub non possono essere scaricate
Versione | Pubblicato | Note della release | |
---|---|---|---|
1.0.1 | added an image |
|
|
1.0.0 |
|
Per visualizzare o segnalare problemi su questo componente aggiuntivo di GitHub, visita GitHub Repository.
Per visualizzare o segnalare problemi su questo componente aggiuntivo di GitHub, visita GitHub Repository.