Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

Locking and Unlocking VIs

LabVIEW 2013 Help

Edition Date: June 2013

Part Number: 371361K-01

»View Product Info

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.


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit