LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error Handler

I've created "Very Simple (multiple) Error Handler.vi" as a replacement for the built-in "Simple Error Handler.vi".

It's supposed to work like "Simple Error Handler.vi", but it doesn't.  Specifically, when the owning VI has automatic error handling turned on (See attached Main.vi).

On Main.vi, when you select "Old Built-In", it sends an error to "Simple Error Handler.vi" which displays a dialog box, and when it's dismissed, that's the end of it.

However when you select "New Multi", it sends an error to "Very Simple (multiple) Error Handler.vi" which displays a dialog box, and when it's dismissed, Main.vi throws up another error dialog.

How can I get "Very Simple (multiple) Error Handler.vi" to inhibit the caller's auto error handling (as "Simple Error Handler.vi" does)?

"If you weren't supposed to push it, it wouldn't be a button."
Message 1 of 2
(693 Views)

Turns out it's the name.  If a VI file is named "Simple Error Handler.vi", the auto error handler will ignore its error output.

"If you weren't supposed to push it, it wouldn't be a button."
Message 2 of 2
(592 Views)