LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

speed of loading code in labview

Hi all,

I have one code in labview that is a little complicated and it controls my camera. For example, it has more than 10 loops.

Is there anybody knows about how long does it take to loading the program?

because it seems to me it takes more time and I want to understand it is correlated to my camera or my code!

I mean in usual way . How is the speed of the labview?

 

Best regards

0 Kudos
Message 1 of 8
(2,816 Views)

Actual loading of the program is based on the size of your program.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 8
(2,812 Views)

How big is your EXE on disk?  A larger EXE doesn't necessarily mean longer load times, but it is a sign of a large amount of code, which can mean a long load time.

 

To get around this developers try making splash screens, that get loaded quickly just to show something, which then loads the top level VI dynamically and runs it.

 

Here is a big long discussion on LAVA on the subject.  The Actor framework has examples on how to do this as well.

0 Kudos
Message 3 of 8
(2,793 Views)

@crossrulz wrote:

Actual loading of the program is based on the size of your program.


And the number of external libraries it references, their respective loading time, etc, etc. Some external DLLs easily can add many seconds to the loading time of an application/LabVIEW program.

Rolf Kalbermatter
My Blog
0 Kudos
Message 4 of 8
(2,765 Views)

The exe files i've done in different project have been between 5 sec and 5 mins startup time. The projects have also ranged from 50 to 5000 VIs.

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 5 of 8
(2,745 Views)

Thanks for your replies.

What do you mean with  EXE on disk?

0 Kudos
Message 6 of 8
(2,710 Views)
0 Kudos
Message 7 of 8
(2,705 Views)

@Hooovahh wrote:
...the EXE file size.

The Executable file compiled to [filename].exe

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 8 of 8
(2,654 Views)