![]() | LabVIEW 2016 Help |
![]() | LabVIEW 2017 Help |
![]() | LabVIEW 2018 Help |
![]() | LabVIEW 2019 Help |
![]() | LabVIEW 2020 Help |
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.
Complete the following steps to lock a LabVIEW class:
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:
![]() | 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 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. |
Helpful
Not Helpful