I wanted to move from Labview CE 2020 to 2021 but it seems there is a problem with the toolkit. I have a fresh installation of Raspberry Pi OS (October 30th 2021) into a Raspberry Pi 3B.
In both cases (LV2020 and LV2021) I perform exactly the same steps, in Tools-Hobbyist-Target Configuration.
Thanks in advance for any ideas,
Solved! Go to Solution.
I also tried with CE2021 and failed terribly... I'm still trying to figure what went wrong.
Fingers crossed... let me try it again
will update soon
Good evening all!
The installation failed on my Raspberry Pi for the following reasons:
Please can NI update the dependency list for lvrt21-schroot to use debhelper instead of dh-systemd?
It is possible to install the software from the command line 🙂
Here is the procedure I used to install lvrt21-schroot_21.0.0-1 on a fresh installation of the October 30th 2021 Raspberry Pi OS:
1. Change the default password for the Pi account on the Raspberry Pi.
2. Setup a WiFi or Ethernet connection from the Raspberry Pi to your router.
3. Setup the Raspberry Pi configuration as shown below
4. SSH into the Raspberry Pi or open a terminal window on the Raspberry Pi desktop.
5. Enter the commands shown in the code block below.
Note: The text may wrap due to the web browser window size. I recommend copying the text into a text editor to see the original formatting.
sudo sh -c 'echo "deb [trusted=yes] http://feeds.labviewmakerhub.com/debian/ binary/" >> /etc/apt/sources.list'
# Check the contents of the /etc/apt/sources.list file
The contents the file should be
deb http://raspbian.raspberrypi.org/raspbian/ bullseye main contrib non-free rpi
# Uncomment line below then 'apt-get update' to enable 'apt-get source'
#deb-src http://raspbian.raspberrypi.org/raspbian/ bullseye main contrib non-free rpi
deb [trusted=yes] http://feeds.labviewmakerhub.com/debian/ binary/
The file can be edited if required using the command sudo nano /etc/apt/sources.list
6. Enter the commands shown in the code block below.
sudo apt-get update
# Install the dependencies
sudo apt-get install -y python schroot debhelper
# Download and install lvrt21-schroot without the dh-systemd dependency
apt-get download lvrt21-schroot:armhf
sudo dpkg -i --ignore-depends=dh-systemd lvrt21-schroot_21.0.0-1_armhf.deb
I was able to connect to the Raspberry Pi from the LabVIEW Project Explorer.
Hope this works on your system.
Excellent.. worked for me with CE 2021 and pi 4.
Thank you for the detailed steps.
As pointed out, the sources.list was not updated correctly when the installer was launched from the LabVIEW.
Following your suggestion of fixing the sources.list file and installing the labview runtime manually solved the issue..
The Installed Version field which was empty before now shows correctly.
A very well deserved thanks and kudos.
- Ravi Kumar
It worked for me as well many thanks..
next i'm trying to build some user interface for my application on pi, any suggestions will be of great help.
Have already started working on that....
any straight forward example...
any straight forward example...
I following this to get me started with the NI G Web Development Software: https://www.mediamongrels.com/make-ing-with-labview-raspberry-pi-part-4-user-interfaces-with-labview...
Hello Andy !
It worked for me also 😊 but with 1 modification, since my system wasn't anymore a new and clean one, but had already the Labview 2020 system on it.
So the last of your command list (sudo dpkg -i --ignore-depends=dh-systemd lvrt21-schroot_21.0.0-1_armhf.deb) was giving errors related to the already installed Labview 2020 version.
When I uninstalled it with: sudo dpkg -r lvrt20-schroot then, it executed fine and then the Hobbyist Configuration displayed the correct runtime version (21.0.0-1).
Thanks 🙏 again for your help (during weekend).
PS. Disabling the 1-wire interface in Raspberry Configuration, was it really necessary with LV2021 ?