Hobbyist Toolkit

cancel
Showing results for 
Search instead for 
Did you mean: 

loss connection to target when deploy project to rpi 4

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

Untitled.png

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.

0 Kudos
Message 1 of 15
(4,148 Views)

What version of LabVIEW and LINX are you using?

 

What version of Raspberry Pi OS are you using?

 

Does this happen both when connecting over a wired Ethernet connection and WiFi?

David Wilt
The New Standard LLC
0 Kudos
Message 2 of 15
(4,129 Views)

 version of LabVIEW 2020 community

version of Raspberry Pi OS : 10.7

Untitled.png

this happen when connecting over wifi and Ethernet

0 Kudos
Message 3 of 15
(4,126 Views)

Well it will be tricky to diagnose a WiFi issue as your setup could cause the issue.

 

Try a wired connection and does it work?

 

I post this before your update.  Well if the something happens over wired that is a different story.

David Wilt
The New Standard LLC
0 Kudos
Message 4 of 15
(4,112 Views)

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?!

0 Kudos
Message 5 of 15
(4,099 Views)

Why are you setting it up manually?  Why not use the tool built into LINX and LabVIEW 2020?

David Wilt
The New Standard LLC
0 Kudos
Message 6 of 15