Welcome to LabView Tutorials. The objective of these tutorials is to provide in depth understand of LabView.
In addition to free LabView Tutorials, we will cover common interview questions, issues and how to’s of LabView.
LabView is a computer programming environment commonly used for data acquisition and analysis. It also can be used for general programming purposes. It is fundamentally different from standard programming languages such as C in that it uses Graphical Programming. It is very easy to learn from scratch and very convenient for writing simple programs.
This technical manual introduces the concepts required to build a basic system with LabVIEW. We recommend that new users spend time learning the basic tools and concepts needed to use and navigate the environment before building their first applications.
Core LabVIEW Concepts
-LabVIEW Environment Basics—Examine the most important building blocks for any LabVIEW application, including the front panel, block diagram, palettes, controls, and indicators.
-Graphical Programming Basics—See how to connect functions -and work with a variety of datatypes when constructing applications.
-Common Tools—View a collection of important tools and common user functions that all users should know.
-Debugging Tools—Learn how to use simple tools and techniques to understand the behavior of code and address problems or bugs.
Programming in LabVIEW
-Data Structures—arrays, clusters, and enumerated data
-Execution Structures—While Loops, For Loops, and Case -structures
-Passing Data Between Loop Iterations—shift registers
-Handling Errors—error handling and error clusters
Finding Examples and Getting Help
-Finding Examples—Example Finder and ni.com/code
-Using the LabVIEW Help—context help and the LabVIEW Help
-Online Help Resources—KnowledgeBase and forums
-Getting Additional Help—help from a LabVIEW expert
Desired to gain proficiency on LabVIEW? Explore the blog post on
LabVIEW Training to become a pro in LabVIEW.
Before you begin using your DAQ software, you must install your application development environment first, and then your driver software. This document includes instructions for installing LabVIEW and NI-DAQmx driver software. If you do not have the original media that was shipped with your products, visit ni.com/downloads/products to find the latest version of LabVIEW evaluation software and NI-DAQmx.
If you are upgrading an existing system, NI recommends that you back up any applications, projects, or other related files before continuing.
You must first install LabVIEW before installing the required driver software. To do this, insert the LabVIEW Platform DVD and follow the onscreen instructions. If you do not have the original media that was shipped with your purchase of LabVIEW, you can download the latest version of LabVIEW online.
Check out the top LabVIEW Interview Questions now!
Data flow in LabVIEW
LabVIEW follows a data flow model for running VIs. A block diagram node executes when it receives all required inputs. When a node executes, it produces output data and passes the data to the next node in the data flow path. A node with multiple outputs produces all the outputs at the same time after the node finishes execution. The movement of the data through the node determines the execution order of the VIs and functions in the block diagram. To elaborate the idea of data flow programming further, consider the example block diagram shown in Figure 3. In Figure 3, the block diagram executes from left to right, not because the objects are placed in that order, but because the “subtract” function cannot execute until the “add” function finishes execution and passes its output data as an input to the “subtract” function.
A different example with two code segments. In Figure 4, it is not possible to determine which of the “add”, “random number” and “divide” functions execute first. The input to the “add” and “divide” functions are available at the same time and the “random number” function has no input.