Example Code

Programmatically Changing Tabs Panels with Run Time Menu

Code and Documents

Attachment

Overview
The attached code demonstrates how to use custom run time menus to control tab panels.

 

Description
When the VI is run the user selects from one of the three run time menu options. The options are Stop, Boolean, and Math. Base on this selections the vi will display a panel with a stop control, a Boolean control, or numeric controls.


Requirements

  • LabVIEW 2012(or compatible)


Steps to Implement or Execute Code

  1. Download the attached file to your computer
  2. Open the VI " Tab Control 2012 NIVerified.vi"
  3. Run the program

 

Additional Information or References
VI Block Diagram

 BD.png

 

 **This document has been updated to meet the current required format for the NI Code Exchange.** 

Applications Engineer
National Instruments

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.