Just trying to get started with the Raspberry Pi and Labview. Seem to have run into a problem with Installing the software to the Pi.
All connects ok, then fails during install. Looks like it can`t access one of the feeds on makerhub.
Anyone know why ?
Solved! Go to Solution.
I believe that people has still go the LabVIEW 2014 version to work with the makerhub LINX version but you would need to search through this forum to confirm this.
My suggestion would be to use the LabVIEW 2020 Community Edition which includes LINX unless you have a specific reason not to do this.
The install wizard for lvrt-schroot (LabVIEW 2014) does not work with the latest version of the PI OS.
It is possible to install lvrt-schroot from the command line on the Raspberry PI.
The problem is with the entry in the file /etc/apt/sources.list
It needs to be
deb http://raspbian.raspberrypi.org/raspbian/ buster main contrib non-free rpi
# Uncomment line below then 'apt-get update' to enable 'apt-get source'
#deb-src http://raspbian.raspberrypi.org/raspbian/ buster main contrib non-free rpi
deb [trusted=yes] http://feeds.labviewmakerhub.com/debian/ binary/
You can edit the file using the command
sudo nano /etc/apt/sources.list
You can then install lvrt-schroot with the following commands (from https://forums.ni.com/t5/LabVIEW/LINX-3-0-on-the-Raspberry-Pi-2-3-and-4-running-Raspbian-Buster/m-p/...)
# Install lvrt-schroot for LabVIEW 2014
sudo apt-get update
# Install the LINX package. Error messages will be displayed for the
# nisysserver.service and labview.service sudo apt-get install -y lvrt-schroot # Move the nisysserver.service and labview.service files to the systemctl folder sudo mv /etc/systemd/system/multi-user.target.wants/nisysserver.service /lib/systemd/system sudo mv /etc/systemd/system/multi-user.target.wants/labview.service /lib/systemd/system # link liblinxdevice.so to the Raspberry PI device driver file liblinxdevice_rpi2.so sudo schroot -c labview -d /usr/lib -- ln -s liblinxdevice_rpi2.so liblinxdevice.so # Enable the nisysserver.service and labview.service to start on boot sudo systemctl enable nisysserver.service sudo systemctl enable labview.service # Start the nisysserver.service and labview.service sudo systemctl start nisysserver.service sudo systemctl start labview.service
You may need to enable I2C and SPI
sudo raspi-config nonint do_i2c 0 sudo raspi-config nonint do_spi 0