04-01-2022 06:49 AM
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.
04-01-2022 07:28 AM
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!
04-01-2022 07:58 AM
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.
04-01-2022 11:22 AM
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…
04-04-2022 01:57 AM
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