Why Doesn't My LabVIEW Executable Run Automatically When Opened?

Updated Feb 26, 2018

Reported In

Software

  • LabVIEW Base
  • LabVIEW Full
  • LabVIEW Professional
  • LabVIEW
  • LabVIEW Application Builder Module

Operating System

  • Windows

Issue Details

I want my executable to start when I open the .exe file. However, it does not start when opened and I have to manually start it with the run arrow. How can I get it to start/run automatically when I launch the executable?

Solution

There are two places where settings could cause your executable to not run when opened. Both are categories in the Application Properties.
  1. Source File Settings
  2. Advanced
You can get to Application Properties by right clicking your executable in your LabVIEW project and selecting Properties. It will also pop up automatically when you create a new executable with Build Specifications » New » Application (EXE).

1. Source File Settin​gs
Confirm that the Inclusion Type of your main VI is set as Startup VI.

Open Customize VI Properties. You have the option here to either use the VI settings or override them. The following steps will override the VI settings and force it to always run when opened. Confirm that Run when opened is checked. Uncheck Allow debugging.

2. Advanced
Debugging can halt execution when an executable is launched. Make sure Enable debugging is unchecked.
If you are experiencing the opposite problem and do not want your executable to run when opened, see the links below.

WAS THIS ARTICLE HELPFUL?

Not Helpful