-
-
Notifications
You must be signed in to change notification settings - Fork 82
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
FLAMES sporadic data transfer error #129
Comments
Hi @joellama, what does cat /sys/module/usbcore/parameters/autosuspend return on your ubuntu 20.10 machine? Cheers, |
Uhoh, I really hope it's not something stupid like that! It says 2? Can't seem to find any documentation on what that actually means. |
You mentioned it's sporadic, so my guess would be some weird USB problem... I think usb autosuspend is disabled by adding: I hope that helps. If not we'll have to dig a little deeper and try to create a reproducible error case. |
Thanks for this @ap--. I've swapped out the USB cables just to be safe and have set |
You're welcome 😊 |
Hi @ap--, sadly this didn't help and I'm still getting random dropouts and the code hanging. I'm now trying the windows softare that comes with the spectrographs to see if that can handle running for 12 hours straight. |
Hi Joel, Another thing worth trying would be to run the 3 spectrometers in three different processes. (You could test by running a script continuously with only one spectrometer.) Did your tests with the default software run for more than 12h? |
spectrometer and system information
current problem
I have a script that connects to 3 spectrometers and samples them every second to record the intensities. The problem is that everything works for a given amount of time (sometimes tens of minutes, sometimes hours) and then the code just hangs. On Ctrl+C I get a data transfer error.
minimal code example and error (very helpful if available)
The text was updated successfully, but these errors were encountered: