LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Missing .dll? (nilvaiu.dll) ...when building an installer in 2009.

Solved!
Go to solution

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

 

0 Kudos
Message 1 of 10
(10,240 Views)
Solution
Accepted by topic author chuggins1434

CM.png

 

nilvaiu.dll installs with DAQmx


"Should be" isn't "Is" -Jay
Message 2 of 10
(10,238 Views)

I'll give that a shot in the morning!  Thank you!

C

0 Kudos
Message 3 of 10
(10,235 Views)

Do I only need to check the two you have shown?  ...or do I need to check all three DAQmx files?

Thanks,

C

0 Kudos
Message 4 of 10
(10,227 Views)

As for the dll problem, this is solved.  I'll start another post with my next issue...  Thank you JB!

Chad

Message 5 of 10
(10,224 Views)

How do you do the same in LV2012?  Don't see that option anywhere.

 

Thanks

0 Kudos
Message 6 of 10
(9,085 Views)

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.

 

daqmx.png

0 Kudos
Message 7 of 10
(9,075 Views)

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?

0 Kudos
Message 8 of 10
(8,529 Views)

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,

David R
Systems Engineer
National Instruments
0 Kudos
Message 9 of 10
(8,490 Views)

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.

0 Kudos
Message 10 of 10
(8,465 Views)