Luna Posted August 8 Share Posted August 8 use scenarios: Quad08 connect to Raspberry pi via USB Hub, when execute daq_device[deviceno].connect(), below error happened. execute "lsusb", quad08 can be identified. not sure what is the root cause and how to resolve it? i found power off quad08, and power on again, this error disppear. Link to comment Share on other sites More sharing options...
0 Fausto Posted August 12 Share Posted August 12 Hello @Luna. Which Raspberry Pi module and OS are you using? Are you using the current version of UL for Linux (uldaq)? How many USB daq devices are connected to your Raspberry Pi? If using an external USB hub and it is not externally powered, please test your application with an externally powered USB hub. Test the 'c_in_scan.py' example found in the .../libuldaq-1.2.1/examples/uldaq-1.2.3/examples directory with your USB-QUAD08. If the screen capture in the initial post is from a custom example, please share the code. UL for Linux Python API Test the USB-QUAD08 device with InstaCal on a Windows system, if readily available. Does the device continue to show errors and not function? Regards, Fausto Link to comment Share on other sites More sharing options...
0 Luna Posted August 14 Author Share Posted August 14 On 8/13/2024 at 5:09 AM, Fausto said: Hello @Luna. Which Raspberry Pi module and OS are you using? Are you using the current version of UL for Linux (uldaq)? How many USB daq devices are connected to your Raspberry Pi? If using an external USB hub and it is not externally powered, please test your application with an externally powered USB hub. Test the 'c_in_scan.py' example found in the .../libuldaq-1.2.1/examples/uldaq-1.2.3/examples directory with your USB-QUAD08. If the screen capture in the initial post is from a custom example, please share the code. UL for Linux Python API Test the USB-QUAD08 device with InstaCal on a Windows system, if readily available. Does the device continue to show errors and not function? Regards, Fausto Hi Fausto, thanks for your reply. I replied your questions one by one as below. Raspberry 3b+, OS: buster yes, update uldaq version total 4 quads08 connected to pi via USB HUB, while USB hub has an extra power supply, and already provide power for this power supply already tested the 'c_in_scan.py' example, result as attached file. for this one "Test the USB-QUAD08 device with InstaCal on a Windows system, if readily available. Does the device continue to show errors and not function?", have not tested yet. will update later once tested. looking forward to your professional reply. thanks. Link to comment Share on other sites More sharing options...
0 Fausto Posted August 14 Share Posted August 14 Hello @Luna. Thank you for the responses. Your screen captures show four serial numbers (1000778, 1001103, 1001302, and 1001423). Connect one USB-QUAD08 at a time directly to your RPi 3B+ module and run the 'c_in_scan.py' example each time. Do all four tests fail or just when using one particular serial number? Regards, Fausto Link to comment Share on other sites More sharing options...
0 Luna Posted August 15 Author Share Posted August 15 17 hours ago, Fausto said: Hello @Luna. Thank you for the responses. Your screen captures show four serial numbers (1000778, 1001103, 1001302, and 1001423). Connect one USB-QUAD08 at a time directly to your RPi 3B+ module and run the 'c_in_scan.py' example each time. Do all four tests fail or just when using one particular serial number? Regards, Fausto Hi Fausto, when I tested one by one to connect to pi, all 4 ok with no errors. sometimes, even unplug and plug can resolve the issue, sometimes, kill the power to USB hub, and power on again can resolve the issue. I wonder in which abnormal scenarios, this error occur? and pls advice the root cause. thanks Link to comment Share on other sites More sharing options...
0 Fausto Posted August 15 Share Posted August 15 Hello @Luna. Thank you for verifying. Good to know that each USB-QUAD08 does not show an issue when no other device is connected. The issue may be with your USB hub. Please test another externally powered USB hub. Do not use power from the RPi to power the USB hub. You could also test your configuration with a Raspberry Pi 5 if you have one available. Regards, Fausto Link to comment Share on other sites More sharing options...
0 Luna Posted August 16 Author Share Posted August 16 12 hours ago, Fausto said: Hello @Luna. Thank you for verifying. Good to know that each USB-QUAD08 does not show an issue when no other device is connected. The issue may be with your USB hub. Please test another externally powered USB hub. Do not use power from the RPi to power the USB hub. You could also test your configuration with a Raspberry Pi 5 if you have one available. Regards, Fausto Hi Fausto, add 1 fact that the power supply of USB hub coming from external power instead of from PI. also, I did another testing that move 2 quad08 from USB hub to pi, which means 2 quad08 connect to pi directly, the other 2 still connect to USB hub, while the same error happened on the 2 quad08 that directly connecting to pi, so I assume that the problem not from usb hub. besides, may I know is there any improvement with Raspberry pi 5? and pls also advise in what scenarios will this error happen? help us for further investigation from the perspective of possible failure triggers. Link to comment Share on other sites More sharing options...
Question
Luna
use scenarios: Quad08 connect to Raspberry pi via USB Hub, when execute daq_device[deviceno].connect(), below error happened.
execute "lsusb", quad08 can be identified.
not sure what is the root cause and how to resolve it?
i found power off quad08, and power on again, this error disppear.
Link to comment
Share on other sites
6 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now