Example Code

Disable Tabs in Tab Control

Products and Environment

This section reflects the products and operating system used to create the example.

To download NI software, including the products shown below, visit ni.com/downloads.

    Software

  • LabVIEW

Code and Documents

Attachment

Overview

This example demonstrates several VI Server properties of Tab controls. It shows how to enable/disable a specific page of the tab control and how to programmatically toggle between pages.

 

 

Description

There are times that you would want a tab to show, but not allow the user to select the tab until other actions have occurred, such as submitting data points.  You can access this property through a property node. 

 

 

Requirements

LabVIEW 2012 (or compatible)

 

 

Steps to Implement or Execute Code

1- Download the attached zipped folder

2. Open the Project and run the Disable tab control VI
3- Enter your configuration on Parameters Tab & click Submit
4- Check Results and click on Finished.

 

 

Additional Information or References

Block Diagram

BD.PNG

 

Front Panel

FP.PNG

 

 

 

 

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

National Instruments
Applications Engineer

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

Comments
comrade
Active Participant
Active Participant
on

downloaded, opened, viewed BD, understood, tested - worked!

example code as it should be

VEEDAY
Member
Member
on

Well written example.

RY
Gilles1
Member
Member
on

Very nice example, thanks