04-27-2011 02:30 PM
Hello All,
I am trying to run a "1.exe" on a windows 7 PC created from a Labview 2010 version.
It gives me a following error
"The Program cant start because WDAPI900.DLL is missing from your computer"
However the previous version of labview 2009 "2.exe" file works absolutely fine on the same Windows 7.
I tried running the Labview 2010 "1.exe" file on Windows Vista and it runs absolutely fine.
Any ideas?
04-29-2011 08:37 AM
Hello Rambo333,
Was your executable built in LabVIEW 2010? If it was not, this might explain the error. Also, is there a reason you must run the executable in 2010 on Windows 7? If so, you could download the missing DLL and put it in the System 32 folder.
Jordan G.
04-29-2011 09:36 AM
Hello Jordan,
Thanks for your reply.
Yes,my executable was built in Labview 2010.
One of the systems running the executible is on Windows 7 and we are planning to upgrade all our systems to Windows 7 in the near future.
I have no problems running the executible on Windows Vista and XP.
Is this a known issue with Labview 2010?
As mentioned earlier, executable built using Labview 2009 runs without any problems on Windows 7.
I appreciate your help.
04-29-2011 10:04 AM
Just to be clear, you have installed the RTE 2010 on the windows 7 machine ? ( RTE = Run-time engine)
04-29-2011 10:26 AM
Hello dkfire,
Yes, LVRTE 2010 sp1 has already been installed on windows 7 machine.
05-02-2011 10:49 AM
Do you have both Run-Time engines (2009 and 2010)? You can check this in Measurement and Automation Explorer (Start>> National Instruments>> Measurement & Automation). Under the Software tab you can view your Run-Time engines.
If you do not have both, you can download them from our website www.ni.com/drivers.
Have you tried to run this executable on another computer with LV 2010 and Windows 7?
Another option would be running a repair on LV 2010 to repair any corruption that might be causing this problem.
Jordan G
05-02-2011 11:21 AM
Hello Jordan,
Yes, i checked on the software tab under Measurement and automation tab,
I have both Labview 2009 SP1 and Labview 2010 SP1 RTE's installed on windows 7 machine.
Unfortuunately, i do not have other win 7 machine right now, but ill run it in the evening and let u know the result.
Regarding repair of LV 2010, Are you suggesting a repair to the RTE or my LV 2010 software?
05-02-2011 11:38 AM
I created another .exe file from LV 2010 and ran it on win7 PC.
It ran perfectly fine.
The difference between this file was, i was just using a serial port for communication.
On the other program i was using a winI2c interface along with options to choose from NI 8451 and serial interface.
The error messages i am getting are as attched.
Error 1 is the 1st message i get as soon as u open the program.
After pressing OK, i get a bunch of other error messages as shown in Error2.
I have already installed latest Win-I2CUSB on win 7 machine.
05-03-2011 04:38 PM
This KnowledgeBase article specifically addresses that second error you are experiencing. There are step by step instructions in this article to display the front panels of subVIs while your program is executing. Implement these changes and let me know if you continue to get that same error.
http://digital.ni.com/public.nsf/allkb/8F68715444302CAB86256DDD0071C140?OpenDocument
Also when I mentioned repairing LabVIEW, I was referring to repairing the run-time engine. This would be one more trouble-shooting step to take.
Jordan G
05-06-2011 05:16 PM
Hello ordon,
Sorry for the late reply.
I already had tried the procedure, however it does not seem to make any difference.
As mentioned earlier, i am still gettind error1 and then repeated error 2 (as attached earlier) and the VI comes as broken.
Also, the same VI.exe works perfectly fine on Windows XP and Vista machines.
Thanks