LabVIEW

Hans-Petter Halvorsen

What is LabVIEW?

LabVIEW is a graphical programming language, and it has powerful features for simulation, control and DAQ applications.

Latest version of LabVIEW is LabVIEW 2018.

LabVIEW is developed by National Instruments.

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.

 

Latest version of LabVIEW is LabVIEW 2018. Note! 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 (LabVIEW 2018) package, because LabVIEW NGX is still in an early phase with limited features and possibilities.

 

 

 

University College of Southeast Norway

License Information (Note! only valid for campus Porsgrunn and campus Vestfold):

University College of Southeast 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:

  1. Open NI License Manager
  2. Select "Activate Software"
  3. Enter the Serial Number (provided by your teacher) under "LabVIEW 2018 Student Edition"
  4. Click "Activate"
  5. Click "Refresh"

 

 

 

Download LabVIEW Software

Open the links below in order to download LabVIEW:

LabVIEW 2018 (32-bit)

LabVIEW 2018 (64-bit)

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 in this Training)! 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.

Download LabVIEW 2018 for MacOS (including LabVIEW Control Design and Simulation Module and LabVIEW MathScript RT Module)


National Instruments does not recommend using the Mac OS version of LabVIEW to communicate to NI hardware. 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. Read more...
Data Acquisition on MacOS

 

Additional Modules

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.

 

DAQ

NI-DAQmx 18.0.0 - 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

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 2018 Control Design and Simulation Module (32-bit)

LabVIEW 2018 Control Design and Simulation Module (64-bit)

 

LabVIEW MathScript RT Module

LabVIEW MathScript RT 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:

LabVIEW 2018 MathScript RT Module (32-bit)

LabVIEW 2018 MathScript RT Module (64-bit)

 

 

 

Other useful Modules and Toolkits

OPC UA

LabVIEW 2018 OPC UA Toolkit

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 2018 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

LabVIEW 2018 Real-Time Module

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.

 

 

More Downloads

You can also download LabVIEW, Add-on Modules, Drivers, etc. here:

http://www.ni.com/downloads/

Here you can also download previous versions, etc.

 

If you have an Academic Site License, you find all available software here:

Download Academic Software

 

 

 

 

Applications and Practical Examples

LabVIEW Application Examples

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.

Read more

 

Datalogging and Monitoring Examples

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:

 

Read more

 

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:

LabVIEW Resources

Below you will find more interesting LabVIEW resources


LabVIEW Basics

Learn Basic LabVIEW Programming

Datbase Communication in LabVIEW

You can easily connect and communicate with a Database from LabVIEW



LabVIEW Videos

LabVIEW Videos withn different Applications and Areas

LabVIEW Tutorials

LabVIEW Tutorials



Programming

Programming Resources

Datalogging and Monitoring

Datalogging and Monitoring Examples



DAQ

Data Acquisition in LabVIEW

OPC

OPC Resources, OPC DA and OPC UA LabVIEW Examples



SCADA

Supervisory Control and Data Acquisition

HIL

Hardware in the Loop Simulation and Testing