Library class/Source Scope.Get method

From LabVIEW Wiki
Jump to: navigation, search
VI Server Method Information
Method ID 4D10E401
Scope Basic Development Environment
Data Name Get Source Scope
Short Name* Get Source Scope
Long Name* Source Scope:Get
* Displayed here in English. Short and Long names appear in the language of the LabVIEW IDE.
Owning Class ID 80
Owning Class Name Library Class
Return Data Type Enum U32 data type

Enum U32

Invoke Node Source Scope:Get
Available in Real-Time Operating SystemNo
Available in Run-Time EngineYes (Read/Write)
Loads the block diagram into memoryNo
Loads the front panel into memoryNo
Need to authenticate before useNo
Remote access allowedYes
Settable when the VI is runningNo

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

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

The following table lists and describes the access scope enum values for the Source Scope:Get method:

Scope Description
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 the 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.

Parameters

Data type Name Required Description
Enum U32 Source Scope:Get Yes. Return value.
ProjectItem Refnum source ref Yes Contains a reference to the item in the project library for which you want to set or retrieve access.
Boolean inherited No Indicates whether the specified item is inherited.

Uses

History

Version Change(s)
LabVIEW 2018 More info to come.

See Also

External Links