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 Project Library Properties dialog box.

Note The LabVIEW Datalogging and Supervisory Control Module supports this method in the Run-Time Engine.

Parameters

Name Data type Required Description
source ref cprjitrn.png Yes

Contains a reference to the item in the project library for which you want to set or retrieve access.

scope cenum.png Yes
Specifies 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.

Remarks

The following table lists the characteristics of this method.

Short Name Set Source Scope
Data type No return value
Available in Run-Time Engine No
Available in Real-Time Operating System No
Settable when the VI is running No
Loads the front panel into memory No
Need to authenticate before use No
Loads the block diagram into memory No
Remote access allowed Yes