Table Of Contents

Setting Access Restrictions for Class Methods

Last Modified: September 25, 2017

The access scope of a class method determines whether you can use the method on the diagram of a VI that is not on the Member List of the class.

Complete the following steps to set the access scope for a class method.

  1. Open the Member List of the class G Type document.
  2. Select the method on the Member List.
  3. On the Item tab, select the Access scope option to apply to the method.
    Option Description
    Public Any VI in your project can access the method.
    Private Only VIs that are members of the same class can access the method.
    Protected Any VI that is a member of the same class or a child class can access the method.
  4. Save the class G Type document to apply the change.

Recently Viewed Topics