06-03-2021 07:52 AM
Hi all,
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 ?
Cheers,
Nick
Solved! Go to Solution.
06-03-2021 08:08 AM
06-03-2021 08:18 AM
At the moment I`m trying to use Labview 2014, I guess the 2020 version might have updated links ...
06-03-2021 08:26 AM
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.
06-03-2021 09:49 AM - edited 06-03-2021 09:53 AM
Hi Nick,
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
Cheers,
Andy.
01-12-2024 10:44 AM
Hi
Sorry, I know it is an old thread, but how do I do manual installation on ver 2020?
I am getting "Installation failed" without any other information.
thanks
01-14-2024 07:51 AM
What do you try to install? Where?
If you have the Community version of LabVIEW, don't install any Linx or Hobbyist Toolkit, it is already installed!!!
If you have a Full or Professional Version of LabVIEW 2014 you will need the Digilent LINX Toolkit for LabVIEW version 3.0.1.192.
If you have a Full or Professional Version of LabVIEW 2020 you will need the NI LabVIEW LINX Toolkit for LabVIEW version 1.0.0.9.
If you have a Full or Professional Version of LabVIEW 2021 or newer you should download the according installer for your LabVIEW version here: https://www.ni.com/en/support/downloads/tools-network/download.labview-hobbyist-toolkit.html#487435