LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Automatically running a vi after switching tabs

You still have a basic lack of understanding. As mentioned, your case statement belongs INSIDE a while loop. Please take the tutorials.

You will learn some fundamentals and terms that you are currently using wrong such as running a tab or separating code with a tab. These are meaningless.
0 Kudos
Message 11 of 13
(783 Views)
I forgot to add that wiring the tab control to the case statement is also backwards. You want the code to control which tab is displayed. These are fundamental concepts.
0 Kudos
Message 12 of 13
(780 Views)

az2mt2003 wrote:

All I wanted to do, was be able to keep my code seperated using tabs. That may sound ridiculous, I don't know, I am fairly new to labview and I THOUGHT I had been using tabs the proper way. I guess not.


Tabs do not seperate code.  They break up the GUI.  If you actually want different sets of code, then you want to use a different VI for each section and use a main VI that uses a state machine to state which VI should run when.


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 13 of 13
(774 Views)