Hans-Petter Halvorsen
LabVIEW is a graphical programming language, and it has powerful features for simulation, control and DAQ applications.
Here you can Download LabVIEW. You can also download the LabVIEW Community edition for non-commercial use for free.
LabVIEW is developed by National Instruments (NI).
Below we see a typical LabVIEW program:
Getting Started with LabVIEW:
Since LabVIEW is a full-blood programming language (in a graphical way), you can use LabVIEW for almost everything, personally I use LabVIEW for Datalogging and Monitoring, DAQ, Control Systems, OPC, Database Systems, SCADA Systems, Hardware in the Loop Simulations and Testing, Modbus, etc. In these LabVIEW Videos you can get an overview of using LabVIEW in different applications.
Want to learn more LabVIEW Programming? - Goto LabVIEW Basics.
LabVIEW is the traditional Professional LabVIEW Software, while LabVIEW NXG is a new product from NI. LabVIEW NXG is a very simplified compared to the professional versjon of LabVIEW, and are for those who has little experience in programming. LabVIEW NXG contains only a subset of features and hardware support currently in LabVIEW. It seems like the plan is to merge the traditional LabVIEW software with the new LabVIEW NGX within some years.
I recommend the traditional LabVIEW package, because LabVIEW NGX is still in an early phase with limited features and possibilities.
Typically engineers often create simple LabVIEW VIs that eventually grow out of control, because they don't have the proper structure and best practices. The solution to this problem is organizing your code and data in a way that enables modularity, readability, and reuse.
Some examples are:
For more details, see the video below.
LabVIEW Programming Guidelines:
License Information (Note! only valid for campus Porsgrunn and campus Vestfold):
University of South-Eastern Norway, campus Porsgrunn and Vestfold has a campus license for LabVIEW and other software from National Instruments. If you are a student or staff at USN Porsgrunn, you can download and install LabVIEW and many other software from National Instruments. List of included software.
Note! The Serial Number for LabVIEW is provided by your teacher in the course you are using LabVIEW.
Note! Campus Porsgrunn has Multisim included in their license, while campus Vestfold don't include Multisim.
How to Activate existing LabVIEW Student Edition software:
Note! Before you start the installation, here are some tips and tricks:
Open the links below in order to download LabVIEW:
Windows 32 or 64 bit? Should I use the 32-bit or 64-bit version of LabVIEW? Most users should use the 32-bit version of LabVIEW (even on 64-bit operating systems). The 64-bit version of LabVIEW allows applications to access more RAM however, most applications won't require the additional RAM and still many LabVIEW Toolkits and Modules are not supported in the 64-bit version of LabVIEW.
Mac OS/Linux? You need a computer with Windows in order to follow this LabVIEW training. LabVIEW is supported on Windows and Mac OS/Linux, however many LabVIEW Add-ons are Windows only.
The NI-DAQmx Driver is supported only on Windows (which we need and use at USN)! A simpler driver called "NI-DAQmx Base" (you can download from Internet, but the software has not been updated lately) offers a subset of NI-DAQmx functionality on Windows, Linux, Mac OS X, but the "DAQ Assistant" we will use in the training is not included. If you want to use "NI-DAQmx Base" instead, you need to program the DAQ functionality on a lower level (which is not part of this training). In general, only the Windows edition is recommended to use at USN, Porsgrunn.
Data Acquisition on MacOS
National Instruments does not recommend using the Mac OS version of LabVIEW to communicate to NI hardware. Read more...
To properly access the hardware drivers, NI recommends using Boot Camp to natively run Microsoft Windows on a machine running Mac OS and using the Windows version of LabVIEW.
You can also use Virtualization Software like VMWare Fusion, Parallels Desktop or VirtualBox.
Installation Instructions:
Select "Application Bitness" = 32-bit and you may also want to set "Driver Software Included" = No
You can use the default “Web Installation” or you can download "Individual Offline Installers" if you want.
Note! OPC communication (OPC DA) using Datasocket is supported only in LabVIEW 32-bit version.
National Instruments has lots of additional modules and drivers you can use together with LabVIEW. Below you find the main modules and drivers we use at the university.
NI-DAQmx - Driver for Hardware from National Instruments, like TC-01 Thermocouple, USB-6001 or USB-6008, etc.
Here you find more information about NI-DAQmx.
LabVIEW Control Design and Simulation Module is an add-on to LabVIEW where you can do simulations and create control systems within the LabVIEW environment. You find more information here.
Download Software:
LabVIEW Control Design and Simulation Module
LabVIEW MathScript Module is an add-on to LabVIEW where you can create program with MATLAB syntax. You could say it is a miniature version of MATLAB and you can also integrate MATLAB code into your LabVIEW applications using the MATLAB Node. You find more information here.
Download Software:
OPC UA
The LabVIEW OPC UA toolkit contains the OPC UA API that was formerly part of the LabVIEW Datalogging and Supervisory Control (DSC) Module and the LabVIEW Real-Time Module. From the 2017 release, the LabVIEW OPC UA Toolkit becomes a standalone product. The LabVIEW DSC Module and the LabVIEW Real-Time Module no longer contain the OPC UA API. Read more.
SCADA Systems
LabVIEW Datalogging and Supervisory Control Module (LabVIEW DSC) - handy when developing SCADA applications. Read more.
But you dont need LabVIEW DSC to create SCADA Systems. Want to create a SCADA system from scratch with LabVIEW? - See Datalogging and Monitoring, DAQ, Control Systems, OPC, Database Systems, SCADA Systems, Hardware in the Loop Simulations and Testing, Modbus, etc. In these LabVIEW Videos you can get an overview of using LabVIEW in different applications that are part of a traditional SCADA system.
Real-Time and Embedded Systems
The LabVIEW Real-Time Module may be handy when developing SCADA applications in LabVIEW. With LabVIEW Real-Time Module you can create stand-alone embedded systems with hardware like cRIO, etc. Read more.
Database Systems
LabVIEW Database Connectivity Toolkit is included with LabVIEW professional, but it is cumbersome to use. Try my LabVIEW SQL Toolkit instead.
You can also download LabVIEW, Add-on Modules, Drivers, etc. here:
Here you can also download previous versions, etc.
If you have an Academic Site License, you find all available software here:
Here I will present some LabVIEW applications where I have used the "State-machine" principle to make the LabVIEW Block Diagrams. Using the "State-machine" principle makes it easier to create more complex LabVIEW Applications, it makes it easier to extend and maintain your application in the future.
Do you want to see what you can create with LabVIEW? See the video below where I have created an application for Data Logging and Monitoring using LabVIEW:
Since LabVIEW is a full-blood programming language (in a graphical way), you can use LabVIEW for almost everything, personally I use LabVIEW for Datalogging and Monitoring, DAQ, Control Systems, OPC, Database Systems, SCADA Systems, Hardware in the Loop Simulations and Testing, Modbus, etc. In these LabVIEW Videos you can get an overview of using LabVIEW in different applications.
Want to learn more LabVIEW Programming? - Goto LabVIEW Basics.
See also other tutorials, examples and applications below under LabVIEW Resources:
Learn Basic LabVIEW Programming
You can easily connect and communicate with a Database from LabVIEW
LabVIEW Videos withn different Applications and Areas
LabVIEW Tutorials
Programming Resources
Datalogging and Monitoring Examples
Training Material for using LabVIEW in Automation
LabVIEW LINX Resources