04-06-2018 02:44 PM
In the front panel, I have two tab control containers with different charts inside it. I also have a boolean push button that satisfies the condition for the case selector on the block diagram, which generates an output onto one of the charts in the front panel. I would like to avoid having the user to manually switch tabs on the front panel every time they change the boolean push button. How do I sync the push button so that it will change to the corresponding tab control container on the front panel?
Solved! Go to Solution.
04-06-2018 02:47 PM - edited 04-06-2018 02:48 PM
Example: Container tabs 1 and 2. Toggle On/Off
Toggling on would switch to tab 1
Toggling off would switch to tab 2
Toggling on would switch back to tab 1 without having user to click on the tab 1
04-06-2018 02:55 PM
Hi mlam,
use a select function, wire the Boolean to its condition input. Create a constant from the tab control, wire it to one of the select inputs. Create another constant for the other input. Wire the select output to a local variable of the tab...