This content is not available in your preferred language.

The content is shown in another available language. Your browser may include features that can help translate the text.

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