LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

executable vs. vi

Hello all,

Does anyone know if an executable is faster, with respect to computational algorithms, than a vi?

Thanks,

Azazal

Azazel

Pentium 4, 3.6GHz, 2 GB Ram, Labview 8.5, Windows XP, PXI-5122, PCI-6259, PCI-6115
0 Kudos
Message 1 of 4
(3,296 Views)
It really depends on where the algorithim is and the conditions at run time.  As a general rule, exes will execute faster, but this is not a law.  LabVIEW compiles the code when you press the run arrow, but things do happen differently behind the panels when compiled.  I would put a speed metric in your vis and try it.

Paul
0 Kudos
Message 2 of 4
(3,290 Views)
Principially there should be no difference in execution speed between a VI running in the development environment and the same one running in the runtime system. A slight speed increase for applications is achieved by the fact that the application builder removes any debugging code from the VI before creating the executable binary code. This speed increase would be the same if you disable debugging for a VI and run it in the development system. The speed increase gained through disabling debugging is really in the one digit percentages, so not  very spectacular.

Rolf Kalbermatter
Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
Message 3 of 4
(3,270 Views)
It DOES spectacular using VIServer to open/run VI.
When not - it's OK.
0 Kudos
Message 4 of 4
(3,160 Views)