LabVIEW Object-Oriented Programming
- Updated2025-04-01
- 2 minute(s) read
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.
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
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