This behavior is caused by one of two settings which are configured in the Application Properties for your application's build specification. These settings can be found on the below setting pages in Application Properties:
- Source File Settings
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 Settings
Within the Source File Settings tab, configure the following settings:
- 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.
Debugging can halt execution when an executable is launched. Make sure Enable debugging is unchecked.