Arduino and LabVIEW Interfacing
Arduino and LabVIEW Interfacing
Step 1: Download LabVIEW Interface for Arduino toolkit from National Instruments website [
NI Home > Products & Services > Measurement & Automation Software >
LabVIEW Tools Network > NI Free Add-ons > LabVIEW Interface for Arduino Toolkit ] or Enter
the IP address [ http://sine.ni.com/nips/cds/view/p/lang/en/nid/209835 ] and download the add-on
software.[Refer fig1]
Figure 4
Step 4: follow the steps for downloading LIFA toolkit for NI website. It has two processing steps.
Read each steps properly for compatibility purpose [check].
Figure 5
First Process:
Download VIPM for downloading LIFA toolkit. This option will automatically lead to download
VIPM of latest version setup [don’t change or ignore anything just click OK for all steps]
Figure 6
Figure 7
Figure 8
Figure 9
Figure 10
Figure 11
Figure 12
Second Process: Goto VI Package manager in your system. Search for Arduino
Figure 13
Figure 14
Figure 15
Figure 16
Figure 17
Figure 18
Figure 19
Figure 20
Step 5:
Figure 21
Step 6: Now, Goto your Arduino software [Arduino 1.0.5]. Right Click and Open it as
Administrator
Figure 22
Step 7: Follow the procedure given as it is.
Goto My Computer → Local Disk(C:) → Program Files(x86) → National Instruments
→ LabVIEW 2010/2011/2012/2013 → vi.lib → LabVIEW Interface for Arduino →
Firmware → LIFA_Base → LIFA_Base → select and open it.
Figure 23
Now in Arduino software, Goto LabVIEWInterface.h and change the microcontroller IC
number as per your requirements.
Figure 24
Now, Goto LIFA_Base file → before uploading this interfacing file → Go to Tools → click
Board → select Arduino board which you are using.
Figure 25
Again go to Tools → click Serial port → select Arduino board which you are using
[“COM Portnumber”].
Figure 26
Figure 27
Figure 28
After uploading close all the Arduino software pages opened [sketch’s] before going to
program in LABVIEW.
Step 8: Now you can able to interface Arduino with LABVIEW.