Lock State:Get Method

LabView Local Project Settings

Lock State:Get Method

Short Name: Lock State.Get

Installed With: Base Package

Class: VI Methods

Returns the lock state of the VI and indicates whether the password for the VI is in the password cache.

Parameters

NameRequiredDescription
Lock State:GetNoIndicates the lock state of the VI.

0Invalid lock state
1Not Locked—Users can see and edit the block diagram.
2Locked (No Password)—Users can see but not edit a block diagram.
3Password-protected—Users cannot see or edit the block diagram without a password.
Password in CacheNoIndicates whether the password is currently in the password cache.

Remarks

The following table lists the characteristics of this method.

Available in Run-Time Engine and Real-Time Operating SystemYes (Read/Write)
Settable when the VI is runningYes
Loads the front panel into memoryNo
Need to authenticate before useNo
Loads the block diagram into memoryNo
Remote access disallowedNo
Must wait until user interface is idleYes
Available with control VIsYes
Available with global VIsYes
Available with strict type definitionsNo
Available with polymorphic VIsYes