LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to find out the percentage of code loaded using the load instrument vi

i am loading my software through preload instrument.vi. Is there any way to know the percentage of the vi loaded, in parallel when the vi is getting loaded.
0 Kudos
Message 1 of 3
(2,585 Views)
I do not think so.

If you carefully watch other loaders, you will see that the bars do not not update at a constant rate. They usually update in chunk fasion.

You could get the size of all of the VI before starting the loads and update your progress bar based on percent of total code loaded. If smooth updatesis readlly important, you could track the load time vs files size and use that to do some periodic incremental updates.

Cluge? yes!

Ben
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 2 of 3
(2,585 Views)
Hi
Thanks for the answer.
I wouyld like to know how exactly this could be implemented. How to get the load time and file sizes. One more thing i find whenever the execution goes into the pre-load instrument vi, the all the process outside the vi, like a while loop in parallel doesnt work and wait till the vi finishes its execution.
0 Kudos
Message 3 of 3
(2,585 Views)