02-11-2025 01:12 PM
My main vi is calling multiple sub-vis but doesn't seem to be able to access their outputs. I have used highlight execution to track the flow and the subvi seems to be providing the visa resource name out and pump error out to the main vi, but I'm not seeing that actually happen there.
I previously had the multiple subvis in a flat sequence, but it would never go past the first case, so I replaced that with a case structure based on a simple boolean from the subvi, but it still doesn't get triggered. What am I doing wrong? Am I missing a loop somewhere? Is it something in the VI properties? Because I've tried switching between clone reentrant execution and non-reentrant execution and it didn't seem to make a difference.
02-11-2025 02:44 PM - edited 02-11-2025 02:52 PM
Your subVI cannot return until all loops are complete, which requires pressing a handful of stop buttons, difficult because they are scattered all over the front panel and some are hidden (stop 3, stop 6, ) and thus cannot be operated.
("FP close" does NOT stop the subVI VI, it just closes the front panel, right?)
(I cannot look at your "done button.vi" because the site is stuck in a virus scan. details)