Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

While running an executable VI, I get Error 10001

Ultimately, I am trying to copy a stand-alone executable labview program from 1 computer to another. When I try to run the program and acquire data through the DAQ, I get "Error -10001 occured at AI Group Config." How can I resolve this without being able to modify the code itself?
 
Specs on computers:
Original: Windows 98 platform, no LabView installed
New: Windows XP platform, no LabView installed
 
Specs on executable:
Originally written using LabView 6.0. I've updated the Run-Time Engine in the new computer with RTE 6.1
 
Components: In order to duplicate the original computer setup, we recently purchased identical components.
BNC-2120
NI PCI-6023E
 
I have minimal experience in LabView, so any assistance is useful.
0 Kudos
Message 1 of 4
(3,205 Views)
Hi,

The -10001 error is a problem with the board having a different name on each computer.  I would suggest looking at the Measurement and Automation Explorer(MAX) setups on both systems and making sure that they are the same.  On the PC that it works on do you have a virtual channel created?  I would make sure to get both of your devices on the different PC having the same name.  If everything is the same in MAX then these devices should be working correctly.  I would also like to know which version of the DAQ driver are you using.  It is most likely a traditional DAQ driver, but it would be good to know that they both have the same DAQ driver installed.  You can check this in the software tree of MAX. Please get back to me so we can stay on top of this issue.

Have a great day,

Michael D
Applications Engineering
National Instruments
0 Kudos
Message 2 of 4
(3,190 Views)
Hey MickeyD,
 
I've created another computer using Win98 platform, instead of XP, so I can duplicate the exact setup.
  • I verified the DAQ driver on the original computer, which is Traditional NI-DAQ 6.9.1, and downloaded that software and installed it into the duplicate computer.
  • I verified the PCI device number; they are both "Device 1".
  • I installed LabView RTE 6.0.2, which is the requested RTE in order for the executable to open, which it does. The exe will not let me open it until I've downloaded the 6.0.2 RTE
Result:  I still get the same error.
The only difference I see in the MAX software tree in the original (working exe) versus the duplicate (non working exe) is that the original also has LabVIEW Run Time 7.0. Could this be the problem? Other than that, everything is the same.
 
You asked whether or not I have a virtual channel created on the working computer, but I do not know how to verify that. Please clarify.
 
Thanks,
Ken
0 Kudos
Message 3 of 4
(3,179 Views)

Hey MickeyD,

In another forum, someone has informed me of the virtual channel copying. I copied the virtual channels over and it solved my problem. Thanks for your input!

Ken

0 Kudos
Message 4 of 4
(3,172 Views)