04-11-2012 04:33 PM
Ok, what we have here is a bit of fumbling in the dark... I haven't built a executable/installer since I was working with LV8.6, so please bear with me here... before anyone ask, yes I did search!
Here's my process at this point...
I have a VI that is working as desired. I wish to make this a standalone executable that I can run on another computer to manage some controls.
I have the 2009 LV runtime engine installed on said computer.
I then open my VI, again verify that it is working as desired, and add a new Project.
This VI is added to the project.
I now have the project explorer open, and select Build Specifications and select New/Application(EXE)
On the following tabs I take the following actions...
Information... No action taken
Source Files... I select the VI and add it to the Startup VIs list
Destinations... No action taken
Source File Settings... No action taken
...and basically leave all the rest at their defaults.
Hit Build and it builds "My application", which is added below the Build Specifications file.
I took that folder with the exe file included and tried to run it on my target computer and it comes up missing the afore mentioned nilvaiu.dll
Now, am I making this too simple? Missing some steps? I also went down the path of making a installer and get the same missing dll when I run it.
I'm more than willing to read and learn, but I'm either just not searcing for the correct terms or in the right places. A point in the right direction would be much appreciated guys!
Thanks,
Chad
Solved! Go to Solution.
04-11-2012 04:55 PM
nilvaiu.dll installs with DAQmx
04-11-2012 06:14 PM
I'll give that a shot in the morning! Thank you!
C
04-12-2012 10:29 AM
Do I only need to check the two you have shown? ...or do I need to check all three DAQmx files?
Thanks,
C
04-12-2012 10:39 AM
As for the dll problem, this is solved. I'll start another post with my next issue... Thank you JB!
Chad
08-26-2013 05:34 PM
How do you do the same in LV2012? Don't see that option anywhere.
Thanks
08-27-2013 09:46 AM
Hello Tellerium,
For 2012 it should be the same. If you create a new installer in Build Specifications in your project. In the Category list, you will see Additional Installers and you can select DAQmx. You will have the same three options and the check boxes underneath.
06-05-2014 10:43 PM
Kinda necroing an old thread here but I am having the exact same plroblem. Working from an XP development PC to a windows 7 Deployment PC after creating an installer containing NIDAQmx 9.9.0 and NIDAQmx Max configuration support installing and running generates:
Missing SubVI DAQmx Read (Analog 1D)
Missing SubVI DAQmx Clear Task
Missing external function nilvaiu.*: DAQReadNXhanNSamp1DWfm:C
Any reason this would still be showing up even if NI-DAQmx is installed?
06-06-2014 06:59 PM
Hi ogk.nz,
Have you included all three DAQmx installers and checked both boxes at the bottom of the window as shown in amezam's post when you built your installer? There may also be a compatibility issue, as DAQmx 9.9 is not supported on LabVIEW 2009. Try reverting to DAQmx 9.7 or upgrading to LabVIEW 2010 as per this compatibility chart:
http://digital.ni.com/public.nsf/allkb/B0D5630C0A50D5C6862578E800459248
Regards,
06-08-2014 03:46 PM
Yeah, I uninstalled everything including the 2009 runtime and replaced them all with the 2012 Runtime and DAQmx 9.9 and it all runs, apparently must have just been a version clash or something.