LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

moves tab automatically

Hi, i would like to know how to change tab on the tab control automatically? Like during running of the VI, it will move to the respective tab automatically

0 Kudos
Message 1 of 2
(2,313 Views)

Hi,

 

To programmatically set the active page of a Tab Control in LabVIEW, follow these instructions:

  1. On the Block Diagram, right-click your Tab Control and select Create»Local Variable.
  2. If the local variable is not already set to be written to, then right-click it and select Change to Write.
  3. Right-click the input of the local variable and select Create»Constant.

This will create an Enum constant that will automatically populate with the names of the pages in your Tab Control. By selecting one of these pages to write to your local variable, you can programmatically set it to be the active page of your Tab Control on the Front Panel.

 

Regards,

KwokHow

 

Applications Engineer | National Instruments
Singapore (65) 6226 5886 | Malaysia (60) 3 7948 2000 | Thailand (66) 2 298 4800
Philippines (63) 2 659 1722 | Vietnam (84) 28 3911 3150 | Indonesia (62) 21 2783 2355
0 Kudos
Message 2 of 2
(2,307 Views)