SetSourceScopeAndPropagate Method

Requires: Base Development System

Class: Library Methods (ActiveX)

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.

Syntax

object.SetSourceScopeAndPropagate(source ref, scope)

Parameters

NameTypeDescription
source refRefnum controlContains a reference to the item in the project library for which you want to set or retrieve access.
scopeEnumerated type controlSpecifies 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.

Return Value

none