Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

Lock State:Get Method

LabVIEW 2013 Help

Edition Date: June 2013

Part Number: 371361K-01

»View Product Info

Short Name: Get Lock State

Requires: Base Development System

Class: Library Methods

To Use: Create a method.

Returns the lock state of the LabVIEW project library and indicates whether the password for the project library is in the password cache.

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 typeNameRequiredDescription
Get Lock StateNoIndicates the level of editing permission of the project library.

0invalid lock state
1Not Locked—Users can view public and private items that the project library owns and can edit the project library and its properties.
2Locked (No Password)—Users cannot add or remove items from the project library, edit project library properties, or view private items that the project library owns.
3Password-protected—Users cannot add or remove items from the project library, edit project library properties, or view private items that the project library owns. Users must enter a password to edit the project library.

Remarks

The following table lists the characteristics of this method.

Data type
Available in Run-Time EngineYes (Read/Write)
Available in Real-Time Operating SystemNo
Settable when the VI is runningNo
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 idleNo
Available with control VIsNo
Available with global VIsNo
Available with strict type definitionsNo
Available with polymorphic VIsNo

 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit