Inherits from VI Methods.
Sets the lock state of a VI. If interactive is False (default), password is used to either unlock a password protected VI or set the password of an unprotected VI. If interactive is true, password is ignored and a dialog is presented to change the lock state. Set Lock State also contains parameters.
The following table lists the parameters for this method.
Parameters | Description |
---|---|
lock state | An enumeration of: Unlocked, Locked (no password), Password protected. |
interactive | Specifies whether a dialog should be presented to the user to change the lock state. |
password | If setting the lock state to Password protected, this is the new password. If changing the lock state from Password protected, this is the old password. |
put in cache | If setting the lock state to Password protected, putInCache specifies whether the new password should be placed in the cache. |
The following table lists the flags for this method.
Is settable when the VI is running | No |
Requires the block diagram to be loaded | No |
Is available on local LabVIEW only | No |
Requires the front panel to be loaded | No |
Must wait until user interface is idle | Yes |
Is available with control VIs | Yes |
Is available with global VIs | Yes |
Is available with strict type definitions | No |
Is available with polymorphic VIs | Yes |
Available in Run-Time Engine | No |