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.
- In the Project Explorer window, right-click the LabVIEW class icon for the class whose member VI access you want to change. The Class Properties dialog box appears.
- Select Item Settings from the Category list.
- To customize the access scope of items in the LabVIEW class, select an item from the Contents list on the Item Settings page.
- In the Access Scope section, select from the following options:
- Public—Any VI can call the member VI as a subVI.
- 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.
- Repeat steps 3 and 4 for all items for which you want to change the access scope.
- Click the OK button to close the Class Properties dialog box.