SetSourceScope Method

LabView ActiveX Properties and Methods

SetSourceScope Method

Installed With: Base Package

Class: Library Methods (ActiveX)

Sets the access scope of an item that the LabVIEW project library owns, such as public or private access.

This method is similar to the Access Scope box on the Item Settings page of the LabVIEW Project Library Properties dialog box.

Syntax

object.SetSourceScope(sourceRef, [scope])

Parameters

NameTypeDescription
sourceRefProjectItem*Reference to the item in the project library for which you want to set scope.
scopeLibraryItemScopeEnumSpecifies the access setting for the item.
  • 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.

Return Value

none