LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Indicators show thru to front page of tab control.

I have a tab control with boolean indicators on the second and third pages. When the indicators are activated (mine blink when certain tests are selected), they show on the front panel. I have tried to "move to front" the tab control but that didn't work. The property node for the tab control doesn't seem to have anything to help either. Any ideas?
0 Kudos
Message 1 of 9
(3,888 Views)
Use the property node of the tab control to know which tab is selected, and using some logic, disable blinking when activepage is not the page in which blinking controls/indicators are. If i'm not wrong, this is a known problem, and this workaround should fix it until a new upgrade comes.
Good luck
0 Kudos
Message 2 of 9
(3,888 Views)

Which property node of the tab control?  

 

If I try to use "Value" and create an indicator, I get the whole tab control reproduced.  Which property node indicates the enum or integer value of the currently selected tab of the Tab Control?

0 Kudos
Message 3 of 9
(3,413 Views)

You replied to a thread that last had a post 12 years earlier, and it's not clear what you're asking. What are you trying to do? The value property indicates the currently-active tab. If you create a control from the value property, you'll get a new tab. If you instead create a constant from the property, you'll get an enumeration on the block diagram. You can then right-click to change that constant to an indicator, and you'll get an enumeration on the front panel.

0 Kudos
Message 4 of 9
(3,405 Views)

Seems rather roundabout but that's what I was looking for.

 

Thanks.

0 Kudos
Message 5 of 9
(3,394 Views)

I did create the indicator as you described and placed it inside a loop.  There are operations inside the loop which occasionally change the selected tab.  The loop updates every 100 ms.

Unfortunately, the indicator does not change when the selected tab changes.

0 Kudos
Message 6 of 9
(3,384 Views)

Can you post your code?

 

I can't understand why you'd need a value property node at all in this situation. Whatever wire carries the new value of the tab (when the tab changes) should also branch to your enumerated indicator.

0 Kudos
Message 7 of 9
(3,382 Views)

I believe this is a known issue with blinking objects on hidden tab panes, for some versions of LabVIEW (Did I mention I Hate Tabs) If you want a thing to blink- blink the thing,  If you do not want it to blink when it is not visable Set both properties at the same time and do not rely on a tab container to do it for you.


"Should be" isn't "Is" -Jay
0 Kudos
Message 8 of 9
(3,374 Views)

I found a straightforward solution here:  http://forums.ni.com/t5/LabVIEW/Determine-if-Tab-is-active/td-p/1841435

 

which does change as the tabs change.

 

The blinking question was asked, as noted, 12 years ago.  I apologize for the confusion caused by changing the question.

I consider my question solved.

 

Thanks to those who responded.

Message 9 of 9
(3,362 Views)