03-01-2011 06:59 AM
I'm have developed a VI which communicates with some hardware via USB & writes & displays various data.
It is mostly event driven, with a central event structure, the timeout case doing several actions on a 500 ms cycle.
It runs fine on my development PC (i5 520 2.5GHz 2GB) Lv 2010. And it also runs fine on my machine when built into an .exe.
But, i have deployed it onto 2 of my colleagues machines with similar specifications (LV not installed, using Runtime engine) and it runs very slowly.
All actions seem to run about 10 times slower.
I have checked CPU usage and that is not critical (V using 0-20% CPU in bursts)
Any Ideas?
03-01-2011 09:03 AM
04-13-2011 05:02 AM
I'm still having this problem and now on a second application (although it does use some of the same sub-VI)
It runs fine on the dev machine.
It runs fine when complied to an exe on the dev machine.
It runs slowly on any other (tested on 2) machne.
- I have disabled debuggung in VI properties of all VI & sub-VI.
It doesnt use significant amounts of memmory or processor on either PC, so i dont think thats an issue.
I'm really stuck on this. Why would the runtime perform slower than the dev engine, it should be the other way around if anything...
04-14-2011 12:17 AM
I have the same Problem.
Are you connected to the internet with the other machines?
Mine situation is simular, once I unplugg the ethernet port the Application runs as fast as on the dev machine.
This problem started with LV2009 RunTimeEngine trying to communicate via the internet.
regards
04-14-2011 01:20 AM - edited 04-14-2011 01:22 AM
if you are using .Net constructors this might help.
I found this Solution in an other forum .
http://forums.ni.com/t5/LabVIEW/exe-with-NET-components-very-slow/m-p/1083007
Regards, Olli
04-29-2011 10:12 AM
I have still not found any solution to this despite trying many things, and making some extensive websearches.
Just to clarify, its not the startup time thats slow, its the general operation (GUI update rate, I/O etc) Its behaving exactly as if someone turned down the clock speed.
I've now tried a clean deployment (.exe build) on a clean windows 7 machine (which is more powerful than my dev machine)
It still runs slowly with the 2010 RTE.
Any more ideas anyone? Anyone else having this kind of problem?
05-02-2011 01:52 PM
I have seen this problem before with LV2009 and LV2010 when switching computers if the new target machine does not have sufficient memory. You can take a big performance hit when the run-time engine has to spend a lot of time switching things in and out of memory. You might check that.
Jason
05-06-2011 11:10 AM
NI support advice me to follow those instructions and it work. 🙂
maybe this helps you as well
http://digital.ni.com/public.nsf/allkb/7DC537BCD6E679C3862577D9007B799E?OpenDocument
regards,
Olli
05-06-2011 11:10 AM
NI support advice me to follow those instructions and it work. 🙂
maybe this helps you as well
http://digital.ni.com/public.nsf/allkb/7DC537BCD6E679C3862577D9007B799E?OpenDocument
regards,
Olli
05-09-2011 05:13 AM
HI thanks, I will try this later.
But just to reiterate, its not the start up time per se thats slow, but the whole operation.
My main GUI loop runs at 4 Hz (Event loop with 250ms timeout), but on any target machine no matter the memory/cpu/OS it runs more slowly at about 1 Hz. Something (or everything) seems to runmuch slower with the RTE.