Skip to content

Commit

Permalink
Merge pull request #7 from PyMoDAQ/bugfix/max_exposure_time
Browse files Browse the repository at this point in the history
max_exposure time read in milliseconds while it is seconds
  • Loading branch information
seb5g authored Jul 22, 2024
2 parents 47eb6d6 + a7e8230 commit ee26850
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ def ini_camera(self):
# get max exposure range
err, maxexpo = self.camera_controller.GetMaximumExposure()
if err == 'DRV_SUCCESS':
self.settings.child('camera_settings', 'exposure').setLimits((0, maxexpo))
self.settings.child('camera_settings', 'exposure').setLimits((0, maxexpo * 1000))

# set default read mode (full vertical binning)
self.update_read_mode()
Expand Down

0 comments on commit ee26850

Please sign in to comment.