LabVIEW Core 2 - English
This course is an extension of the LabVIEW Core 1 and teaches you to use common design patterns to successfully implement and distribute LabVIEW applications for research, engineering, and testing environments.
Duration
- 33 lessons | 4 hours
Audience
- New users and users preparing to develop applications using LabVIEW
- LabVIEW Core 1 Course attendees
- Users and technical managers evaluating LabVIEW in purchasing decisions
- Users pursuing the Certified LabVIEW Associate Developer certification
Course Objectives
This course will strengthen your knowledge on the following:
- Executing multiple parallel loops
- Creating event-driven applications using design patterns
- Controlling the user interface
- Managing configuration settings in an application
- Developing error handling strategies for your application
- Creating and distributing stand-alone executables and package installers
- Identifying Best Programming Practices for use in LabVIEW
Prerequisites
- LabVIEW Core 1 Course or equivalent experience
Hardware and Software
NI Online Training courses are best utilized on systems meeting minimum requirements for best performance. Use the following guidelines:
Operating System
- Windows 10
Software
- LabVIEW 2021
- NI-DAQmx 21.0
Hardware
NI-DAQmx Hardware
- Option 1: NI PCI-6221 or NI USB-6212, BNC-2120
- Option 2: Simulated NI-PCI-6221
Milestone
-
Lesson List
Communicating between Parallel Loops
RequiredLesson
| 1 | Duration: 5 minutesExplore parallel loops and how to use channel wires to communicate between parallel loops.Exploring Channel Wires and Templates
RequiredLesson
| 2 | Duration: 10 minutesExplore different ways to communicate data between parallel loops using Channel Wires.Stream Channel
RequiredLesson
| 3 | Duration: 4 minutesCommunicate data between parallel loops using Stream Channel Wires.Tag Channel
RequiredLesson
| 4 | Duration: 5 minutesCommunicate data between parallel loops using Tag Channel Wires.Messenger Channel and Channel Debugging
RequiredLesson
| 5 | Duration: 5 minutesCommunicate data between parallel loops using Messenger Channel Wires, and Debug channels.Exploring Channel Wire Interactions
RequiredLesson
| 6 | Duration: 2 minutesUse channels to interact with Case structures and subVIs.Using Queues
RequiredLesson
| 7 | Duration: 14 minutesTransfer every point of data between parallel loops using queues.Event-Driven Programming
RequiredLesson
| 8 | Duration: 10 minutesExplore event-driven programming and how to implement it using the Event structure.User Interface Event Handler Design Pattern
RequiredLesson
| 9 | Duration: 5 minutesCreate an event-driven application with the User Interface Event Handler design pattern.Event-Driven State Machine Design Pattern
RequiredLesson
| 10 | Duration: 10 minutesLeverage a powerful and flexible design pattern called the Event-Driven State Machine design pattern.Producer/Consumer (Events) Design Pattern
RequiredLesson
| 11 | Duration: 7 minutesExplore Producer/Consumer (Events) design pattern, message communication, and its implementation.Channeled Message Handler (CMH) Design Pattern
RequiredLesson
| 12 | Duration: 13 minutesExplore the Channeled Message Handler (CMH) design pattern, which is an improvement over the Producer/Consumer (Events) design pattern.VI Server Architecture
RequiredLesson
| 13 | Duration: 4 minutesExplore VI Server and the class hierarchy of properties and methods.Property Nodes and Control References
RequiredLesson
| 14 | Duration: 10 minutesExplore Property Nodes, how to use them, create them, and handle errors.Invoke Nodes
RequiredLesson
| 15 | Duration: 7 minutesUse Invoke Nodes to perform actions on controls of VIs and to use the VI Server methods to associate an Invoke Node with the current VI.Why Is Object-Oriented Programming (OOP) Used
RequiredLesson
| 16 | Duration: 5 minutesExplore the use cases, benefits, and principles of Object-Oriented Design and Programming.Components of OOP
RequiredLesson
| 17 | Duration: 10 minutesExplore various components of Object-Oriented Programming (OOP). Implement classes in LabVIEW and create simple methods.Data Encapsulation
RequiredLesson
| 18 | Duration: 12 minutesExplore data encapsulation and how data is encapsulated inside of classes in LabVIEW.OOP for Managing Data
RequiredLesson
| 19 | Duration: 2 minutesUse Object-Oriented Programming (OOP) to define code modules and use classes as a powerful cluster.Configuration Settings Overview
RequiredLesson
| 20 | Duration: 5 minutesExplore configuration settings and how to work with them.Managing Configuration Settings Using a Delimited File
RequiredLesson
| 21 | Duration: 4 minutesStore configuration settings in a delimited file, load the configuration data from a delimited file, and search for the specific configuration data.Managing Configuration Settings Using an Initialization (INI) File
RequiredLesson
| 22 | Duration: 8 minutesStore configuration settings in an initialization file, read configuration settings from an INI file and describe the pros and cons of using an INI file.Error Handling Overview
RequiredLesson
| 23 | Duration: 14 minutesExplore error handling methods used in LabVIEW for smooth operation of an application.Exploring Error Response
RequiredExploring Event Logging
RequiredLesson
| 25 | Duration: 3 minutesExplore the importance of execution logs and what information needs to be logged into them.Injecting Errors for Testing
RequiredLesson
| 26 | Duration: 5 minutesInject errors into code for testing, explore error rings, and verify error handling behavior.Preparing Code for Distribution
RequiredLesson
| 27 | Duration: 5 minutesExplore the tasks that need to be completed when preparing project files for distribution.Build Specifications
RequiredLesson
| 28 | Duration: 4 minutesExplore build specification settings and how to determine when a build specification is necessary.Creating and Debugging an Application
RequiredCreating a Package for Distribution
RequiredLesson
| 30 | Duration: 5 minutesCreate, configure, build, and deploy LabVIEW packages.Recommended Coding Practices
RequiredLesson
| 31 | Duration: 25 minutesExplore the tasks that need to be completed when preparing project files for distribution.Writing Performant Code in LabVIEW
RequiredLesson
| 32 | Duration: 9 minutesExplore techniques to assess and optimize performance of your code.Software Engineering Best Practices
RequiredLesson
| 33 | Duration: 12 minutesExplore key principles of software engineering best practices and the benefits of implementing them in LabVIEW.