LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Tab control and Ring???

have a tab control, where results will be displayed on tabs A,B,C
in my vi. i have a ring; of options 1,2,3 when i change them i get various results. (A-C correspond to 1-3)

is there a way when i select '2' on my ring, it will bring up tab B??

 

hope this makes some sort of sense.

Thanks in advance.

0 Kudos
Message 1 of 5
(3,389 Views)

The pages of a tab control are inherently an Enum.

 

If you create an Enum control, and wire that to a local variable of the tab control, then the Enum control will change to that page within the tab control.

 

 

0 Kudos
Message 2 of 5
(3,382 Views)

 

 

same question, same tab. only i have an indicator in my vi. that displays 16 or 18. i want to create a local variable of this indicator that links to the tab.
when 16 is displayed i want tab A to open & when 32 tab B displays.

 

trying it here but to no avail.

0 Kudos
Message 3 of 5
(3,306 Views)

Case structure driven by the value going to the indicator.

 

Put Page 1>>tab control into a case for "16"

Put Page 2>>tab control into a case for "32"  (or "18" your message is unclear on this point because you say the indicator dsplays 16 or 18, then you talk about 32)

Put nothing inside  a default case beasue what if it isn't 16 or 32.

0 Kudos
Message 4 of 5
(3,300 Views)
This question looks like it is related to your other post. Maybe it would be helpful if you shared exactly what it is you are trying to do.

Mike.

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 5 of 5
(3,275 Views)