LabVIEW Object-Oriented Programming

LabVIEW object-oriented programming uses concepts from other object-oriented programming languages such as C++ and Java, including class structure, encapsulation, and inheritance. You can use these concepts to create code that is easier to maintain and modify without affecting other sections of code within the application. You can use object-oriented programming in LabVIEW to create user-defined data types.

The conceptual information about object-oriented programming in the LabVIEW Help assumes you have knowledge of object-oriented programming principles. The following references might be helpful to you as you use object-oriented programming in LabVIEW if you are not already familiar with object-oriented programming.

Budd, Timothy. An Introduction to Object-Oriented Programming. Redwood City, Calif.: Addison-Wesley, 2001.

Coad, Peter, and Jill Nicola. Object-Oriented Programming. Upper Saddle River, N.J.: Pearson Education, 1993.

Conway, Jon, and Steve Watts. A Software Engineering Approach to LabVIEW. Upper Saddle River, N.J.: Prentice Hall, 2003.

Weisfeld, Matt. The Object-Oriented Thought Process. Indianapolis, Ind.: Sam's Publishing, 2004.

Note National Instruments recommends that you begin with The Object-Oriented Thought Process as an introduction to object-oriented programming.

Refer to the following support document at ni.com for a LabVIEW object-oriented programming FAQ that contains additional resources.

Refer to the labview\examples\lvoop directory for examples of object-oriented programming.

Find related examples

Related Concepts

Classes and Objects

Creating LabVIEW Classes

Developing LabVIEW Classes

Comparing LabVIEW Class Objects

LabVIEW Interfaces

Using LabVIEW Classes and Interfaces in an Application

Related How-To

Creating a LabVIEW Class or Interface

Creating a Member VI in a LabVIEW Class or interface

Adding Items to a LabVIEW Class or Interface

Changing the Wire Appearance of a LabVIEW Class or Interface