Create Custom Warnings in LabVIEW

Updated Jul 30, 2018

Reported In

Software

  • LabVIEW

Issue Details

How do I create a custom warning instead of a custom error in LabVIEW?

Solution

To generate a warning instead of an error in LabVIEW, create an error cluster with a non-zero error and a false Boolean value to your error handling code. The cluster and resulting warning should look similar to the following:
 

Figure 1: Custom Warning Front Panel


Figure 2: Custom Warning Block Diagram


Figure 3: Custom Warning Pop-up

Attachments

WAS THIS ARTICLE HELPFUL?

Not Helpful