QE Pro -- data transfer error
dpmchugh opened this issue · 1 comments
dpmchugh commented
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
- close out of Anaconda Prompt
- unplug/replug the QE Pro
- restart script (then program runs for another couple hours before encountering this error
minimal code example and error (very helpful if available)
ap-- commented
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 😃