LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Tab applications

Hi,

How can I control the associated execution with tab. I would like to stop everything running with certian tab when tab is changed to next one.

Best regards,
Aung
0 Kudos
Message 1 of 6
(3,108 Views)
Try using an event structure. You can trigger an event when the tab control changes values. A changing of value represents a change in tabs. Hope this helps.
BJD1613

Lead Test Tools Development Engineer

Philips Respironics

Certified LV Architect / Instructor
Message 2 of 6
(3,100 Views)
You can wire a tab control to a case structure and put the code associated with each tab in its repective case. If the code inside the case structure is a loop, you first need to stop the loop and exit that case. On the next read of the loop your tab control is in, the case structure will run the case that is associated with the tab selected.
Message 3 of 6
(3,096 Views)
Hi,
that's exactly the situation I'm currently in. I would like to stop the loop in that as soon as Tab value is changed. It is not happening and I don't know how to make it happen. Pls advise.

Aung
0 Kudos
Message 4 of 6
(3,061 Views)
One choice: using "control reference".
Connect the value of the property node of the Tab control reference to the loop condition, then the loop will stop when you change the Tab page.
0 Kudos
Message 5 of 6
(3,051 Views)
Tab local variable in each of the loop to control the loop condition is enough. Control reference is not needed.
0 Kudos
Message 6 of 6
(3,049 Views)