From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Object-Oriented Design and Programming in LabVIEW Course Overview

The Object-Oriented Design and Programming in LabVIEW Course covers the fundamental concepts of object-oriented design and programming and then demonstrates how those concepts are implemented in LabVIEW. Object-oriented design (OOD) encourages cleaner interfaces between sections of code and results in code that is easier to debug and scales better for large programming teams. Object-oriented programming is the development of code in a language that enforces object-oriented design principles.

Course Details:

Object-Oriented Design and Programming in LabVIEW Course Outline

Introduction to ​Object-Oriented Programming​

Explore the appropriateness of using an object-oriented approach to design and implement an application.​

  • Introduction​
  • What Is Object-Oriented Design?​
  • What Is Object-Oriented Programming?​
  • What Is a Class?​
  • What Is an Object?​
Designing an ​Object-Oriented Application​

Design an application using object-oriented design principles.​

  • Beginning by Knowing What to Build​
  • Class Identity, State, and Behavior​
  • Methods​
  • Class Relationships​
  • Interfaces​
  • Dynamic Dispatching​
  • Class Diagrams​
  • Common Design Mistakes​
Implementing ​Object-Oriented Programing in LabVIEW

Develop and use classes in LabVIEW that are readable, scalable, maintainable, and reusable.

  • LabVIEW Classes​
  • Encapsulation​
  • Class Inheritance​
  • Access Scope​
  • Dynamic Dispatch​
  • Interface Inheritance​
  • Tools​
  • Common Use Cases for Classes​

Object-Oriented Design Patterns and Tools​

Modify an existing LabVIEW application to replace common patterns with objects.​

  • Migrating to LabVIEW Classes
  • Design Patterns
  • Template Method Pattern
  • Aggregation Pattern
  • Factory Pattern
  • Case Study: Hardware Abstraction Layers​
  • State Pattern​
  • Command Pattern​
  • Design Patterns Conclusion​
  • Object References and Construction Guarantees​

Distributing and Deploying Code​

Review, refactor, and deploy code using good object-oriented design and programming practices.​

  • Best Practices for Readable Code
  • Front Panel Displays for Object Data
  • Migrating to LabVIEW Classes
  • Deployment
  • Additional Resources

Get started with Object-Oriented Design and Programming in LabVIEW today