01-11-2018 06:45 AM
Hi I am new to LabView and was wondering if there is a way to write you program so it will flip through the different tabs on the front panel every 10 sec or so.
I have plenty of graphs in different tabs on the front panel and would like the program to flip through the tabs every 10 sec.
I am using LabView 2017
01-11-2018 06:57 AM
01-11-2018 07:00 AM
Setting the value of the TabControl (with local, terminal or value property) will set it's visible tab.
Do this in a while loop with a x sec. wait in it will switch them every x sec.
And since the tabcontrol is an enum, you can simply put it's value in a shift register and use "increment" (+1) every cycle. When you add 1 to the last value, it will wrap and the value will be 0.
01-11-2018 07:12 AM
that is possible,
either directly using the tab as indicator, indirectly using a local variable (if you don't want to change to indicator), or via property-node setting the "Value" property.
see the attached vi.