Lock State:Get Method

LabVIEW 2013 Help

Edition Date: June 2013

Part Number: 371361K-01

»View Product Info

Short Name: Lock State.Get

Requires: Base Development System

Class: VI Methods

To Use: Create a method.

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


Data typeNameRequiredDescription
Lock State.GetNoIndicates the level of editing permission 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 the block diagram.
3Password-protected—Users cannot see or edit the block diagram without a password.


The following table lists the characteristics of this method.

Data type
Available in Run-Time EngineYes (Read/Write)
Available in Real-Time Operating SystemYes
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 allowedYes
Must wait until user interface is idleYes
Available with control VIsYes
Available with global VIsYes
Available with strict type definitionsNo
Available with polymorphic VIsYes


Not Helpful