Skip to content

target_manual_install

Ken Sharp edited this page Jun 21, 2023 · 1 revision

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 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:

    ping google.com

  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 or greater 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. BeagleBone Black Only 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 tutorial: BeagleBone Black Expand File System

  4. BeagleBone Black Only: Remove led_aging.sh. 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/led_aging.sh

  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 http://feeds.labviewmakerhub.com/debian/ 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!

Clone this wiki locally