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

Setting the Access Scope of Member VIs

LabVIEW 2013 Help

Edition Date: June 2013

Part Number: 371361K-01

»View Product Info

You can set the access scope of a member VI to control user access to the member VI. Complete the following steps to set the access scope of a member VI.

  1. In the Project Explorer window, right-click the LabVIEW class icon for the class whose member VI access you want to change and select Properties from the shortcut menu. The Class Properties dialog box appears.
  2. Select Item Settings from the Category list.
  3. To customize the access scope of items in the LabVIEW class, select an item from the Contents list on the Item Settings page.
  4. In the Access Scope section, select from the following options:
    • PublicAny VI can call the member VI as a subVI.
    • CommunityOnly VIs within the same class, friends of the class, or VIs within a friend library of the class can call the member VI. Community member VIs display a dark blue key glyph in the Project Explorer window.
    • ProtectedOnly VIs within the same class or a descendant class can call the member VI. Protected member VIs display a dark yellow key glyph in the Project Explorer window.
    • PrivateOnly VIs within the same class can call the member VI. Private member VIs display a red key glyph in the Project Explorer window.
    • Not specified—This option appears only when you select a folder. The folder does not have access items specified. Access is public.
  5. Repeat steps 3 and 4 for all items for which you want to change the access scope.
  6. Click the OK button to close the Class Properties dialog box.

 

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