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.
Use the application instance name that appears in the bottom left corner of the front panel and block diagram windows to identify which application instance a VI belongs to. The application instance name includes the project name followed by the target name, such as Project 1.lvproj/My Computer.
If you remove a VI from the Project Explorer window when the VI is open, the open VI remains in the same application instance. If you close and reopen the VI, LabVIEW opens the VI in the current application instance.
If you add an open VI to a project by selecting the VI icon in the upper right corner of a front panel or block diagram window and dragging the icon to a target in the Project Explorer window, the open VI is not part of the application instance for the target until you close and reopen the VI from the Project Explorer window.
You can open the same VI on disk in multiple application instances at the same time. For example, you can open the same VI in two different projects or from two different targets within a project.
If you edit a VI that is open in only one application instance and then open the VI in another application instance, the VI you just opened contains the latest changes from the edited instance of the VI. However, if you edit a VI that is already open in more than one application instance, LabVIEW does not automatically apply the changes to the VI in the other application instances. You cannot edit, run, or save the VI in the other application instances until the VI is the same in all application instances.
Use one of the following methods to make the VI the same in all application instances:
![]() |
Note You cannot undo edits to the VI after you save or synchronize the VI. |
You cannot edit a VI while it is running or reserved for execution in another application instance. If a VI is part of a project library, LabVIEW also temporarily locks the project library in all application instances when the VI runs. You cannot edit the project library while the VI is running. After the VI stops, LabVIEW unlocks the project library.