Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Error -50405 in a DAQ Assistant using USB 6008

I have tried to create new task for AI and AO for my usb 6008. When I pressed test button i habe got this"Error -50405 occurred at Pump - DAQ Assistant
Possible Reason(s):
No transfer is in progress because the transfer was aborted by the client. The operation could not be completed as specified.".
Does somebody know where this problem comes from?
Thanks. Sergey.
0 Kudos
Message 1 of 19
(9,618 Views)
I would like to add some more info. This program works well on  my PC but gives error on a laptop.
As far as I am concern that both computerc have the same set of software. So the only difference could be just some settings in MAX or somewhere else.
0 Kudos
Message 2 of 19
(9,603 Views)

Dear Sergey,

Are you still getting this error? It sounds like you have a corrupt driver on your laptop. Go into Add/Remove Programs in the Control Panel and uninstall the Measurement and Automation Explorer (MAX) and NI-DAQ. Then download and install NI-DAQmx 7.5. If you still get the error please attach the smallest piece of your program that still gives you an error so I can take a look at it. Have a great day!

Sincerely,

Marni S.

0 Kudos
Message 3 of 19
(9,577 Views)
I had this error when I used my laptop last time.
It appears not every time I run the program but something like 50/50. I have to restart the laptop after this error and after that it works fine(but remember it is 50/50 probability).
And I would like to add some more: when I am getting this eror in LabView after closing it and checking USB DAQ 6008 in MAX I am getting the same error.
I'll check it tomorrow again and post my VI(it is pretty small).
Thanks. Sergey.
0 Kudos
Message 4 of 19
(9,569 Views)

Hi Marni, I am back with my problem.

Yesterday I uninstalled all NI software from my laptop then I installed back 7.5 drivers and than Labview7.1.

And I ended up with the same problem. The error appears either on starting up execution of my code or sometimes after severeal minutes of running.

To get it work back it is enough to disconnect USB 6008 from my laptop and connect it back. After that it works.

I will add some info on the error.

First error appears:Error -50405 occurred at DAQmx Read (Analog DBL 1Chan 1Samp).vi

 

after I try to run the program again it says:


Error -50150 occurred at DAQmx Start Task.vi
Possible reason(s):

The software has entered an unknown state - usually as a result of a cascade failure induced by an unexpected series of state inputs. The operation could not be completed as specified and you should immediately terminate all further transactions if you are able to do so.

Task Name: _unnamedTask<8>

 

 

So after that this error appears on every program restart. USB reconnection helps.

I have attached the sample of my code. It is not so big and complicate.
Thanks. Sergey.

0 Kudos
Message 5 of 19
(9,522 Views)
Hi Sergey,

I opened your VI and hit run and it works fine without any errors being generated. If you don't see this work and you've gone through the process of completely reinstalling software, it could be that the device has a fault. Have you tried this on another PC/laptop, and if not would this be possible?

If it does look like a faulty device, contact your local National Instruments branch and they can organise a return.

Regards,

Stuart
0 Kudos
Message 6 of 19
(9,496 Views)
OK, I've back tracked through the postings and see that it works on a PC. Could it be a problem with the USB port on the laptop? Do you have other ports that could be used?
0 Kudos
Message 7 of 19
(9,498 Views)
We have ordered Application Builder. I would like to try it with .exe file. I'll let you know when I'll get the resilts.
Thanks. Sergey.
0 Kudos
Message 8 of 19
(9,490 Views)
I have checked exe file I have created on laptop and found that the problem is still there. It is HP(Compaq nx6110) laptop.
I have checked exe file on Toshiba Satellite 1110 and there are no problem with stability.
Do you have any suggestions?
Sergey.
0 Kudos
Message 9 of 19
(9,465 Views)
I have tried to use both USB ports on HP laptop and did not make a difference. I assume that it could be problem of hardware on Laptop but I do not know how to test this USB ports. This USB 6008 does not work just sometimes not all the time.
Sergey.
0 Kudos
Message 10 of 19
(9,456 Views)