Get Error Description from Error Code in LabVIEW

Updated Jun 26, 2018

Reported In

Software

  • LabVIEW

Issue Details

I would like to programmatically call a function in a LabVIEW app .exe with the I32 error code as input and get the string explanation for the error like the Help»Explain Error tool does in the LabVIEW Development Environment.

Solution

You can use the Simple Error Handler VI's or General Error Handler VI's message output to view the explanation for a particular error code. See the code snippet below.