Requires: Base Development System
Class: VI Methods (ActiveX)
Sets the lock state of a VI. If Interactive is FALSE (default), you can use Password to unlock a password-protected VI or set the password of an unprotected VI. If Interactive is TRUE, LabVIEW ignores Password and displays a dialog box that prompts you to change the lock state.
object.SetLockState(lockState, [Interactive], [Password], [putInCache])
Name | Type | Description |
---|---|---|
lockState | VILockStateEnum | Lock state. |
Interactive | Boolean | Specifies whether to display a dialog box that prompts you to change the lock state. The default is FALSE. |
Password | String | If lockState is Password-protected, Password is the new password. If you are changing lockState from Password-protected, Password is the old password. The default is an empty string. |
putInCache | Boolean | If lockState is Password-protected, putinCache specifies whether to place the new password in the cache. The default is FALSE. |
none