Access scope

From LabVIEW Wiki
Jump to: navigation, search

Access scope defines the accessibility of items in libraries and classes. Every item in a library or class can be set to either public, protected (classes only), community or private scope. Virtual folders automatically apply their access scope to all contained items.

Public scope

Public items are accessible by anyone. This is the default access scope in LabVIEW.

Protected scope

Items in protected scope are shown with a yellow key (Access Scope - Protected Key.png) on the file icon. Protected scope is only available for classes. Methods in protected scope are accessible by the owning class and its descendants.

Community scope

Items in community scope are shown with a blue key (Access Scope - Community Key.png) on the file icon. They are accessible by the owning library, its descendants (for classes) and direct friends of the owning library.

Private scope

Items in private scope are shown with a red key (Access Scope - Private Key.png) on the file icon and only accessible by the owning library.

See also

External links