diff --git a/software/control/camera.py b/software/control/camera.py index f99ec704..10c411ef 100644 --- a/software/control/camera.py +++ b/software/control/camera.py @@ -341,7 +341,7 @@ def read_frame(self): numpy_image = raw_image.get_numpy_array() if self.pixel_format == "MONO12": numpy_image = numpy_image << 4 - # self.current_frame = numpy_image + self.current_frame = numpy_image return numpy_image def _on_frame_callback(self, user_param, raw_image): diff --git a/software/control/widgets.py b/software/control/widgets.py index 09174e5f..52dfa964 100644 --- a/software/control/widgets.py +++ b/software/control/widgets.py @@ -532,7 +532,7 @@ def toggle_live(self, pressed): def toggle_characterization_mode(self, state): global LASER_AF_CHARACTERIZATION_MODE - LASER_AF_CHARACTERIZATION_MODE = state + LASER_AF_CHARACTERIZATION_MODE = bool(state == Qt.Checked) def update_exposure_time(self, value): self.signal_newExposureTime.emit(value)