LabVIEW Interface For Arduino Setup Procedure
LabVIEW Interface For Arduino Setup Procedure
by Sammy_K on
05-04-2011 08:28 AM
- edited on 01-30-2017 09:45 AM by Sammy_K
Setting up the LabVIEW Interface for Arduino is a six step process that you
will only need to complete once. Please follow the instructions below to start
creating applications with the LabVIEW Interface for Arduino.
(For a brief overview of the LabVIEW Interface for Arduino see Michaels
post here).
1. Install LabVIEW
Windows Download.
Linux Download.
Mac Download.
You are now ready to use the LabVIEW Interface for Arduino. Click here to
see some examples to help get you started.
How Do I Connect An Arduino Uno to My PC?
Primary Software:
Primary Software Version: 1.0
Primary Software Fixed Version: N/A
Secondary Software: N/A
Problem:
I want to use the LabVIEW Interface for Arduino Uno. How do I connect my Arduino Uno to my PC?
Solution:
Complete the following steps to connect your Arduino Uno to your PC for use with the LabVIEW Interface
for Arduino:
1. Download the latest version of the Arduino IDE for your operating system from the following
link: http://arduino.cc/en/Main/Software . Please note that if you will be using the LabVIEW
Interface for Arduino toolkit that the last supported IDE version for the toolkit is 1.0.5.
4. Windows will attempt to install drivers for the Arduino but will not be able to find the correct
drivers. To confirm if the driver was installed or not, open the Windows Device Manager. In
Windows 7, this can be done on clicking on Start, selecting Control Panel, and selecting Device
Manager.
5. Right click the Arduino Uno and select Properties. Click the Driver tab on the Arduino Uno
properties window, then click Update Driver...
8. Click Next.
9. Click Close.
10. The Arduino Uno should now be listed under Ports(COM&LPT) in the Windows Device Manager.
If you are using Linux, please complete the steps on the following webpage: External Link: Installing
Arduino on Linux.
Related Links:
KnowledgeBase 5LPAQIYG: How Do I Load the LabVIEW Interface for Arduino Firmware onto My
Arduino Uno?
External Link: Arduino - Homepage
External Link: Arduino - Software
External Link: Installing Arduino on Linux
Primary Software:
Primary Software Version: 1.0
Primary Software Fixed Version: N/A
Secondary Software: N/A
Problem:
I want to use the LabVIEW Interface for Arduino Uno. How do I load the Arduino firmware onto my
Arduino Uno?
Solution:
Please note! LIFA has been replaced with LINX. It is highly recommended to move to LINX as there will
be no further development for LIFA.
Following instructions are archived and last testing was done using Arduino 1.0.5. software.
Connect the Arduino Uno to your PC as described in KnowledgeBase 5INA7UYG: How do I Connect an
Arduino Uno to my PC?.
.
Install the LabVIEW Interface for Arduino toolkit as described in KnowledgeBase 5L38JQYG: How do I
Install the LabVIEW Interface for Arduino Toolkit Using VIPM?.
Open the Arduino IDE by browsing to the folder that you extracted in step 1 and double clicking
arduino.exe
The Arduino IDE will open. Click File»Open and browse to LIFA_Base.ino found in C:\Program
Files\National Instruments\LabVIEW 201x\vi.lib\LabVIEW Interface for Arduino\
Firmware\LIFA_Base
Note: Older versions of the LIFA toolkit use the LVIFA_Base.pde file which would be found in the same
location as above.
The labview interface for arduino is a vi based API that was written and
distributed by national instruments. The code also includes and arduino
embedded program which must be downloaded to the device. This program
which runs on the Arduino, responds to commands sent on the USB bus from
the LabVIEW program. It then sends back data to the the computer via the
USB.The LabVIEW VIs provided, allow you to read back the analog inputs,
control the digital IO lines and use several other features of the Arduino
hardware.
Here is a step by step process to get up and running with Arduino and
LabVIEW:
When the download finishes, proceed with the installation and please allow
the driver installation process when you get a warning from the operating
system.
The process will extract and install all the required files to execute properly
the Arduino Software (IDE)
Proceed with board specific instructions
When the Arduino Software (IDE) is properly installed you can go back to
the Getting Started Home and choose your board from the list on the right of
the page.
Choose the COM port by clicking Tools»Serial Port and choosing the COM port that corresponds to your
Arduino Uno.
You can determine the COM port that corresponds to your Arduino Uno using the device manager by
clicking Start»Control Panel»Device Manager and expanding Ports(LTP & COM).
Related Links:
KnowledgeBase 5INA7UYG: How do I Connect an Arduino Uno to my PC?
KnowledgeBase 5L38JQYG: How do I Install the LabVIEW Interface for Arduino Toolkit Using VIPM?
https://forums.ni.com/t5/LabVIEW-Interface-for-Arduino/ct-p/7008?
view=documents
https://www.arduino.cc/en/Main/Software
https://www.arduino.cc/en/Guide/Windows
http://vishots.com/getting-started-with-the-labview-interface-for-arduino/
www.labviewhacker.com/doku.php?id=libraries:linx:linx
https://forums.ni.com/t5/LabVIEW-Interface-for-Arduino/LabVIEW-
Interface-for-Arduino-Setup-Procedure/ta-p/3521346