04-02-2012 04:21 AM
Hi all.
I have problems with NI-DAQ 6008 USB board. I am measuring analog signals. If I measure from more than one channel and i activate the logging, then after some time the board stop working and the signal express gives me the 50405 error speaking about buffer overflow. The light of the board is off and to make it work again I have to plug it in and out.
I have no idea where to start from for debugging.
Thanks
LM
04-02-2012 11:48 AM
How's it connected to the computer?
Right on one of the root hubs on the computer, or does it go through an external USB hub? Is that external USB hub powered?
Tried a different port on the computer?
Using a decent cable? Not in a noisy RF environment?
04-03-2012 01:18 AM
@SnowMule wrote:
How's it connected to the computer?
Right on one of the root hubs on the computer, or does it go through an external USB hub? Is that external USB hub powered?
Tried a different port on the computer?
Using a decent cable? Not in a noisy RF environment?
First of all thank you for the help.
The board is directly connected to the PC USB port. I tried different ports with the same result. I tried two different NI-DAQ devices and two different PC's, one with WIN7 and the other with WIN-XP. I disinstalled and reinstalled the software.
The only thing that chnges is the time that the card works, but after some time, usually less than one hour it crashes.
Please, explain what does it mean a decent cable and the noisy RF environment. By the way, the cards are connetted to LEMO connectors inside a metallic box.
Thanks.
Luca
04-03-2012 12:04 PM
Hi Luca,
The -50405 error happens when the host controller thinks that the transfer of the USB data did not complete successfully. It can be caused by a faulty USB hub, host computer, bad device, or even a bad USB cable. It sounds like you've already tried different computers and NI devices. Swap the USB cable if you can. There is a hotfix for XP that can be found here that's worth a try for your XP box.
Also there is a forum discussion that might be useful to you:
If you are still getting this error see if you can capture the exact error message. -50405 is not an error code for "buffer overflow", which makes it sound like there are multiple things happening. Post your code so the community can get a better idea of what is going on.
Best Regards,
Andrew S.
04-04-2012 08:17 AM
Now I am working with the same board, but on my laptop and it works pretty better. It works continuously for several hours before crashing. The cable is provided with the board and it is version 2.0. At this point I really think that the problem sits in the USB connection that can be more or less stable. I will try also with external alimented USB HUB.
The link you posted is by the way interesting.
Thanks again
Luca