Why Does My LabVIEW Executable Not Work On Another Computer?

Updated Dec 14, 2018

Reported In

Software

  • LabVIEW
  • LabVIEW Application Builder Module
  • LabVIEW Run-Time Engine

Issue Details

  • I have created an executable of my LabVIEW application using the Application Builder and it works fine on my PC but doesn't work on my colleagues PC. Have I created the correct product or should I create an installer? 
  • I sent an LabVIEW executable to a customer but my customer is unable to run it on his computer. Dialog box pops up with "LabVIEW: Resource not found." How can my customer run my executable?

Solution

  1. A PC must have all the required toolkits, drivers, and run-time engines installed that were used to develop the LabVIEW application. When interfacing with hardware, the correct hardware drivers must also be installed on the computer (DAQmx, 488.2, etc). These can manually be installed or included in an Installer along with the executable.
  2. Check to make sure the LabVIEW Run-Time Engine installed is compatible with the LabVIEW version the executable was developed in. 
  3. Executables are platform-dependent and must be built on the same version of the same operating system as the target computer.

Additional Information

Two deliverables the Application Builder can create are Stand-alone Applications and Installers. The two have unique use cases and it is important to understand when to use one versus the other.

Stand-alone Applications

  • Use stand-alone applications to provide other users with executable versions of VIs. (Windows) Applications have a .exe extension. (Mac OS) Applications have .app extension. 
  • Stand-alone applications only contain the LabVIEW VI's and do not contain any other resources needed to run. For the executable to run, the PC must have the necessary run-time engines, drivers, etc. 

Installers 

  • (Windows) Use Installers to distribute stand-alone applications, shared libraries, and source distributions that you can create with Application Builder.
  • Installers can include drivers and libraries to ensure the user's PC has all the resources the .exe is dependent on.
  • Installers can also include custom installer graphics to customize the installation experience. 

WAS THIS ARTICLE HELPFUL?

Not Helpful