Skip to content

Commit

Permalink
rebase: laser af
Browse files Browse the repository at this point in the history
  • Loading branch information
ianohara committed Feb 24, 2025
1 parent 5ddf111 commit c24697e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions software/control/widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -392,9 +392,7 @@ def init_ui(self):
exposure_layout = QHBoxLayout()
exposure_layout.addWidget(QLabel("Focus Camera Exposure (ms):"))
self.exposure_spinbox = QDoubleSpinBox()
self.exposure_spinbox.setRange(
self.liveController.camera.EXPOSURE_TIME_MS_MIN, self.liveController.camera.EXPOSURE_TIME_MS_MAX
)
self.exposure_spinbox.setRange(*self.liveController.camera.get_exposure_limits())
self.exposure_spinbox.setValue(self.laserAutofocusController.laser_af_properties.focus_camera_exposure_time_ms)
exposure_layout.addWidget(self.exposure_spinbox)

Expand Down

0 comments on commit c24697e

Please sign in to comment.