Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

NI-DAQ 6008 stops acquiring. error 50405

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

0 Kudos
Message 1 of 5
(3,018 Views)

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?

0 Kudos
Message 2 of 5
(3,010 Views)

@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

0 Kudos
Message 3 of 5
(2,993 Views)

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:

http://forums.ni.com/t5/Multifunction-DAQ/Problem-with-USB-9233-50405/m-p/959888/highlight/true#M509...

 

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.

 

Application Engineering Specialist
National Instruments
0 Kudos
Message 4 of 5
(2,975 Views)

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

0 Kudos
Message 5 of 5
(2,958 Views)