Hobbyist Toolkit

cancel
Showing results for 
Search instead for 
Did you mean: 

Failed to deploy target settings

Hi, I am using the latest LabVIEW 2020 and Linx toolkit, in combination with a rPi4.

I've created an application (using webservices). The first time I deployed it, everything went fine, and the app succesfully runs on startup.

 

The 2nd time tried to deploy it, the deployment fails (failed to deploy target settings,Deployment completed with errors)

Then the connection to the rPi get lost. But I can choose to 'restart' the rPi. The I can try to 'connect' or 'deploy' again, but with the same error.

 

I am having the exact same problem as this guy :

https://forums.ni.com/t5/LabVIEW/LabVIEW-to-Raspberry-Pi-failed-to-deploy-target-settings/td-p/40527...

 

Is there anybody that has some advice?

Thomas.

0 Kudos
Message 1 of 5
(1,248 Views)

Bonjour,

Est ce que vous arrivez à vous connecter au RPI sans déployer le programme (clic droit - connect)?

0 Kudos
Message 2 of 5
(1,131 Views)

Hello, I ran into the same problem and some others about the actor framework at the same time...

Here are my 2 cents:

 

1- Once  your load is deployed and marked as startup, if you look inside the target beside the folder "Pi" thru SSH, you'll see the following "/lvuser/natinst/bin/Startup.rtexe. This is running just after bootup and it keeping us from stopping it within the project probably related to internal errors, and must be stopped to change project property load. The workaround I found in my case is to go by SSH and remove it with sudo rm Startup.rtexe. After a reboot I was able to connect to the target and put a new load in it because I did not have to stop the process from within the labview Linx project.

 

2-Actor framework had compiling problem, that said when I tried to run it on the target sometime it would give error about my actor not being in a executable state. So I cleared object cache and voila.

 

I hope it help some of us.

 

Regards

 

LV 2020

 

 

0 Kudos
Message 3 of 5
(1,068 Views)

That's a good tip! I'll try it tonight.

0 Kudos
Message 4 of 5
(882 Views)

Hi mart 22,

 

I didn't find file "Startup.rtexe" at the specified directory.

I tried to stop the labview service using "sudo systemctl stop labview.service"

But the error message still the same.

Can you help me

 

Regards

 

OKA

0 Kudos
Message 5 of 5
(437 Views)