USB650: USBError Overflow
ap-- opened this issue · 1 comments
ap-- commented
My apologies for going back to the stubborn USB650 units (we've got two of those!).
- model: RedTide 650
- operating system: Ubuntu 22.04.4 LTS
- python version: 3.9.16 (installed via anaconda)
- python-seabreeze version: 2.8.0 (installed via anaconda)
Here's my code:
import seabreeze
seabreeze.use('pyseabreeze')
from seabreeze.spectrometers import Spectrometer as sm
spec = sm.from_first_available()
print(spec)
spec.integration_time_micros(int(4e5))
wavelengths = spec.wavelengths()
intensities = spec.intensities()
import matplotlib.pyplot as plt
plt.plot(wavelengths, intensities)
plt.show()
When I run it, I sometimes get the "usb.core.USBError: [Errno 75] Overflow" exactly as described in #47, sometimes I get real data, and sometimes I get a constant intensity value of 2409 for all channels. Any thoughts if/how I can fix it?
Originally posted by @maitra-dipankar in https://github.com/ap--/python-seabreeze/issues/198#issuecomment-2151063354
ap-- commented
Just so that we have it documented for reference:
Could you try and determine the Firmware version of your USB650s via the original OceanOptics/OceanInsight software?
And please try to confirm with Ocean support that the firmware version is the newest.
Cheers,
Andreas