LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Tab control: How do I read the name of a selected tab??

Hello,
 
I've got a tab control with 10 tabs and around 20 controls on each tab. I'm using an event structure but the amount of possible events (about 200) drives me crazy.
 
Please tell me if the following is possible:
 
I want to use a case structure to determine which tab was selected and start an event structure for that tab only. I'd only have 20 events now. When the tab control is pressed the event structure is killed (the while loop finishes), and the outer case structure determines what event structure to fire up now. Is this possible???
 
First of all I cannot seem to find a way to return the name of the tab pressed to use for the case structure. I've tried nested event structures (one for the tab name and one for each of the tabs themselves) but this won't work.
 
Please help.
 
Claus Mogensen 
0 Kudos
Message 1 of 2
(4,631 Views)
examine the attached vi, it should be of help.
Message 2 of 2
(4,625 Views)