From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
Up until last week this code has been working flawlessly ... I have been dynamically loading VIs in and out of a subpanel. While the VI is in the subpanel, the user has been interacting with it using custom events within that VI. In the process of trying to create a simpler way of keeping track of the dynamically loaded VIs from the main VI, the whole process of interacting with the dynamically loaded VIs in the subpanel has stopped working. The VIs load into the subpanel just fine, but their front panel state remains at "standard" instead of changing to "hidden". what could be preventing this? I've included a snippet from the main VI that shows how the VIs are dynamically loaded.
Why do you open up your front panel first? remove that
Make sure the VI is running in memory. Load you VI into the Sub panel. Front Panel Window:State should show closed by default before loading into subpanel (atleast when I clone multiple VIT's in memory and show them in a subpanel) if not configured otherwise. After loading teh state should be standard.