11-29-2022 12:15 PM
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)?
12-06-2022 07:33 AM
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.