Skip to content


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Latest commit


Git stats


Failed to load latest commit information.


This repository contains the key code, examples and instructions to get Labview running on the Beagle Bone Black + Robotics Cape, or the Beagle Bone Blue

Files/Folders included in this repository:
RC-Jessie-Examples: This folder includes the Labview source files (vis) for all the examples created, including Bare_minimum, Balance, Complementary Filters, and many test scripts.

Robotics-Cape-Master-Jessie: This folder includes all Labview source files (vis) wrappers of the c-code drivers.

Robotics_Cape_Installer-0.3.2 - 3.1.17: Robotics Cape Software package that the Labview VIs were built around. Newer versions of the software library, found at, will work with 1 minor change explained below.

rc_interrupt: This is a custom library which connects the interrupt routines built into the RC-cape library to Labview user events. 5 interrupts are supported: IMU, mode buttone release, mode button press, pause button press, pause button release

Example movies files of the Balance VI running This is a VI package file. This installs all examples in the RC-Jessie-Examples folder. Use VI Package manager to install This is a VI package file. This installs all wrapped driver VIs in the Robotics-Cape-Master-Jessie folder. Use VI Package manager to install

BBB/L Installation steps:

  1. Flash your BBB/L with the latest or preffered version of Debian ( This repository should work with both 8.6 and 8.7 versions (currently, there are issues with 8.8 and 9.1 compatability). For 8.7 versions and later (~2/2017), the root password is locked down, and you will need to change the root password in order to install the Linx software below.

  2. Enable the robotics cape device tree: This will enable the robotics cape on the BBB/L.
    #~ sudo
    #~ reboot

  3. Change root password if needed (Linx need to be installed as the root user):

  4. Install Labview on the BBB using the Linx target configuration wizard (From Labview, goto Tools->MakerHub->Linx->Linx Target Configuration...). the default address is (or if using the hotspot on the Blue), and use your new root/password to login. Once Logged in, click on Install Software. Note: you will need to get internet access to your BBB in order to install Labview.

Labview will create a Change root (chroot) on the BBB/L which is conceptually like a virtual machine. This allows NI to control the user libraries, thus making configuration management easier, but development more challenging as basic user libraries are often missing

  1. Install user libraries inside the Chroot: SSH into your BBB/L from the terminal/putty. (#~ ssh root@ and type in your password when prompted (in the image uploaded, the password is temppwd). Then, enter the change root.
    #~ sudo schroot -r -c lv.
    Then update and install packagegroup core buildessentials using opkg (note this may take 5-10min):
    #~ okpg update
    #~ opkg install packagegroup-core-buildessential

  2. Download the version of the Robotics cape given here, or the latest released version of the Robotics_Cape_Installer, found here:
    In the released version downloaded, navigate to Robotics_Cape_Installer_x.x.x/libraries, and edit the "Makefile" as follows:
    In the ARCFLAGS sections (line 9), change "-mfloat-abi=hard" to "-mfloat-abi=softfp"

  3. Move the rc_interrupt folder and Robotics_Cape_Installer_XXXX folder into the chroot: Move the files onto the BBB using any ftp tool. I recommend Filezilla for an easy graphical user experience. Once the files are on the BBB's root, use the copy command to move them into the chroot (this must be done while outside the chroot):
    #~ cp -r "Directory Name" /srv/chroot/labview/root

  4. Install the rc_interrupt and robotics cape inside the chroot: Due to the chroot, these libraries need to be compiled manually, as the install scripts don't work inside the chroot. Move into chroot as above, then go into the robotics cape libraries folder.
    #~ cd /Robotics_Cape_Installxxxx/libraries/
    #~ make
    #~ cp *.h /usr/include/
    #~ cp *.so /usr/lib/
    #~ cd ../../rc_interrupt/
    #~ make
    #~ cp *.h /usr/include/
    #~ cp *.so /usr/lib/

If the libraries install without errors, you can move the SO and header files into the respective /usr/ folders, and the BBB will be setup and ready to use with Labview

  1. Install the RC Cape vip to run in Labview 2014: Open the VI package manager program. Download and double click on the, and install the package. Repeat with

  2. In Labview 2014, Create a new blank project. Then right click on the project in the tree to add a new target:

Project:Untitled Project 1 >New >Targets and Devices...

Change to "New Target or Device", expand the "LINX" folder, and select BeagleBone Black.
Right click on the new BeagleBone Black( target and go to properties:

BeagleBone Black(>Properties

Type in the IP address of your EduMiP. This could be, or the wifi IP address.
Move one or all of the examples into the project. Then, move them down to the target, and open one of the VI's. Run the .VI and dig around the VI to see how it works.

  1. Note: whenever closing/ending a running VI, make sure to press the rectangular stop button on the front panel. This will properly shutdown the board so that it can run properly again after without rebooting/restarting labview.

  2. Troubleshooting:
    A) Can ping the BBB, but Labview fails to connect to target.
    Solution: Restart labview on the BBB. This is possible by right clicking on the target, and restarting labview, or easier from the terminal/putty:
    #~ systemctl restart labview.service
    B) DHCP errors, and unable to connect over This is a problem with compatability with Debian 8.8 and 9.1, which occurs after the device tree is enabled. Currently, the only fix for this is to use Debian 8.6 or 8.7.


This repository contains the key code, examples and instructions to get Labview running on the Beagle Bone Black + Robotics Cape, or the Beagle Bone Blue






No releases published


No packages published