LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I wire a tab control? How do I get data from it in the wiring diagram?

I have a tab on thr front panel with digital indicators in them. how do I use these indicators in my wiring diagram to do other things?
0 Kudos
Message 1 of 9
(3,860 Views)
As usual ... therefore do not consider them related. Consider the TAB control like decoration, which helps you to categorize your controls hiding ones when showing others. If you double-click one of those indicators, on the block diagram is like any other indicator you have outside the TAB control.

Hope I understood the question
0 Kudos
Message 2 of 9
(3,860 Views)
On generating foreign language versions of a VI, I made all FP objects display their caption instead of the label and then change the caption text on the fly.
This works quite well for all sorts of controls, just the texts on the tabs themselves are not accessible. Which brought me to the conviction, that I could not use tab-controls. Or does anybody know where to set the tab-text programmatically ?
Gabi
7.1 -- 2013
CLA
0 Kudos
Message 3 of 9
(3,860 Views)
In the diagram, you could create a property node for the tab and select the "pages" option. This is an array of references to each page in the tab control. If you index out eact reference, you have access to the page properties that allow you to change captions, names,....
0 Kudos
Message 4 of 9
(3,860 Views)
On Mon, 6 May 2002 16:50:12 -0700 (PDT), VipersView
wrote:
Why not use a CASE arround the TAB Control ?

>In the diagram, you could create a property node for the tab and
>select the "pages" option. This is an array of references to each page
>in the tab control. If you index out eact reference, you have access
>to the page properties that allow you to change captions, names,....
0 Kudos
Message 5 of 9
(3,860 Views)
Alright, I created a property node for the tab control, changed the property to "Pages", used an index array to get one reference and connected this to a property node. The only properties that I get are: Class ID, Owner, Owning VI, Page Enabled State, Page Visible and Controls on Page. So, the question remains: how to change the tab names?

Rob
0 Kudos
Message 6 of 9
(3,860 Views)
You are supposed to be getting "Tab Caption", "Page Label", ... I am using 6.1. What version are you running on?
0 Kudos
Message 7 of 9
(3,860 Views)
It looks like NI found out about that. I am usin 6.02 and I cannot access a porperty Tab Caption or Page Label.

Gabi
7.1 -- 2013
CLA
0 Kudos
Message 8 of 9
(3,860 Views)
Version 6.0.2. I think that I should start prefacing my messages with what version I'm using. And before I hear ANOTHER tirade about upgrading, I'm not working for a company that has the money to spend.

Rob
0 Kudos
Message 9 of 9
(3,860 Views)