Using Raspberry Pi with LabVIEW

Updated Jun 3, 2021

Reported In

Software

  • Third Party Add-Ons
  • LabVIEW 2014

Other

  • Raspberry Pi

Issue Details

I want to build a control system using a Raspberry Pi and LabVIEW. Can I control the Raspberry Pi platform from LabVIEW?

Solution

There are two primary solutions for integrating LabVIEW and Raspberry Pi - the NI LabVIEW LINX Toolkit, and the LINX by Digilent/LabVIEW MakerHub Addon.

NI LabVIEW LINX Toolkit
Most applications looking to run a LabVIEW program on Raspberry Pi or other embedded platforms like Arduino and BeagleBone should look into using the NI LabVIEW LINX Toolkit. This Toolkit allows you to develop LabVIEW code to deploy and run on Raspberry Pi boards up to the Raspberry Pi 4. This toolkit is only compatible with LabVIEW 2020 and newer, and is not officially supported by NI's technical support team - instead, support can be found for the toolkit on the LINX Toolkit NI Community Group.

The NI LabVIEW LINX Toolkit can be downloaded using VI Package Manager - more information on how to install the toolkit can be found on the NI LabVIEW LINX Toolkit download page.

LINX by Digilent/LabVIEW MakerHub Addon
For applications running on versions older than LabVIEW 2020, the third-party LabVIEW Addon LINX by Digilent/LabVIEW MakerHub is a potential method for designing programs for Raspberry Pi and other embedded platform devices. The LINX by Digilent/LabVIEW Add-On is designed to be a generic hardware abstraction layer for embedded platform devices like Arduino, chipKIT, Raspberry Pi, BeagleBone, and others. However, this solution is designed to work primarily with a host computer running a program and communicating with an embedded platform board, and only supports deploying code to run headlessly on a Raspberry Pi up to the Raspberry Pi 3.

If this solution will work for your application, see the article titledĀ How To Download Digilent LINX For LabVIEW? for more information and Install Guide for Raspberry Pi + LabVIEW 2014 + MakerHub-LINX on our community forums for installation help.