Communicating LabVIEW with Arduino

Updated Jan 3, 2019

Reported In

Software

  • LabVIEW

Other

  • Arduino Uno

Issue Details

I am currently developing application, for example Digital Write and would like to utilize a third-party embedded controller such as Arduino Uno using LabVIEW. How do I achieve this?

Solution

You would need LINX, an interface add-on for LabVIEW to communicate with common embedded platforms, including Arduino Uno. To get started, you could install LINX by do the following:
  1. Download through VIPM (recommended)
  2. Select Install and Review the License Agreement
  3. After Installation, you now have options to Show in Palettes and Show Examples
  4. Select Show Examples
  5. Choose one that you would like to explore (for instance Digital Write N Channels) 
  6. Connect your embedded platform (Arduino Uno) to your PC
  7. On the recently opened LabVIEW Example, click Tools - Makerhub - LINX - LINX Firmware Wizard...
  8. Select the appropriate Device Family, Device Type and Firmware Upload Method
  9. Determine which COM to use
  10. Click Next if you are ready to install the firmware
  11. Select Finish
  12. You may now run the example as instructed by the example's instruction

Additional Information

LINX could also be used to communicate to Raspberry Pi 2, Raspberry 3 and BeagleBone

LINX is an open source project by Digilent and is designed to make it easy to develop embedded applications using LabVIEW. LINX includes VIs for over 30 of the most common embedded sensors as well as hardware agnostic APIs for accessing peripherals like digital I/O, analog I/O, PWM, I2C, SPI, and UART.

For Support on using LINX, you would need to contact LabVIEW MakerHub at labviewmakerhub.com/forums/linx.
 

WAS THIS ARTICLE HELPFUL?

Not Helpful