Setting up Chameleon laser communication on serial port COM1
Connected to Chameleon laser on serial port COM1
% 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.openShutter; % Let's open the shutter
% Yep, shutter is now open
% Let's read and then change the wavelength
Failed to read wavelength from Chameleon. Likely laser is tuning.
% Close communications with the laser
Disconnecting from Chameleon laser
Closing serial communications with Chameleon laser