Unable to Locate the LabVIEW Run-Time Engine Error When Running LabVIEW Application

Updated Sep 13, 2021

Reported In

Software

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

Issue Details

  • I built an application using LabVIEW. When deploying the executable to another computer, I receive an error similar to the error shown below.
  • I installed the LabVIEW Run-Time Engine from the NI website. However, I still get an error asking for the Run-Time Engine when I run my Application.
  • I cannot find LabVIEW Run-Time Engine on my computer.
  • I am using a third-party program and it gives me an error that it cannot locate the LabVIEW Run-Time Engine.

 

Unable to locate the LabVIEW Run-Time Engine.
 

image

Solution

This error occurs because the Run-Time Engine (RTE) is from a version that is incompatible with the executable. 


LabVIEW 2017 and Later Versions

If your executable was written using LabVIEW 2017 or later versions, you have the opportunity to build compatibility into your executable to run with various RTEs.
  1. Verify the version of the LabVIEW Run-Time Engine on the deployment computer is compatible with your LabVIEW executable's version 
  2. Follow steps to Configure LabVIEW Executable to Run with Higher Run-Time Engine Versions
    • If you do not have the option to or choose not to rebuild you exe with this option enabled, continue on to the Install the Corresponding RTE section below

LabVIEW 2016 and Prior Versions

If your executable was built using LabVIEW 2016 or prior versions, LabVIEW Run-Time Engine (RTE) versions only support applications developed in the same major version of LabVIEW. The RTE version must match the LabVIEW Development System's bitness and major version. For example:
  • An application developed using LabVIEW 2016 32-bit requires the LabVIEW 2016 32-bit RTE.
  • An application developed using LabVIEW 2019 SP1 32-bit can run on either the LabVIEW 2019 32-bit RTE or the LabVIEW 2019 SP1 32-bit RTE (as 2019 is the major version).
  • An application built in LabVIEW 2016 32-bit cannot run on LabVIEW 2016 64-bit RTE.
 

Install the Corresponding RTE

To alleviate this error, install the corresponding RTE on your deployment machine.
  1. Determine the version of LabVIEW RTE needed. This can be accomplished in many ways depending on what you have access to:
    • The error code you receive should indicate the needed version of LabVIEW, and if needed, you can find the bitness of the executable by reviewing its header file.
    • If you have access to the development machine, check the version of LabVIEW used to write the program. Ensure that you note the major version and bitness of the LabVIEW development environment used.
    • If you received this application from a third-party or another developer, check with the developer or any documentation for the LabVIEW version and bitness used to create the application.
    • Download the correct LabVIEW Run-Time version onto the deployment computer.
      1. On your deployment computer, navigate to the LabVIEW Download page
      2. Under Included Editions select Runtime
      3. Select the Version and Application Bitness that match the application's development
      4. Press Download
    LabVIEW RTE Download.png
     

    If you have verified the correct version and bitness of the LabVIEW Run-Time Engine is already installed and you are still receiving this error, try rebuilding the application.
     

    Additional Information

    You can create an installer for your applications to ensure that all the needed software is installed with the executable and to streamline the deployment process.
    Enabling the "automatically select recommended installers" box in the Additional Installers tab will show you what Run-time versions are needed and what will be installed once the installer runs.


    You can refer to the following article to add the required software to your installer: Additional Installers in LabVIEW Application Builder. This process can be very useful when deploying executables to multiple computers.

    LabVIEW 32-bit Development Environment and LabVIEW 32-bit executables are compatible with both 64-bit and 32-bit operating systems. However, 64-bit LabVIEW Development Environment and LabVIEW 64-bit executables are compatible with 64-bit operating systems, but not 32-bit operating systems.