Setting the Access Scope of Member VIs
- Updated2025-01-22
- 2 minute(s) read
Setting the Access Scope of Member VIs
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 project item for the class or interface whose member VI access you want to change and select Properties from the shortcut menu. The Class/Interface Properties dialog box appears.
- Select Item Settings from the Category list.
- To customize the access scope of items in the LabVIEW class or interface, 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.
- Community —Only VIs that are friend of the class or interface, members of the class or interface, or members of a friended library 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 or a descendant class or interface 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 or interface 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/Interface Properties dialog box.