Every time i try to deploy a project to raspberry pi 4 i have got a message about losing connection to target. here's a screenshot
i have tried to many things. like
sudo schroot -c labview -d /usr/lib -- ln -s liblinxdevice_rpi2.so liblinxdevice.so
but none of theme works.
can any idea please?
thanks in advance.
version of LabVIEW 2020 community
version of Raspberry Pi OS : 10.7
this happen when connecting over wifi and Ethernet
the same thing does happens with wired connection!
i doubt about setting up Raspberry Pi with LabVIEW?
sudo sh -c 'echo "deb [trusted=yes] http://feeds.labviewmakerhub.com/debian/ binary/" >> /etc/apt/sources.list' sudo apt-get update
sudo apt-get install lvrt20-schroot -y
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
did i forget anything?!
i just followed the instructions 🙄.
i will try to re-install it from LINX and LabVIEW 2020.
do i need to delete or reset some files in raspberry ?
this is very painful😥
reinstalling Rpi Os is not recommended. So, i have tried to delete schroot using this command
sudo apt-get --purge remove lvrt-schroot
sudo apt-get remove lvrt-schroot
sudo apt-get purge lvrt-schroot
i reinstall using labview and linx.
i have got the same error.
i dont know what to do else!
Why is reinstalling the RPi OS not recommended? If you don't want to mess with the SD card that you are using do you have a spare SD card to try a fresh install on and the LINX tool to install LabVIEW? Right now there are too many variables to determine what is wrong. First you need to verify your setup. Once you can trust your setup you can return to this specific SD card if you need to.