Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Lock State:Set Method

LabVIEW 8.2 Help
August 2006

NI Part Number:
371361B-01

»View Product Info

Method of VI.

Sets the lock state of a VI. If interactive is FALSE (default), you can use password to either 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. This method is similar to the Unlocked (no password), Locked (no password), and Password-protected options on the Protection page of the VI Properties dialog box.

Parameters

NameDescription
Lock StateValid values include Not Locked, Locked (No Password), and Password-protected.

If Not Locked, users can see and edit the block diagram. If Locked (No Password), users can see but not edit a block diagram. If Password-protected, users cannot see or edit the block diagram without a password.

InteractiveSpecifies whether to display the file dialog box to select the name of the VI strings file. The default value is FALSE.

PasswordThe password used to log in to the domain. You can configure the password using the Domain Account Manager.

Put in CacheIf Lock State is Password-protected, Put in Cache specifies whether to place the new password in the cache. The default is FALSE.

Remarks

The following table lists the characteristics of this method.

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

Resources


 

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