06-15-2001 03:29 PM
06-15-2001 03:41 PM
12-19-2013 04:09 PM
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?
12-19-2013 04:20 PM
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.
12-19-2013 05:26 PM
Seems rather roundabout but that's what I was looking for.
Thanks.
12-19-2013 06:17 PM
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.
12-19-2013 06:19 PM
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.
12-19-2013 06:30 PM
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.
12-19-2013 07:18 PM
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.