Short Name: Set Lock State
Requires: Base Development System
Class: Library Methods
To Use: Create a method.
Sets the level of editing permission for a LabVIEW project library, including the password.
|Note The LabVIEW Datalogging and Supervisory Control Module supports this method in the Run-Time Engine.|
|lock state||Yes||Specifies the level of editing permission of the project library.
|interactive||No||Specifies the way in which you can use passwords with the project library. The default is FALSE, in which you can use a password to unlock a password-protected project library or to set the password of an unprotected project library. If you set interactive to TRUE, LabVIEW ignores the password and displays a dialog box that prompts you to change the lock state.|
|password||No||Specifies the password to set for a project library to which you want to add password protection, or the password to use to unlock a password-protected project library.|
|put in cache||No||Specifies whether you want to cache the password specified in password. The default is FALSE, which does not add the password to the LabVIEW password cache.|
The following table lists the characteristics of this method.
|Data type||No return value|
|Available in Run-Time Engine||No|
|Available in Real-Time Operating System||No|
|Settable when the VI is running||No|
|Loads the front panel into memory||No|
|Need to authenticate before use||No|
|Loads the block diagram into memory||No|
|Remote access allowed||Yes|
|Must wait until user interface is idle||No|
|Available with control VIs||No|
|Available with global VIs||No|
|Available with strict type definitions||No|
|Available with polymorphic VIs||No|