LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Slow real-time deploy

Hello, we have a big project with ~ 5000 VIs. The application is running on a real-time IC-3172 controller and the visualization is running on a standard Windows PC. The problem is when we start the real-time application the IDE starts to deploy the VIs. At the beginning the deployment of the VIs is fast (~20 VI/s) but over time is getting slower and slower. At the end LabVIEW take 1 sec to deploy an 5 Kbyte VI. To deploy the VIs it takes 15 min. Are there any method to speed things up?

 

The worst when LabVIEW crashes after deployment and we can start everything again. Once I gave up try to deploy after an hour and built the application and deployed the exe to the controller. Of course in this case I cannot debug anything on real-time.

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

Hi Kocsis,

 


@KocsisP wrote:

Are there any method to speed things up?


I have only worked with cRIO targets, so I have to ask: does the IC-317x support to deploy RTEXE applications?

 

This is the usual way to deploy applications on cRIO targets. That RTEXE is executed automatically after booting a cRIO…

 

When the IC also supports this then you need to deploy your application only once and it will be available each time the IC powers up!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 5
(2,018 Views)

Yes it supports. It is the same like CRio or PXI with RT. When the project is finished we always deploy the built RTEXE. During developement I would like to run the RT application from Labview IDE to debug the code but the deployment of the VI is getting very slow. I hit the RUN button on the top level VI of the RT code and the IDE starts to deploy the VIs. The beginnig is fast and it getting slower during the deployment. It looks like as Labview is checking someting during deployment of each VI and as the deployed VI amount increasing it takes more and more time.

0 Kudos
Message 3 of 5
(2,007 Views)

Hi Kocsis,

 

maybe it would help to use lvlibp (packed libraries) to speed up the deploy process.

I'm unsure if/how they are supported for RT targets as I only use them on Windows. But the point is: you only need to deploy one (precompiled) lvlibp file instead of a large library of single VI files…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 5
(1,990 Views)

Hi GerdW,

 

It would be great if we can use built libraries. 

Unfortunately LabVIEW cannot handle the dependecies of the lvlibp if you use the VIs in the library on different OS like Windows and RT. 

 

Best regards

Kocsis

 

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