LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how can I ignore errors?

I've attached a small VI that generates an error.  I want to ignore specifically this error, but not others.  I thought that I was using the 'error handler' correctly, but perhaps I'm just not understanding it at all.

could someone help me out with this?

thanks
-z

0 Kudos
Message 1 of 4
(3,430 Views)

I can't view your code but ignoring an error should be as simple as this.

Message Edited by Dennis Knutson on 11-01-2006 02:36 PM

0 Kudos
Message 2 of 4
(3,424 Views)
Dennis' answer above is the basic way to do it. To answer your question regarding the use of the General Error Handler, the "error code" input is used if the "error in" indicates no error. If "error code" is set to a non-zero value then the General Error Handler treats this as an error. This is explained in the LabVIEW Help.

Note: this assumes that you subscribe to NI's convention of what an error is. Personally I don't, but that's just me.
0 Kudos
Message 3 of 4
(3,414 Views)
I found what I think is a cleaner way to do it.  I'm not sure what version of LV you have dennis, so here's a pic.  There are, of course, times when I might want to ignore multiple errors that dennis's approach might be better, but for now, this is what I wanted to do.

-z                            LV8
0 Kudos
Message 4 of 4
(3,409 Views)