VeriStand

cancel
Showing results for 
Search instead for 
Did you mean: 

how to include custom error in VeriStand

Solved!
Go to solution

I defined few custom error code in labVIEW when implementing a custom device for VS.

The error code file is located at C:\Program Files\National Instruments\LabVIEW 2010\user.lib\errors

The error code displays as expected in LabVIEW, but shows "undefined" error code when the device is deployed and run in VeriStand.

 

Attached please find the error display in labVIEW (customError_LV.PNG) and VS (customError_VS.PNG)

 

How to display the custom error properly in VS?

 

Thanks.

 

 

 

Download All
0 Kudos
Message 1 of 3
(6,342 Views)
Solution
Accepted by MileP

MileP,

 

       You should be able to move your LabVIEW errors file over to the Veristand errors folder (C:\Program Files\National Instruments\VeriStand 2010\project\errors\English). Veristand should automatically check that folder for a corresponding error code when it encounters one. Try this out and let me know if it works. Thanks!

Message 2 of 3
(6,321 Views)

Thank you, Grant. It works.

0 Kudos
Message 3 of 3
(6,312 Views)