LabVIEW Executable Is Closed Immediately After Start

Updated Aug 17, 2023

Reported In

Software

  • LabVIEW

Operating System

  • Windows

Issue Details

I created an executable in LabVIEW and want to start it. The program closes immediately after start. 
No error message appears, error handling code in my application is not executed, because program immediately closes. 
What can I do to find out the cause?

Solution

  1. Please check the (external link) windows event viewer to search for events in relation to your executable
  2. Please check that the program execution is allowed by windows defender or other antivirus software. When this is not the case please (external link) add an exclusion to windows defender or in your antivirus software. 
  3. Please check if in your program the function Quit LabVIEW is executed although you did not expect this