Repeating Error Messages Using LabVIEW Custom Error Codes

Updated Aug 30, 2023

Reported In

Software

  • LabVIEW

Operating System

  • Windows

Issue Details

I have created a custom error code file and loaded it into the LabVIEW. When running the Ring error or Simple Error Handler, the same (also different) error message appears in multiple lines separated by the “=” sign (please refer to the picture below).

MicrosoftTeams-image (12).png
Error 5000 occurred at an unidentified location

Possible reason(s):

Error 2
----------------------
Error 1
 

Solution

This situation might occur when you have edited the error code file and loaded it to the LabVIEW multiple times. When editing the error code file, please ensure that you change the field displayname (underlined in the photo). This field is responsible for the appearance of the Error Code File in the Errors list in LabVIEW.  

image.png

Thus, after editing the error message (red oval in the picture above) and loading the file into the LabVIEW you might see multiple lines under the same error code. The text in these lines might be the same or different, depending on as you have edited that given message.