10-23-2014 02:13 PM
hello
I've written a subVI which performs differents tasks. For each task there is a corresponding panel; That is my subVI has multiple panel. Each task is performed one at a time : I call the panel showing the actual task progression the active panel. My subVI runs (is called) on the block diagram of the main VI.
Now my question : How can I plot only the subVI active panel into the sub panel of main VI? I am wondering if at all it's possible! if not! is there another way of doing this?
Thanks for reply
10-23-2014 02:21 PM
Hey, if I understand your question I think you could probably put each subvi panel in a tab and, depending on which action is being performed, use a property node to show only the tab that is active.
10-24-2014 09:08 AM
Hi Achilles,
I've created a tab as you suggested. I set the size of my subVI's Panel to be equal to tab's size. But I'm having difficuties centering it into the sub panel control. Have you got a clue on how to achieve this?
10-24-2014 11:25 AM
I'm not really sure what you mean, are you able to attach your code?
11-03-2014 03:47 AM
Hi Achilles,
thanks a lot. I definitely locked the subVI's front panel to a fixed size as well as the sub panel and it's working.
Thanks again
11-03-2014 07:38 AM
Awesome, glad I could help.