02-16-2015 09:51 AM
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.
02-16-2015 09:57 AM - edited 02-16-2015 09:58 AM
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.
02-23-2015 09:52 AM
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.
02-23-2015 10:03 AM
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.
02-24-2015 12:32 AM