LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Creating a LabView application. Missing dll

Running LabVIEW 2013 with Application builder.

 

I'm having a hard time creating an application that will run on a PC with LabVIEW RunTime engine.

I have a USB Spectrum Analyzer that is accessed though a DLL. 

Upon launching the executable, I get an error saying that the DLL is missing and subsequently, all the subVi's are missing that call that DLL. (see attachment)

I've tried adding the DLL to the project and "Always Include" the DLL and the Top level Vi's that call the DLL into the Build Specifications.

I've also added the full Vi library for this device under the appropriate LabVIEW path under Program files.

 

I must be missing something in the process.

0 Kudos
Message 1 of 2
(120 Views)

It seems that you are missing SubVIs, rather than DLLs (or not only DLLs). When a DLL is missing, it is usually clearly indicated in the dialog:

Screenshot 2026-09-01 08.10.21.pngScreenshot 2026-09-01 08.10.21.png

Check that not only the libraries but also the SubVIs are added to the "Always Include" list. If they are called dynamically, make sure the paths are also correct relative to the application.

Keep in mind that the relative paths in the development environment and at runtime are slightly different. In the case of a built application, the executable name is included in the path and should be stripped from the relative path.

The DLLs are usually placed in the \data subfolder.

0 Kudos
Message 2 of 2
(73 Views)