You can limit editing permission by locking or password-protecting LabVIEW project libraries. When you lock a project library, users cannot add or remove items and cannot view items that you set as private. When you assign a password to a project library, users cannot add or remove items or edit project library properties without a password. Users can open the Project Library Properties dialog box, but all dialog box components except protection options are disabled. Users must unlock the project library or enter a password to enable the dialog box components.
![]() |
Note Adding password protection to a project library does not add password protection to the VIs it owns. You must assign password protection to individual VIs. |
Complete the following steps to set levels of protection for a project library.
![]() |
Note Applying a password for a project library automatically stores the password in the LabVIEW password cache, which gives you access to make changes to the project library as if you had entered the password. You can remove the password from the cache by restarting LabVIEW or by clearing the password cache from the Environment page of the Options dialog box. |
You also can use the Lock State:Set method to configure protection options programmatically.