Jump to content

Access scope

From LabVIEW Wiki
(Redirected from Scope)

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 () 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 () 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 () on the file icon and only accessible by the owning library.

See also

External links