Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

USB650: USBError Overflow #245

Open
ap-- opened this issue Jun 7, 2024 · 1 comment
Open

USB650: USBError Overflow #245

ap-- opened this issue Jun 7, 2024 · 1 comment

Comments

@ap--
Copy link
Owner

ap-- commented Jun 7, 2024

          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--
Copy link
Owner Author

ap-- commented Jun 7, 2024

Hi @maitra-dipankar

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant