LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

program running slower in exe

Dear all,

i am facing a strange problem where my program as an exe is running slower(some operations 600-700 ms) than the prog in the development mode on the same PC.

i have tried building the exe 3-4 times to check if there might something wrong in the way the exe was created but the results are still the same.

 

does anyone know abt the issue and the factors which are making it to run slow?

 

 

Thanks,

Ritesh 

0 Kudos
Message 1 of 4
(2,807 Views)

Ritesh,

 

are you using VIs dynamically (loading them per VI Server)? This might make a difference if e.g. your project has already loaded those VIs into memory in dev-system.

 

hope this helps,

Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 2 of 4
(2,803 Views)

Hi Norbert,

yes, i am using dynamic VIs in my program, but they are not the ones which are running slow.

its a vi inside one action engine which sets the position of 10 controls on the FP. i am using the controls' references to set their top property.

 

in my dev program, it takes arnd 10 ms to set the property of 10 controls. however, in the exe it takes arnd 500 ms which gives a flicker effect and looks quite annoying.

 

 

Ritesh 

0 Kudos
Message 3 of 4
(2,789 Views)

Ritesh,

 

could you please post the code?

 

Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 4 of 4
(2,779 Views)