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

QE Pro -- data transfer error #123

Open
dpmchugh opened this issue Jul 20, 2021 · 1 comment
Open

QE Pro -- data transfer error #123

dpmchugh opened this issue Jul 20, 2021 · 1 comment

Comments

@dpmchugh
Copy link

dpmchugh commented Jul 20, 2021

spectrometer and system information

  • model: QE Pro
  • operating system: Windows 10 -- 64 bit
  • python version: 3.8.3
  • python-seabreeze version: 1.3.0
  • installed-via: pip

current problem

QE Pro runs fine for an hour or so, but then halts the script and produces a "data transfer error" (similar to issue #69). See the attached image below -- I believe it's coming from the cseabreeze._wrapper.

steps to reproduce

  1. close out of Anaconda Prompt
  2. unplug/replug the QE Pro
  3. restart script (then program runs for another couple hours before encountering this error

minimal code example and error (very helpful if available)

@ap--
Copy link
Owner

ap-- commented Jul 21, 2021

Hi @dpmchugh

Looking at the traceback I am guessing that your code periodically re-instantiates the Spectrometer class.
Could you provide the relevant code from you codebase that takes the measurement?
My current guess is, that if you just instantiate the Spectrometer class once your problem will go away.

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

2 participants