LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Tab Control Boolean not Updating

Solved!
Go to solution

I posted earlier asking how to create a boolean on the selected tab in a tab control.  What I didn't say was the item I was trying to control with the boolean, which is the timeout terminal of an Event Case.  I am trying to have a different timeout terminal depending on which tab is selected in the tab control.  In this case, if page 2 is selected, I would like the timeout value to be 100, if not, then the timeout value is the default of -1.  My attached example of what I am trying to do seems to only work once...ie once the boolean changes to -1, it doesn't change back to 100 if I select back to page 2.  I guess I don't understand why this is the case.  

Download All
0 Kudos
Message 1 of 5
(2,999 Views)
Solution
Accepted by topic author MCHammer

That my friend is because the event structure is waiting for something to happen and tab control is not one of the controls that the event structure is monitoring (so to speak). Try the attached code.


CLA CTAChampionI'm attending the GLA Summit!
Subscribe to the Test Automation user group: UK Test Automation Group
Message 2 of 5
(2,994 Views)

Perfect. Thank you.

Message 3 of 5
(2,985 Views)

HI 

 

can you post the labview 10. version please, as I cannot access the 2011 version

 

Thanks

0 Kudos
Message 4 of 5
(2,936 Views)

Hi reigngt09,

 

I have saved the VI for LabVIEW 2010.

 

Regards,

James D.
Applications Engineer
National Instruments
0 Kudos
Message 5 of 5
(2,915 Views)