Overview
This example shows how to lock and password protect a VI programmatically using the VI-server architecture
Description
Programs/VIs can be programmatically password protected and saved by using VI Invoke Nodes. The user has to input the direct path of the VI they are locking and saving. Additionally, you have to set the password before running the VI. This section of code could be placed in existing applications to lock and save the program.
Requirements
LabVIEW 2012 (or compatible)
Steps to Implement or Execute Code
- Choose the path to the VI you would like to lock
- Choose a Password for the VI
- Run the VI.
Additional Information or References
Block Diagram

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