To download NI software, including the products shown below, visit ni.com/downloads.
Overview
This VI Password Protected Tab Control with a Login
Description
Some applications require protected controls/tab controls with a Login. This can be done by setting the property of the specific tab that must be protected. The tab control has a property named Pages that provides an array of references to each tab. From the array, the appropriate tab reference is indexed and the property for PageEnb is set. There are three options for the property:
In this VI, when the Enter button is pressed, the value from the password string control is compared to the password and if it matches, the tab is enabled.
Requirements
LabVIEW 2012 (or compatible)
Steps to Implement or Execute Code
Additional Information or References
VI Block Diagram
**This document has been updated to meet the current required format for the NI Code Exchange. **
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.