Skip to content

USB650: USBError Overflow #245

@ap--

Description

@ap--
          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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions