Skip to content

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:

Duration

  • Instructor-led Classroom: Three (3) Days

Audience

  • LabVIEW users who need to improve the readability, scalability, maintainability, or reusability of their code
  • LabVIEW users who want to develop code that is easier to debug
  • LabVIEW users who are familiar with object-oriented programming in other languages and want to know how to implement object-oriented designs in LabVIEW
  • LabVIEW Core 2 attendees who want to focus on Object-Oriented Programming

Prerequisites

  • LabVIEW Core 2 Course or equivalent experience

After attending this course, you will be able to:

  • Determine the appropriateness of using an object-oriented approach to solve the problem
  • Design an application using object-oriented design principles
  • Modify an existing LabVIEW application to replace common patterns with objects
  • Implement a basic class hierarchy using LabVIEW classes and Interfaces

Object-Oriented Design and Programming in LabVIEW Course Outline

LessonOverviewTopics
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 LabVIEWDevelop 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 ClassesDesign PatternsTemplate Method PatternAggregation PatternFactory PatternCase 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 CodeFront Panel Displays for Object DataMigrating to LabVIEW ClassesDeploymentAdditional Resources