Jump to content

LabVIEW Learning Materials: Difference between revisions

From LabVIEW Wiki
No edit summary
Line 15: Line 15:
* [https://www.ni.com/en-us/innovations/white-papers/06/labview-data-types.html LabVIEW Data Types Overview]
* [https://www.ni.com/en-us/innovations/white-papers/06/labview-data-types.html LabVIEW Data Types Overview]
* [https://www.youtube.com/watch?v=ieC4MBxPVtM Arrays and Clusters Tutorial]
* [https://www.youtube.com/watch?v=ieC4MBxPVtM Arrays and Clusters Tutorial]
* [https://www.youtube.com/watch?v=I7FPlLzc7D0 Overview of For Loops]


==User Interface Design==
==User Interface Design==
* [https://www.youtube.com/watch?v=eGlvOiqYVxg Using event structures to capture user interactions]
* [https://www.youtube.com/watch?v=jWWJKUpoois Introduction to Panes for UI Organization]
* [https://www.youtube.com/watch?v=jWWJKUpoois Introduction to Panes for UI Organization]
* [https://www.youtube.com/watch?v=nCvMLB_kH4Q Programmatically changing UI controls using property nodes]
* [https://www.youtube.com/watch?v=rBM_kTpUfDk Creating resizeable user interfaces]
* [https://www.youtube.com/watch?v=rBM_kTpUfDk Creating resizeable user interfaces]
* [https://www.youtube.com/watch?v=qvhGH0TlCqs&pp=ygUXY3VzdG9tIGNvbnRyb2xzIGxhYnZpZXc%3D Creating Custom Controls]
* [https://www.youtube.com/watch?v=qvhGH0TlCqs&pp=ygUXY3VzdG9tIGNvbnRyb2xzIGxhYnZpZXc%3D Creating Custom Controls]
Line 23: Line 26:


==Asynchronous Messaging==
==Asynchronous Messaging==
* [https://www.youtube.com/watch?v=8DFf-9kcRcs Introduction to queues for sending messages between processes]
* [https://www.ni.com/en-us/innovations/white-papers/06/using-queues-and-notifiers-in-labview.html Queues, Notifiers, and Semaphores]
* [https://www.ni.com/en-us/innovations/white-papers/06/using-queues-and-notifiers-in-labview.html Queues, Notifiers, and Semaphores]
* [https://www.youtube.com/watch?v=MevQp9A9Xqs Queues and Notifiers in LabVIEW]
* [https://www.youtube.com/watch?v=MevQp9A9Xqs Queues and Notifiers in LabVIEW]
* [https://www.youtube.com/watch?v=8DFf-9kcRcs Overview of Queues]
* [https://www.youtube.com/watch?v=9og3QbfgBu0 Tutorial on Using Notifiers]
* [https://www.youtube.com/watch?v=9og3QbfgBu0 Tutorial on Using Notifiers]
==Advanced Execution Control==
*Dynamically loading VIs
*[https://www.youtube.com/watch?v=dG8MaqO9c2A Launching clones of a VI]
*Dynamically loading classes
*[https://www.youtube.com/watch?v=tfZIJejBnXg Launching a dynamically dispatched VI programmatically]


==Object-Oriented Programming (OOP) in LabVIEW==
==Object-Oriented Programming (OOP) in LabVIEW==
Line 46: Line 57:


==Queued Message Handlers (QMH)==
==Queued Message Handlers (QMH)==
* [https://www.youtube.com/watch?v=-xXJt7yUEis Queued State Machine Overview]
* [https://learn.ni.com/center-of-excellence/queued-message-handler Queued Message Handler Architecture Overview]
* [https://learn.ni.com/center-of-excellence/queued-message-handler Queued Message Handler Architecture Overview]
* [https://www.youtube.com/watch?v=E8onRrQjR9E QMH Video Tutorial]
* [https://www.youtube.com/watch?v=E8onRrQjR9E QMH Video Tutorial]
Line 111: Line 123:
    
    
* [https://forums.ni.com/t5/Delacor-Queued-Message-Handler-DQMH/bd-p/7351 DQMH Forum (LabVIEW Community)]A place to ask questions, find tutorials, and get tips from experienced DQMH users.
* [https://forums.ni.com/t5/Delacor-Queued-Message-Handler-DQMH/bd-p/7351 DQMH Forum (LabVIEW Community)]A place to ask questions, find tutorials, and get tips from experienced DQMH users.


==Actor Framework==
==Actor Framework==

Revision as of 13:16, 24 September 2024

See also: category:LabVIEW fundamentals

This page provides a recommended set of resources for LabVIEW programmers. It breaks the content across six phases of maturity and experience so that users may self-identify what content is most relevant for them based on their experience. Most of the content is crowd-sourced and freely available from ni.com and other sources like YouTube.

LabVIEW Programming Basics

Introduction to LabVIEW Environment

Data Types & Structures

User Interface Design

Asynchronous Messaging

Advanced Execution Control

Object-Oriented Programming (OOP) in LabVIEW

Debugging Tools

Build and Deployment

LabVIEW Software Patterns

State Machines

Queued Message Handlers (QMH)

Producer/Consumer Architecture

Event-Driven Programming

Tooling and Development Processes

Configuration Management=

Static Code Analysis

Dynamic Code Analysis and Performance Benchmarking

Unit Testing

Software Design Patterns and Best Practices

Modular Programming and Code Reuse

Error Handling

Software Frameworks

DQMH

  • DQMH User GuideThe official DQMH user guide with detailed explanations of how to use the framework.
  • NI's DQMH Community PageNI community hub dedicated to discussions around the DQMH framework, where developers share best practices, examples, and troubleshooting tips.

DQMH Use Cases and Advanced Topics

Community Contributions

  • DQMH Best Practices on GitHubThis repository contains best practices for using DQMH, contributed by the community. You’ll find code examples, comments, and strategies for building robust systems.

Actor Framework

Workers

VIPER

Hardware and Instrumentation Connectivity

DAQmx Basics

Instrument Control

Determinism and Real-Time Execution

Community and Best Practices

LabVIEW Style Guidelines

LabVIEW Community and User Groups

Connectivity and Report Generation

Database Connectivity


Formal Training

Formal training on LabVIEW is available from several providers. Offerings differ based on prior LabVIEW experience level and the preferred delivery method. Common delivery methods include:

  • In-person instructor-led
  • Remote instructor-led (usually through a web conference)
  • Online self-paced (usually through a combination of pre-recorded lecture videos and exercise solution videos)
  • Self-paced with a manual

National Instruments has a suite of courses ranging from beginner to advanced as well as several specialty topics such as LabVIEW Real-Time and LabVIEW Connectivity. National Instruments offers all common delivery methods mentioned above except online self-paced. Other LabVIEW training providers such as Sixclear provide this online self-paced environment. Sixclear's same curriculum is also delivered through in-person instructor-led training. Durability is another provider of in-person instructor-led training.

Recommended training courses for those with no knowledge of LabVIEW are the National Instruments Core 1 and Core 2 courses, the Sixclear LabVIEW Fundamentals I and II courses, or the Durability LabVIEW 101 and 102 courses. All sets of courses are geared to a user with little to no LabVIEW experience and teach the proficiencies outlined by the Certified LabVIEW Associate Developer (CLAD) exam as well as simple DAQ and instrument control.


Common arguments justifying formal training revolve around the idea that the sum cost of developers' time is greater than the cost of training because:

  • the LabVIEW graphical programming paradigm is appreciably different than traditional text-based programming
  • costly mistakes commonly occur when moving from simple LabVIEW applications to more complex applications, especially when developing parallel loop applications

Alternatives to Formal Training

National Instruments maintains a list of LabVIEW reference books as an alternative to formal training.

Another alternative to formal training are half-day "LabVIEW Hands-On" workshops offered by National Instruments. Recommended follow-ups are the "G Programmer's reference manual" and the LabVIEW "User Manual" found in the LabVIEW documentation.


External Links

Some online tutorials: