LINX 3.0 Target Manual Install Process

This is the manual install process for adding support for running LabVIEW VIs on BeagleBone Black and Raspberry Pi 2/3 targets.

The process described below is the same process that the Target Configuration wizard performs. The wizard is available in LabVIEW from Tools»MakerHub»LINX»Target Configuration

All of the steps below are performed on the command line using an SSH terminal connected to the target.

Pre-install Checks

The Target Configuration Wizard performs a number of checks before installation. These checks are made to ensure that the installation is successful and that the post-install experience is good.

  1. Ensure that the target has internet access. If you're not sure, you can check by running:
  2. Check the operating system version by running:
    cat /etc/debian_version

    If the file does not exist or has a value other than 7.0 to 8.9 then you should consider upgrading your operating system to the most recent image for your device. Follow one of these tutorials for more information: BeagleBone Black OS Update, Raspberry Pi OS Update

  3. Expand file system. If you just installed an operating system image and have not yet expanded the file system to use all of the available disk space on your system, you may consider one of the following tutorials: BeagleBone Black Expand File System, Raspberry Pi Expand File System
  4. BeagleBone Black Only: Remove On BBB, there is sometimes a startup script which can cause problems when installing additional software to the system. You can safely remove this file, if it exists, by running:
    rm /etc/init.d/
  5. Raspberry Pi Only: Enable UART. See this tutorial for more information.
  6. Raspberry Pi Only: Enable SPI and I2C so it can be used from the LINX library:
    1. Run
      sudo raspi-config
    2. Use arrow keys to move to “Advanced Options” and hit Enter
    3. Go to “SPI” and hit Enter
    4. Select yes to enable SPI
    5. Select yes to load the kernel module automatically
    6. Repeat steps 2-5 for I2C
    7. Use arrow keys to select “Finish”
    8. Select yes when asked to reboot

Installation Steps

  1. Add the MakerHub software repository address to the target:
     sudo sh -c 'echo "deb binary/" >> /etc/apt/sources.list'
  2. Get the list of available software from the MakerHub repository:
    sudo apt-get update
  3. Install the LabVIEW target support:
    sudo apt-get install -y --force-yes lvrt-schroot
  4. You should be ready to go!