Resource Not Found Error When Running My LabVIEW Executable

Updated Jan 29, 2020

Reported In

Software

  • LabVIEW Professional
  • LabVIEW Application Builder Module

Issue Details

I have developed a VI which I can run successfully on my development machine.  I then created an executable and deployed it to a stand-alone machine. However, when I run the executable on this machine I receive the LabVIEW: Resource not found error. I tried to put the DLL directly in the executable directory with no success. Why am I encountering this error? 

Solution

This error is occurring because the LabVIEW executable cannot locate the files associated with the hardware device in use (the host may have an open reference and other VIs that depend on hardware components).  To solve this error, you need to install the appropriate driver on the stand-alone machine which supports these VIs.  This can be done by including the appropriate driver in your LabVIEW application installer or by manually installing the drivers on the stand alone machine. 


If using the Call Library Function Node, use a programmatic file path with the Application Directory and Build Path functions instead of browsing to the folder by double clicking on the Call Library Function Node. This method is shown below:


If the above information does not solve the issue, make sure that the DLL that you are calling was built with the same bitness as the LabVIEW version you are using.
 

Additional Information

Note: The LabVIEW Run-Time engine is also necessary for running LabVIEW executables on a stand-alone machine. Make sure that this version and bitness of LabVIEW Run-Time matches that of the development LabVIEW environment.