LabVIEW Object-Oriented Programming

LabVIEW 2018 Help

Edition Date: March 2018
Part Number: 371361R-01
View Product Info

DOWNLOAD (Windows Only)

LabVIEW 2016 Help
LabVIEW 2017 Help
LabVIEW 2018 Help
LabVIEW 2019 Help
LabVIEW 2020 Help

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. Refer to the National Instruments Books and Publications section of for more information about ordering these documents and for a full list of related reference materials.

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 for a LabVIEW object-oriented programming FAQ that contains additional resources.

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

Related Concepts

Classes and Objects

Creating LabVIEW Classes

Developing LabVIEW Classes

Comparing LabVIEW Class Objects

Using LabVIEW Classes in an Application

Related How-To

Creating a LabVIEW Class

Creating a Member VI in a LabVIEW Class

Adding Items to a LabVIEW Class

Changing the Wire Appearance of a LabVIEW Class

Editing the Properties of a LabVIEW Class


Not Helpful