WasatchPhotonics / ENLIGHTEN

Open-source spectroscopy application for controlling and taking measurements from Wasatch Photonics spectrometers.
https://wasatchphotonics.com/product-category/software/
MIT License
3 stars 6 forks source link

Enlighten silently fails to set integration time if max_integration_time=0 #278

Closed samiebee43 closed 11 months ago

samiebee43 commented 1 year ago

image

The best way to handle this is an error dialog "Maximum integration time is set to zero. Please correct your EEPROM." Optionally for that session we would use a default of 1000ms.

Importantly, we will not substitute with a default value without notifying the user the EEPROM is incorrect. Would rather fail loudly then quietly do something unexpected.

samiebee43 commented 12 months ago

Use msgbox from #282