This content is not available in your preferred language.

The content is shown in another available language. Your browser may include features that can help translate the text.

Unable to Locate the LabVIEW Run-Time Engine Error In LabVIEW Application

Updated Dec 22, 2023

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 LabVIEW 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 target PC does not have the proper LabVIEW Run-Time Engine (RTE) compatible with the executable. Follow the next guidelines to determine the proper LabVIEW RTE you require.


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. Even so, all LabVIEW applications can only be run on LabVIEW RTEs with the same bitness. For example, a LabVIEW 32-bit application requires the 32-bit LabVIEW RTE, and a LabVIEW 64-bit application requires the 64-bit LabVIEW RTE.
  1. Verify the version of the LabVIEW Run-Time Engine on the deployment computer is compatible with your LabVIEW executable's version  
  2. Follow the 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 your exe with this option enabled, continue 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 versions only support applications developed in the same major version of LabVIEW. The RTE version must match the LabVIEW Development System's bitness as well. 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 RTE version onto the deployment computer by going to the LabVIEW Run-Time Download page. You can also download the RTE as follows:
      1. 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.