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

Locking and Unlocking LabVIEW Classes

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

You can lock LabVIEW classes to prevent access to the private member VIs which in turn can help prevent errors being introduced to the application. As with project libraries, adding password protection to LabVIEW classes does not add password protection to the member VIs. You must password protect the member VIs individually.

Locking LabVIEW Classes

Complete the following steps to lock a LabVIEW class.

  1. Right-click a LabVIEW class and select Properties from the shortcut menu. The Class Properties dialog box appears.
  2. Select Locked (no password) or Password-protected to lock the LabVIEW class.
    1. If you select Password-protected, enter and verify a password in the Enter Password dialog box.
    2. Click the OK button to close the Enter Password dialog box and return to the Class Properties dialog box.
  3. Click the OK button.

Unlocking LabVIEW Classes

To view the private data of the class of a locked LabVIEW class on a LabVIEW probe, you must unlock the LabVIEW class. Complete the following steps to unlock a LabVIEW class.

  1. Right-click a LabVIEW class and select Properties from the shortcut menu. The Class Properties dialog box appears.
  2. Select Unlocked (no password). If the LabVIEW class is locked with a password, enter a password in the Authentication dialog box and click Verify to return to the Class Properties dialog box.
  3. Click the OK button.
Note  Locking a LabVIEW class affects the appearance of the class in the Context Help and the generic probes. LabVIEW also hides the private member VIs of a locked class in the palettes. Changes to the palettes occur the next time you launch LabVIEW.

Resources


 

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