Setting up the laser
>> c=chameleon('COM1');
Setting up Chameleon laser communication on serial port COM1
Connected to Chameleon laser on serial port COM1
>> [~,status]=c.isReady
status =
'Laser not powered on'
% So let's turn on the laser with the key switch...
% Test if laser shutter is open (0 means it's closed, 1 means it's open)
>> c.isShutterOpen
ans =
0
>> c.openShutter; % Let's open the shutter
>> c.isShutterOpen
ans =
1
% Yep, shutter is now open
% Let's read and then change the wavelength
>> c.readWavelength
ans =
920
>> c.setWavelength(940);
>> c.readWavelength
Failed to read wavelength from Chameleon. Likely laser is tuning.
ans =
NaN
% Wait 5 seconds...
>> c.readWavelength
ans =
940
% Nice
% Close communications with the laser
>> delete(c)
Disconnecting from Chameleon laser
Closing serial communications with Chameleon laserGDD compensation
Notes on power modulation
Dealing with poor modelocking behavior at specific wavelengths
Banned wavelengths
Last updated