NI Home
Cart Cart | Help
Hello Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI
You are here: 
NI Home > NI Developer Zone > NI Discussion Forums


Reply
Member
Mole.Luca
Posts: 3
0 Kudos

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

Active Participant
SnowMule
Posts: 687
0 Kudos

Re: NI-DAQ 6008 stops acquiring. error 50405

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?

Member
Mole.Luca
Posts: 3
0 Kudos

Re: NI-DAQ 6008 stops acquiring. error 50405


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

Member
salidobitbetter
Posts: 23
0 Kudos

Re: NI-DAQ 6008 stops acquiring. error 50405

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
Member
Mole.Luca
Posts: 3
0 Kudos

Re: NI-DAQ 6008 stops acquiring. error 50405

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

By using this web site, you accept the Terms of Use for this web site. Please read these Terms of Use carefully before using any part of this site. Please go here for information on ni.com's copyright infringement policy.
My Profile | Privacy | Legal | Contact NI © 2011 National Instruments Corporation. All rights reserved.    |    E-Mail this Page E-Mail this Page