Create Custom Warnings in LabVIEW

Updated Aug 25, 2023

Environment

Software

  • LabVIEW

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

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