-
Notifications
You must be signed in to change notification settings - Fork 2
target_manual_install
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.
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.
-
Ensure that the target has internet access. If you're not sure, you can check by running:
ping google.com
-
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
-
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
-
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
-
Raspberry Pi Only: Enable UART. See this tutorial for more information.
-
Raspberry Pi Only: Enable SPI and I2C so it can be used from the LINX library:
-
Run
sudo raspi-config
-
Use arrow keys to move to “Advanced Options” and hit Enter
-
Go to “SPI” and hit Enter
-
Select yes to enable SPI
-
Select yes to load the kernel module automatically
-
Repeat steps 2-5 for I2C
-
Use arrow keys to select “Finish”
-
Select yes when asked to reboot
-
-
Add the MakerHub software repository address to the target:
sudo sh -c 'echo "deb http://feeds.labviewmakerhub.com/debian/ binary/" >> /etc/apt/sources.list'
-
Get the list of available software from the MakerHub repository:
sudo apt-get update
-
Install the LabVIEW target support:
sudo apt-get install -y --force-yes lvrt-schroot
-
You should be ready to go!