Skip to content

Commit 5b04262

Browse files
committed
Gracefully shutdown radiometer at the end of calibration.
Signed-off-by: Nicolas Cottaris <cottaris@sas.upenn.edu>
1 parent 857463d commit 5b04262

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

MatlabPrograms/OLCalibrate.m

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -601,6 +601,9 @@
601601
%fprintf('\n*** Putting ol into shutdown mode ***\n\n');
602602
%ol.shutdown;
603603

604+
% Gracefully shutdown the spectroradiometer
605+
spectroRadiometerOBJ.shutDown();
606+
604607
SendEmail(emailRecipient, 'OneLight Calibration Complete', ...
605608
'Finished!');
606609
catch e

0 commit comments

Comments
 (0)