LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

refreshing controls on inactive tab page

Solved!
Go to solution

Hi everybody,

 

How do I avoid refreshing controls on inactive tab page(s)?

Is there any method to decide which page is active on a tab control?

 

Thanks!

0 Kudos
Message 1 of 5
(2,647 Views)

Yes, use the terminal for the tab control to tell you whcich tab is visable.

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 2 of 5
(2,644 Views)

Hello Ben,

 

You're right, but me fuzzy...

There are indicators (not controls) on tab pages.

As the numerical results of the indicators needs calculation/time I'd like to perform just what's neccessary, ie. which on the page the user has selected.

I hope now I'm clear. So the subject would be 'not refreshing indicators on inactive pages'

 

Thanks!

0 Kudos
Message 3 of 5
(2,611 Views)
Solution
Accepted by lamaze

There is no such option/property to do that.  But programatically find which tab is active by using the property/local variables and put all the indicators in a case structure in respective cases for each tab.

When particular tab is active automatically the indicators corrosponding to tht page will get 'refreshed'(updated)

With regards,
JK
(Certified LabVIEW Developer)
Give Kudos for Good Answers, and Mark it a solution if your problem is solved.
0 Kudos
Message 4 of 5
(2,605 Views)

Thank you JK. It works.

 

Something misled me when I read the local variable of the tab.

If I created indicator of the variable then it gave me the value of indicators of a particular tab. Wiring the variable to a case structure is different.

0 Kudos
Message 5 of 5
(2,595 Views)