Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Error 10401 when running LabView

To start, I am using a PCI 6032E, SC-2345, SCC-SG04, and load cell as my means of DAQ. I have configured a VI for this both in traditional and DAQmx using the example on this site. I can also run a test in MAX and if I push on the load cell, the reading changes. However, when I try to run the strain.vi LabView program found on this site, I get an error 10401. I tried closing the programs and opening them again, but I still get the error. I even have tried restarting the computer, but I still receive the error. Any suggestions? Thanks.
0 Kudos
Message 1 of 4
(3,630 Views)
Greetings,

Could you post the url of the page containing the strain.vi you are using? I want to make sure I'm looking at the same VI you're using.

One quick thought would be to look at the device number that the strain VI is referencing. It's possible that the default device number for the program doesn't exist on your computer. For instance, if the program is set for device 2 and you only have a device 1 configured in MAX, you would receive this error. So, you would need to check the device number in the program and make sure it's pointing to a DAQ device that's configured in MAX.

If this doesn't help, send me the link to the example program and I can take a look at other possibilities.

Regards,

Todd D.
NI Applications Engineer
0 Kudos
Message 2 of 4
(3,629 Views)
Here is the link.
http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=B45EACE3ECAF56A4E034080020E74861&p_node=DZ52000&p_submitted=&p_rank=&p_answer=&p_source=External

It is an SCC series example.
Also, I just tried deleting the board from MAX and then reinstalling it. I now have different problems. The board is recognized by Windows and by MAX under both the traditional and mx devices. When I test the board under the mx device, it passes both the self test and test panels. However, when I try testing the traditional device, it does not pass the test resources or self test. On the self test, I get an Error 10401. I tried reinstalling the board after this, but the same thing still happens. Also, I tried resetting the driver, but that
does not work either. Hopefully you can help. Thanks.
0 Kudos
Message 3 of 4
(3,629 Views)
After looking at the program I think I might know why you were receiving the 10401 error with the program. By default, the program doesn't give a channel to acquire from. The array of channels is empty (grayed out) initially and you will get the 10401 error until to enter a channel number or select a virtual channel.

With regards to the new problem, what OS do you have? If you have Windows 2000/XP, then here is what I would try. Go to the device manager in Windows and choose to uninstall the device. Then go into MAX and refresh (press F5) and make sure that the device doesn't appear in Traditional NI-DAQ folder (you may have to delete the device in NI-DAQmx). Close MAX. Then, go back to the device manager and choose Action>>Scan for hardw
are changes and let Windows reinstall the device. Now, go to MAX and test the device in Traditional NI-DAQ and NI-DAQmx.

Let me know if this doesn't get things working.

Regards,

Todd D.
0 Kudos
Message 4 of 4
(3,629 Views)