Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

Source Scope:Get Method

LabVIEW 2013 Help

Edition Date: June 2013

Part Number: 371361K-01

»View Product Info

Short Name: Get Source Scope

Requires: Base Development System

Class: Library Methods

To Use: Create a method.

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:

ScopeDescription
invalid scopeThe 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.
publicThe item is visible when users view the project library. Other VIs and applications can call public VIs.
privateThe 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.
protectedThe item is visible to other VIs in the same class or a descendant class.
communityThe item is visible when users view the project library.

Parameters

Data typeNameRequiredDescription
source refYesContains a reference to the item in the project library for which you want to set or retrieve access.
inheritedNoIndicates whether the specified item is inherited.

Remarks

The following table lists the characteristics of this method.

Data type
Available in Run-Time EngineYes (Read/Write)
Available in Real-Time Operating SystemNo
Settable when the VI is runningNo
Loads the front panel into memoryNo
Need to authenticate before useNo
Loads the block diagram into memoryNo
Remote access allowedYes
Must wait until user interface is idleNo
Available with control VIsNo
Available with global VIsNo
Available with strict type definitionsNo
Available with polymorphic VIsNo

 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit