12-14-2010 11:56 AM
I have a VI with a 2 option case structure(true/false boolean). I am wondering if there is a way to have different controls showing on the front panel depending on if my boolean for this case structure is set to true vs false. Each option of the case structure has its own controls and indicators that the other doesn't need.
Thanks
Solved! Go to Solution.
12-14-2010 12:00 PM
You could use a tab control to group the two FPs.
Use a "boolean to 0 1" to choose which tab to show. You can hide the tabs so nobody will evr know.
Ben
12-14-2010 02:07 PM
Thanks! This will be perfect
02-28-2011 03:19 PM
I have the same situation. Except I have ~12 different case structures with different front panels. Some with plots/charts/etc. Will this eventually slow down the execution of the VI with all these tabs running in the bacground?
I guess alot of these charts/plots won't be updated as their controls will only be used during their respective case structure frame. I guess I won't know until i try...
03-01-2011 04:15 PM - edited 03-01-2011 04:16 PM
Hi there,
As long as the code isn't being told to execute simultaneously, you shouldn't be running much of a problem. Please let us know how it works out for you.
Thanks,
Jon S
03-02-2011 01:55 AM
A slightly more advanced alternative is to use a Sub-panel instead. Depending on what/how the program does it can be a better choice.
/Y