Locking and Unlocking VIs

LabVIEW 2018 Help


Edition Date: March 2018
Part Number: 371361R-01
View Product Info

DOWNLOAD (Windows Only)


LabVIEW 2015 Help
LabVIEW 2016 Help
LabVIEW 2017 Help
LabVIEW 2018 Help
LabVIEW 2019 Help

You can lock a VI so users can see but not edit the front panel or block diagram. You also can assign password protection to a VI so users cannot see or edit the block diagram without a password. You can use the Lock State:Set method to lock or unlock a VI programmatically.

Locking VIs

Complete the following steps to lock a VI.

  1. Select File»VI Properties to display the VI Properties dialog box.
  2. Select Protection from the Category pull-down menu.
  3. Select Locked (no password).
  4. Click the OK button.

Unlocking VIs

Complete the following steps to unlock a VI.

  1. Select File»VI Properties to display the VI Properties dialog box.
  2. Select Protection from the Category pull-down menu.
  3. If the VI is locked without a password, select Unlocked (no password) to unlock it. If the VI is locked with a password, select Unlocked (no password) and enter the appropriate password in the Authentication dialog box. Click the Yes button in the prompt to remove protection.

You also can select Operate»Change to Edit Mode to unlock a VI. Select Unlock in the file dialog that appears.

WAS THIS ARTICLE HELPFUL?

Not Helpful