Skip to content

Commit

Permalink
Ensure Pockels does not switch off on BT startup when laser is on.
Browse files Browse the repository at this point in the history
  • Loading branch information
raacampbell committed May 25, 2022
1 parent 481fbb4 commit 50fbb08
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
4 changes: 3 additions & 1 deletion code/components/laser/chameleon.m
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,9 @@
fprintf('Connected to Chameleon laser on serial port %s\n\n', serialComms)


% Must call this here to make sure Pockels is turned on
% Must call these here to make sure Pockels is turned on
obj.isPoweredOn
obj.isModeLocked
obj.switchPockelsCell
end %constructor

Expand Down
4 changes: 4 additions & 0 deletions code/components/laser/maitai.m
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@
serialComms, obj.readHumidity)


% Must call these here to make sure Pockels is turned on
obj.isPoweredOn
obj.isModeLocked
obj.switchPockelsCell
end %constructor


Expand Down
5 changes: 4 additions & 1 deletion code/components/laser/tiberius.m
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,10 @@
%Report connection and humidity
fprintf('Connected to Tiberius laser on %s\n\n', serialComms)


% Must call these here to make sure Pockels is turned on
obj.isPoweredOn
obj.isModeLocked
obj.switchPockelsCell
end %constructor


Expand Down

0 comments on commit 50fbb08

Please sign in to comment.