LabVIEW Interface For Arduino Setup Procedure

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 13
At a glance
Powered by AI
The document outlines the six step process to set up the LabVIEW Interface for Arduino which includes installing LabVIEW, NI-VISA drivers, VI Package Manager, and loading the firmware onto the Arduino board.

The six steps are: 1) Install LabVIEW, 2) Install NI-VISA drivers, 3) Install VI Package Manager, 4) Install the LabVIEW Interface for Arduino toolkit using VIPM, 5) Connect the Arduino board to the PC, 6) Load the firmware onto the Arduino board.

Additional software required includes LabVIEW, NI-VISA drivers, VI Package Manager, and the Arduino IDE.

LabVIEW Interface for Arduino Setup Procedure

VERSION 8 Created on: May 4, 2011 8:28 AM by Sammy_K - Last Modified: Jun 9, 2011 1:37 PM 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 If you purchased the LabVIEW and Arduino bundle from Sparkfun.com you can install LabVIEW from the included DVD. If you do not own a copy of LabVIEW you can download and install the 30 day evaluation version here. 2. Install the NI-VISA drivers. Windows Download. Linux Download. Mac Download. 3. Install JKI VI Package Manager (VIPM) Community Edition (Free). All Operating Systems. 4. Install the LabVIEW Interface for Arduino as described in KB 5L38JQYG

How do I Install the LabVIEW Interface for Arduino Toolkit Using VIPM?
Primary Software: Primary Software Version: 2009 SP1 Primary Software Fixed Version: N/A Secondary Software: N/A Problem: I want to use the LabVIEW Interface for Arduino. How do I Install the LabVIEW Interface for Arduino toolkit using VI Package Manager (VIPM)? Solution: 1. Make sure you have the most recent version of VI Package Manager (VIPM) installed on your system. You can download VIPM Community Edition for free here. 2. Launch VIPM.

3. Browse to LabVIEW Interface for Arduino in the list of packages.

4. Click the Install &Upgrade Packages button.

5. Click Continue.

6. Click Finish.

The LabVIEW Interface for Arduino is now installed on your system. Once the toolkit is installed you can use VIPM to check for updates for it. When there is an update to the toolkit the icon in VIPM will change to look like the image below. Clicking the Upgrade Packages button will update the toolkit to the latest version.

5. Connect your Arduino to your PC as described in KB 5INA7UYG

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

2.

Extract the downloaded files to C:\Program Files.

3.

Attach the Arduino Uno to the PC using a USB cable.

4.

Windows will attempt to install drivers for the Arduino but will not be able to find the correct drivers.

5.

Click the Driver tab on the Arduino Uno properties window, then click Update Driver...

6.

Choose Browse my computer for driver software.

7.

Browse to C:\Program Files\Arduino-xxxx\drivers.

8.

Click Next.

9.

Click Close.

10.

The Arduino Uno should now be listed under Ports(COM&LPT) in the Windows Device Manager.

6. Load the LabVIEW Interface for Arduino Firmware onto your Arduino as described in KB 5LPAQIYG

How Do I Load the LabVIEW Interface for Arduino Firmware Onto My Arduino Uno?
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: Connect the Arduino Uno to your PC as described in KB 5INA7UYG: How do I Connect an Arduino Uno to my PC? . .

Install the LabVIEW Interface for Arduino toolkit as described in KB 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 clickingarduino.exe

The Arduino IDE will open. Click FileOpen and browse to LVIFA_Base.pde found in C:\Program Files\National Instruments\LabVIEW 2010\vi.lib\LabVIEW Interface for Arduino\Firmware\LVIFA_Base Note: If the LVIFA_Base.pde is missing a copy can be downloaded from here.

Choose the Arduino board type by clicking ToolsBoardArduino Uno

Choose the COM port by clicking ToolsSerial 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 StartControl PanelDevice Manager and expanding Ports(LTP & COM).

Click the Upload button to upload the firmware to the Arduino Uno.

The Arduino IDE should report Done Uploading when the firmware has been successfully uploaded to the Arduino.

You are now ready to use the Arduino Uno with the LabVIEW Interface for Arduino Uno.

(We are working to fix the above document. The firmware can be found in <LabVIEW>\vi.lib\LabVIEW Interface for Arduino\Firmware\LVIFA_Base . Use the arduino IDE to deploy this firmware to your Arduino.)

You are now ready to use the LabVIEW Interface for Arduino. Click here to see some examples to help get you started.

You might also like