Programmatically Launch a VI from an Instance in LabVIEW

Updated Nov 20, 2023

Reported In


  • LabVIEW
  • LabVIEW Real-Time Module

Issue Details

I want to programmatically launch a VI from a specific target in my project.


LabVIEW creates an application instance for each target in a LabVIEW project. When you open a VI from the Project Explorer window, the VI opens in the application instance for the target. LabVIEW also creates a main application instance, which contains open VIs that are not part of a project and VIs that you did not open from a project.

To specify the application instance, you need to get the reference of the target you want to use and use that reference to run the VI as show in the figure below.