Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

Using the LabVIEW Run-Time Engine

LabVIEW 2011 Help

Edition Date: June 2011

Part Number: 371361H-01

»View Product Info
Download Help (Windows Only)

All computers on which you want to run LabVIEW stand-alone applications or shared libraries must have the LabVIEW Run-Time Engine installed. The LabVIEW Run-Time Engine includes the libraries and other files necessary to run applications and shared libraries built in LabVIEW.

The LabVIEW Run-Time Engine also includes the following features:

  • A Web browser plug-in that allows clients to view and control front panels remotely using a Web browser
  • NI Reports, which provides support for generating LabVIEW reports in applications and shared libraries
  • 3D graph support
Note  The LabVIEW Run-Time Engine is multilingual. You do not have to include multiple versions of it with an application, shared library, or installer for which you set a language preference.

If you use the Application Builder to build an installer for an application or shared library, you can add the LabVIEW Run-Time Engine to the installer build. From the Additional Installers page of the Installer Properties dialog box, place a checkmark in the NI LabVIEW Run-Time Engine checkbox in the National Instruments Installers to Include listbox.

All applications and shared libraries built with a particular version of LabVIEW share the same LabVIEW Run-Time Engine, so you need to install the LabVIEW Run-Time Engine for that version only once. If you use LabVIEW 7.x and earlier and want to run applications or shared libraries created with different versions of LabVIEW on the same computer, the computer must have a version of the LabVIEW Run-Time Engine that is compatible with each version of LabVIEW used to create the applications or shared libraries. For example, if you want to run an application created in LabVIEW 7.0 and an application created in LabVIEW 8.0 on the same computer, the computer must have versions 7.0 and 8.0 of the LabVIEW Run-Time Engine. In LabVIEW 8.0 and later, you can use shared libraries in multiple versions of LabVIEW or in multiple versions of the LabVIEW Run-Time Engine, if you create shared libraries using labviewv.lib.

An installer for the LabVIEW Run-Time Engine is located on the LabVIEW DVD or CD. Refer to the National Instruments Web site to download the latest version and other versions of the LabVIEW Run-Time Engine.

Considerations for the LabVIEW Run-Time Engine

  • The LabVIEW Run-Time Engine must be installed on any computer on which users run the application or shared library. You can distribute the LabVIEW Run-Time Engine with the application or shared library. (Windows) You also can include the LabVIEW Run-Time Engine in an installer. You must log on as an Administrator or a user with administrator privileges to run an installer you build using the Application Builder. (Linux) When you install the LabVIEW Run-Time Engine on a target computer where you want to run an application that uses the Mathematics or Signal Processing VIs, enter yes when prompted to install the LabVIEW Run-Time Advanced Analysis Support package (labview-rte-aal-1.1-1.i386.rpm).
  • Some VI Server properties and methods are not supported in the LabVIEW Run-Time Engine. Avoid using these properties and methods in the VIs you include in an application or shared library.
  • Incorporate error handling into the VIs of the application because LabVIEW does not display automatic error handling dialog boxes in the LabVIEW Run-Time Engine.
  • If the VI uses custom run-time menus, make sure the application menu items that the VI uses are available in the LabVIEW Run-Time Engine.
  • When you close all front panel windows in an application, the application stops. If the VI you build into the application contains code that executes after the last front panel window closes, this code does not execute in the application. Avoid writing block diagram code that executes after the last front panel window closes.
  • If you reference a VI in an application using the Call By Reference node, if a VI uses Property Nodes to set front panel properties, or if a front panel window appears to users, remove the checkmark in the Remove front panel checkbox for that VI from the Use default save settings section on the Source File Settings page of the Application Properties dialog box. If you remove the front panel window, the Call By Reference node or Property Nodes that refer to the front panel window will return errors that might affect the behavior of the application.

 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit