Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Creating Password-Protected VIs

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

When you distribute VIs, you can assign password protection to the block diagrams. The block diagram is still available, but users must enter a password to view or edit the block diagram.

You can save the VIs without the block diagrams, but doing so prevents VIs from recompiling when you import them to another platform or a new version of LabVIEW.

You also can lock a VI so users can see but not edit a block diagram without a password.

Complete the following steps to set password protection for a VI.

  1. Select File»VI Properties to display the VI Properties dialog box.
  2. Select Protection from the Category pull-down menu in the VI Properties dialog box.
  3. Select the Password-protected option to display the Enter Password dialog box.
  4. Enter the password in the Enter New Password field. Re-enter the same password in the Enter New Password Again to Verify field.
  5. Click the OK button.
Note  The password does not take effect until you restart LabVIEW.

You also can add a password using the Source Distribution Properties dialog box.

You also can use the Lock State:Set method to set the password of a VI programmatically.


Resources


 

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