Error Dialog Popup Not Showing After Compiling LabVIEW VI into EXE

Updated Dec 12, 2018

Reported In

Software

  • LabVIEW

Issue Details

I have a VI that produces an error and will show the error dialog popup when I run it from LabVIEW. However, after I make it into an executable, I don't see any error popup anymore. Would it affect the functionality of my application?

Solution

This is because automatic error handling is enabled on your VI. This means that for any nodes with unwired error out terminal, LabVIEW will automatically handle the error by suspending execution, highlighting the subVI or function where the error occurred, and displaying an error dialog box.
However, automatic error handling is disabled on the EXE because LabVIEW Run-Time Engine does not support automatic error handling. So, you have to manually handle the error for EXE application. The simplest way to handle error is by wiring all error terminals for subVIs and functions and call Simple Error Handler VI at the end of your program.

Additional Information

Leaving the error unhandled will not affect the functionality of your application. However, if your application does not work properly, you won't have any information why it happens and where the error occurs.

WAS THIS ARTICLE HELPFUL?

Not Helpful