LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Is standard error in/out functionality available on custom VI's?

Hello,

 

It was my understanding that if a VI had an error in and error out cluster that the VI would be bypassed if an error occured prior to the VI running (and the error was passed into said VI). This is what is referred to as "standard error in" and "standard error out" functionality on many of the detailed help screens for the built-in VI's. I had assumed (incorrectly?) that this was an inherent property of LabVIEW and that any VI I called would exhibit this behavior. This does not appear to be the case in several VI's I have written, as they run even if an error is passed in from a previous subVI.

 

So, my question is, can standard error functionality be enabled on custom (non built-in) VI's, or does this require a case structure in the VI to differentiate whether an error is coming in on the error in control line?

 

Or am I missing something altogether?

 

Thanks,

0 Kudos
Message 1 of 2
(2,215 Views)

Ummmm.  Yes you need to drop a case structure on the BD to  define what your vi does

 

Just like so

1.png

 

Place any code you want in the No error case and just pass through the error wire in the Error case (Or error recovery code)


"Should be" isn't "Is" -Jay
Message 2 of 2
(2,212 Views)