LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Including a dependent dll in an executable

Solved!
Go to solution

I am creating an executable on my windows development system (LV2011) and want to run it on one of my windows target systems, which has the appropriate runtime engine (2011) installed.

 

In general I usually don't have problems running executables on this target, but in this case the executable on the target system generates an error because of a missing dll (NiFpgaLv.dll).

 

I can see no way to make the build script include this dll (which is listed as a dependency on my development computer and works fine running on it.

 

This executable on the windows target is designed to interface with a desktop RT system containing a PCIe-7852, hence the NiFpgaLv.dll dependency.

 

Once I get past this problem, I am sure I will run into problems loading up the FPGA bitfile from the target computer.

 

I think my question is: Is there a procedure for deploying an executable to a windows target machine that will control a desktop RT machine containing an FPGA board (PCIe-7852).

Rick Foster
MIT Kavli Institute for Astrophysics and Space Research
0 Kudos
Message 1 of 6
(5,685 Views)

Hi Rick,

 

This KnowledgeBase describes how to build an executable from an FPGA VI. Also make sure your fpga bitfile is located in the same directory as your executable.The NiFpgaLv.dll is part of the NI-RIO driver. Make sure that it is installed of your RT desktop machine.


Sev K.
Senior Systems R&D Engineer | Wireless | CLA
National Instruments
0 Kudos
Message 2 of 6
(5,653 Views)

What is the link to knowledgebase article?

 

Thanks

Rick

 

Rick Foster
MIT Kavli Institute for Astrophysics and Space Research
0 Kudos
Message 3 of 6
(5,645 Views)

Sorry, didn't see the "This" was the link .. duhh.

 

Rick

 

Rick Foster
MIT Kavli Institute for Astrophysics and Space Research
0 Kudos
Message 4 of 6
(5,644 Views)

That link to the knowledge base seems not to point to anything.

 

 

Rick

 

Rick Foster
MIT Kavli Institute for Astrophysics and Space Research
0 Kudos
Message 5 of 6
(5,578 Views)
Solution
Accepted by topic author Rick_F_Foster

Someone at NI needs to train their service people not to post links that point to ae.natinst.com, since that's an internal NI server not available externally and this happens frequently.  You can usually get the same KB article by copying the document number from the end of the URL and then appending it to http://digital.ni.com/public.nsf/allkb/.  In this case, the article you want is http://digital.ni.com/public.nsf/allkb/17EA4DD6AAECD50A862570A7004B6146

Message 6 of 6
(5,573 Views)