09-07-2011 12:57 PM
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.
09-07-2011 01:45 PM - edited 09-07-2011 01:50 PM
Hi.
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.
09-07-2011 01:58 PM
Just to add :
When replacing the the VI loaded in the subpanel with another VI, the previous VI window state goes automatically back to closed 🙂
09-07-2011 06:17 PM
just an fast example. Instead of creating some test VI's I used a template