02-22-2010 04:27 AM
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
02-22-2010 04:36 AM
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
02-22-2010 06:01 AM
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
02-22-2010 07:35 AM
Ritesh,
could you please post the code?
Norbert