Showing results for 
Search instead for 
Did you mean: 

Syncing Boolean with Containers

Go to solution

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?


0 Kudos
Message 1 of 3

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

0 Kudos
Message 2 of 3
Accepted by mlam102

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...

Best regards,

using LV2011SP1 + LV2017 (+LV2019 sometimes) on Win10+cRIO
Message 3 of 3