Setting the Access Scope of Member VIs

LabVIEW 2018 Help


Edition Date: March 2018
Part Number: 371361R-01
View Product Info

DOWNLOAD (Windows Only)


LabVIEW 2016 Help
LabVIEW 2017 Help
LabVIEW 2018 Help
LabVIEW 2019 Help
LabVIEW 2020 Help

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:
    • Public—Any VI can call the member VI as a subVI.
    • Community—Only 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.
    • Protected—Only 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.
    • Private—Only 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.

WAS THIS ARTICLE HELPFUL?

Not Helpful