Skip navigation

Community

Currently Being Moderated

LabVIEW Interface for Arduino FAQ

VERSION 8  Click to view document history
Created on: May 9, 2011 8:49 AM by Sammy_K - Last Modified:  Jun 9, 2011 1:42 PM by Sammy_K

0. What is the LabVIEW Interface for Arduino?

1. What operating systems does the LabVIEW Interface for Arduino support?

2. Which version of LabVIEW do I need to use the LabVIEW Interface for Arduino?

3. What hardware is required to use the LabVIEW Interface for Arduino?

4. How do I install the LabVIEW Interface for Arduino?

5. Where can I get support for the LabVIEW Interface for Arduino?

6. How can I get started using the LabVIEW Interface for Arduino?

7. Can I deploy LabVIEW Code to my Arduino?

8. Do I have to be tetherd to a computer to use the LabVIEW Interface for Arduino?

9. Can I add my own sensors to the LabVIEW Interface for Arduino?

10. How does the LabVIEW Interface for Arduino work?

 

 

 

0.  What is the LabVIEW Interface for Arduino?

  • The LabVIEW Interface for Arduino (LIFA) Toolkit is a Free Toolkit that allows developers to acquire data from the Arduino microcontroller and process it in the LabVIEW Graphical Programming environment.  For a brief overview of the LabVIEW Interface for Arduino see Michaels post here.

 

1. What operating systems does the LabVIEW Interface for Arduino support?

  • The LabVIEW Interface for Arduino is currently compatible with any version of Windows or Mac os that supports LabVIEW 2009 or later.  The toolkit will also work on any version of Linux that supports LabVIEW 2009 or later however there is currently no installer (JKI VI Package Manager) for Linux.  JKI is currently working on VIPM 2010 for Linux which will be available here when complete.

 

2. Which version of LabVIEW do I need to use the LabVIEW Interface for Arduino?

  • 2009 or later.

 

3. What hardware is required to use the LabVIEW Interface for Arduino?

  • To get started the only hardware you need is an Arduino, USB cable, and a computer with LabVIEW and the LabVIEW Interface for Arduino.  The LabVIEW Interface for Arduino was developed and tested using the Arduino Uno and the Arduino MEGA 2560.  While any Arduino board should work only the Uno and Mega 2560 are 'officially supported'.

 

4. How do I install the LabVIEW Interface for Arduino?

 

5. Where can I get support for the LabVIEW Interface for Arduino?

  • Support for the LabVIEW Interface for Arduino is provided on the community forums.  The LabVIEW Interface for Arduino is not supported by Applications Engineers via phone, email, or otherwise.

 

6. How can I get started using the LabVIEW Interface for Arduino?

  • After installing the toolkit as descried here the best way to get started is by checking out the examples from the LabVIEW Example Finder.  In LabVIEW Click Help>>Find Examples.  Then click the search tab in the upper left and search for  'Arduino' to show the getting started examples for the LabVIEW Interface for Arduino.

 

7. Can I deploy LabVIEW Code to my Arduino?

  • No.  At this time you cannot deploy LabVIEW Code to your Arduino.  You can, however, use the LabVIEW Interface for Arduino to communicate with your Arduino using LabVIEW.

 

8. Do I have to be tetherd to a computer to use the LabVIEW Interface for Arduino?

 

9. Can I add my own sensors to the LabVIEW Interface for Arduino?

  • Yes.  Both the firmware and VIs are open source and made for customization.  More on this coming soon.

 

10. How does the LabVIEW Interface for Arduino (LIFA) work?

    • Put simply, the LabVIEW Interface for Arduino sends data packets from LabVIEW to the Arduino.  The Arduino processes these packets and sends return packets.  Return packets are parsed by LabVIEW to provide useful information to the end user.  Each packet is 15 bytes by default and contains a header, a command byte, data bytes, and a checksum.  The packet length can be changed to suit specific applications by modifying the firmware and specifying the packet size to the Init VI in LabVIEW (Most users will not need to do this).  The LIFA firmware on the Arduino processes the packets by ensuring no data has been corrupted during transmission, then checks the command byte and execute instructions with the given data bytes based on the command byte. 
Comments (25)