Library class/Lock State.Set method

From LabVIEW Wiki
Jump to: navigation, search
VI Server Method Information
Method ID 4D10E402
Scope Basic Development Environment
Data Name Set Lock State
Short Name* Set Lock State
Long Name* Lock State:Set
* Displayed here in English. Short and Long names appear in the language of the LabVIEW IDE.
Owning Class ID 80
Owning Class Name Library Class
Return Data Type No return value
Invoke Node Lock State:Set
Available in Real-Time Operating SystemNo
Available in Run-Time EngineNo
Loads the block diagram into memoryNo
Loads the front panel into memoryNo
Need to authenticate before useNo
Remote access allowedYes
Settable when the VI is runningNo

Sets the level of editing permission for a LabVIEW project library, including the password.

This method is similar to the Protection page of the Project Library Properties dialog box.

Note The LabVIEW Datalogging and Supervisory Control Module supports this method in the Run-Time Engine.

Parameters

Data type Name Required Description
Enum U32 lock state Yes Specifies the level of editing permission of the project library.
Boolean 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.
String 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.
Boolean 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.

Uses

History

Version Change(s)
LabVIEW 2018 More info to come.

See Also

External Links