LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
Hueter

Allow Error Case Structure to Handle Specific Error Numbers

Status: Completed

Available in LabVIEW 2019 and later. You can now specify one or more error frames on an Error case structure, and use numeric ranges in those frames for ranges of error code values in the error cluster.

When you connect the error wire to a case structure selector, you get two cases for error and no error. I think you should be able to add in cases for specific error numbers so you can handle specific errors differently. You could do this currently, but you would have to unbundle the error and use the error code.

 

Numbered error case.png

22 Comments
Darren
Proven Zealot

The LV 2019 feature still keys off the 'status' Boolean. This means Error 0 is still supported:

 

e.png

wiebe@CARYA
Knight of NI

@Darren

Thanks for clearing that up.