10-24-2022 06:57 AM
Open Main.vi and run it. It works OK.
Open its VI Properties and change its window appearance to "Dialog".
Now it won't work.
10-24-2022 07:02 AM
Being modal causes the problem.
10-24-2022 07:18 AM
Could it be the "Interactive" node on your "Open LV Document" script call in "Get all errors" sub-VI? The Help says if this is True, "LabVIEW may display dialog boxes ..."
Bob Schor
10-24-2022 08:12 AM
It's actually the 2nd invoke node: "GetActiveVIRef". I want to get a reference to the VI just opened, but if something is modal or floating, the Active VI ref isn't to the VI just opened.
10-24-2022 10:59 AM
I'm guessing a modal window is always active, so either use some other tag than active, or temporarily unset the modal flag.
10-24-2022 12:12 PM
I ended up having to cheat by snatching the contents of "Error Ring.xnode:Get All Errors In Family.vi" (if course what I had been trying to do was also cheating).