You can lock LabVIEW classes or interfaces 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 or interfaces does not add password protection to the member VIs. You must password protect the member VIs individually.
Complete the following steps to lock a LabVIEW class or interface:
To view the private data of a locked class on a LabVIEW probe or member VIs of a locked class or interface, you must unlock the class or interface. Complete the following steps to unlock a class or interface:
Note Locking a class or interface affects the appearance of the class or interface in the Context Help and the generic probes. LabVIEW also hides the private member VIs of a locked class or interface on the palettes. Changes to the palettes occur the next time you launch LabVIEW. |
Note When you add the class private data control to the front panel of a VI, LabVIEW locks the class. You cannot unlock the class by deleting the control from the VI. Instead, you must delete the control and close or save the VI, to remove the class control from memory. |