Source Scope:Set and Propagate Method

Short Name: Set Source Scope And Propagate

Requires: Base Development System

Class: Library Methods

To Use: Create a method.

Sets the access scope of an item that the LabVIEW project library owns, such as public or private access. If the item is a dynamic dispatch VI, LabVIEW also changes the scope of other implementations.

Parameters

Data typeNameRequiredDescription
source refYesContains a reference to the item in the project library for which you want to set or retrieve access.
scopeYesSpecifies the access setting for the item.
  • invalid scope—The item is an invalid value. The item is visible whenever the read function receives an error and causes an error to occur if you pass this item to a write function.
  • public—The item is visible when users view the project library. Other VIs and applications can call public VIs.
  • private—The item does not appear visible when users view the project library or palettes if you lock the project library. Other VIs and applications that the project library does not own cannot call a private VI.
  • protected—The item is visible to other VIs in the same class or a descendant class.
  • community—The item is visible when users view the project library.
skip prompt?NoSpecifies whether to ask before applying the access scope setting to all override VIs when the item is a dynamic dispatch VI. If skip prompt? is TRUE, this method applies the access scope setting to all override VIs without asking. If skip prompt? is FALSE or unwired, this method throws a dialog box asking whether to apply the access scope setting to all override VIs.

Remarks

The following table lists the characteristics of this method.

Data typeNo return value
Available in Run-Time EngineNo
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