cancel
Showing results for 
Search instead for 
Did you mean: 

Error Handling Question

SOLVED
Eric1977
Active Participant
Solved!

Error Handling Question

Message contains an attachment

How does everyone handle errors when a error comes across as OK(error number)? I notice that my error case structure does not handle what I think are "soft errors", for a lack of the correct term, but I want to take some kind of action on those kind of errors.

 

What is the trick that I am missing? Is it as simple as taking a Unbundle by Name and wiring the error number to the case structure and eliminate wiring the error cluster directly to the case structure?

5 REPLIES 5
GerdW
Knight of NI

Re: Error Handling Question

Hi Eric,

 

what I think are "soft errors", for a lack of the correct term,

I think you are talking about "warnings"…

 

How does everyone handle errors when a error comes across as OK(error number)?

You can use an Unbundle function to get the 3 components of the error cluster…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Eric1977
Active Participant

Re: Error Handling Question

Message contains an attachment

Just so I do not look like a fool...like this?

GerdW
Knight of NI

Re: Error Handling Question

Hi Eric,

 

can you attach a downconverted version of your VI? I'm stuck at LV2017 right now…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Eric1977
Active Participant

Re: Error Handling Question

Message contains an attachment

Here you go.

RavensFan
Knight of NI
Solution

Re: Error Handling Question

No.  Errors have a True boolean value.  Warnings and non-errors have a false boolean state.

So you should have a NOT on that top boolean wire going to the AND.