Arduino UNO + LabVIEW – Blink LED example

This is a basic example to get you introduced into Arduino and LabView development platform.  You will be able to control the build-in LED from a Arduino UNO board in 5 minutes without any programming skills.

What you need:

  • Arduino UNO board
  • PC with NI LabView

Step 1: Install Arduino IDE

Step 2: Install LabView

Step 3: Open LabView and go to Tools -> VI Package Manager

Step 4: Search for “LabVIEW Interface for Arduino“. Right click and Install.

Step 5: Open Explorer and navigate to [LabVIEW Installation folder]\vi.lib\LabVIEW Interface for Arduino\Firmware\LIFA_Base
e.g. C:\Program Files (x86)\National Instruments\LabVIEW 2017\vi.lib\LabVIEW Interface for Arduino\Firmware\LIFA_Base

Step 6: Open LIFA_Base.ino file using Arduino IDE. Connect the Arduino board to your PC.  Select your UNO board from Tools option (board typer and COM port).

Step 7: Upload the Sketch (firmware) to your Arduino.

Step 8: Close Arduino IDE. Your board  is now ready to be controlled using LabVIEW. Open LabVIEW and create a new VI.

Step 9: Create a simple logic using Arduino functions to control Digital Port 13 (build-in LED).

  • Init communication with Arduino UNO board
  • Configure Digital Pin 13 as Output (to control LED)
  • While Loop (read the LabVIEW interface button until Stop is pressed)
  • Close communication with Arduino UNO board

Or just download this VI example made in LabVIEW 2017:

Download “Arduino UNO - Blink LED using LabVIEW” UNO-Build-IN-LED.zip – Downloaded 9 times – 147 KB

And that’s all. My result looks looks like this: