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