Select New»Class or New»Interface when right-clicking a target, virtual folder, or library in the Project Explorer window to display this dialog box.

Use this dialog box to define the basic properties of a new LabVIEW class or interface.

This dialog box includes the following components:

Option Description
Class/Interface Name

Name of the class or interface. Provide meaningful names to identify the purpose of the class or interface.

  • For classes, name all classes as nouns. For example, name an example class Waveform Reader.lvclass rather than Reads Waveform.lvclass.
  • For interfaces, refer to Best Practices for Naming Interfaces for naming guidelines.
Parent Class

Parent class that the new class or interface inherits from. A class or interface can inherit from only one class. Interfaces always inherit from LabVIEW Object.

Note If you are creating a concrete class, avoid inheriting from an existing concrete class. Instead, create an interface or an abstract class as the common parent to both concrete classes. If you need to define state transitions for the concrete child classes, create an abstract class as the common parent. Otherwise, create an interface as the common parent.
Parent Interfaces

Parent interface(s) that the new class or interface inherits from. You can select multiple interfaces from the list to enable multiple inheritance.

Save Options

Specifies whether to save the class or interface.

  • Save to Folder

    Saves the class or interface to the specified path.

  • Do Not Save

    Does not save the class or interface.