Tracks whether a given spectrometer's "last known state" was successful (working) or error.
More...
Tracks whether a given spectrometer's "last known state" was successful (working) or error.
Given that common spectrometer error states only involve an unresponsive FPGA (can't get spectra) while the microcontroller keeps working (can read detector temperature etc), the enum more literally means "last call
to getSpectrum returned non-null".
<todo>
- consider storing some level of spectrometerStatus (integration time, laser state etc) such that a re-initialized spectrometer with a known (non-default) state can be quickly and automatically restored to non-default values </todo>