From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Changing visible tab based on an action

Solved!
Go to solution

I'm new to labview and have looked over the intro materials but I've reached a mental block preventing me from figuring this out.

 

What I'm trying to do is create a VI with 3 tabs. The first tab is basically a setup for the serial port. Once the user pushes a button, the serial settings will then get set over to the rest of my VI on the other tabs to open the serial connection. When the user pushes the button, I also then want the VI to automatticaly switch to the second tab and allow the user to flip back and forth between the second and third tab.

 

So far what I've been doing is just creating a control and having that feed into a case structure, which works fine for the second and third tabs, but of course doesn't help for the first. Can anyone help me figure out how to do this? 

0 Kudos
Message 1 of 3
(2,148 Views)
Solution
Accepted by topic author awwende

Create a local variable for the tab.  You can then set which tab is active by writing to the local variable.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 3
(2,140 Views)

That did the trick, thanks.

0 Kudos
Message 3 of 3
(2,109 Views)