VPL is too SLOW
-
22. srpna 2010 2:50
Hi.
I am developing a prototype control mechanism for a multi robot system using VPL. (I make use of the Teleporter activity to generate GPS data).
My code works correctly when I operate 3 robots (each with their own associated Teleporter). However when I try operate 4 robots or my code reach a certain complexity the computer slows down drastically, making it nearly impossible to have an efficient work flow, as the screen goes black and VPL has to “think” for several minutes each time I do a minor change or when I wish to compile the VPL code. I have looked at the Windows Task manager and VPL uses 494,092 K of memory even though I am continuously simplifying my code and I have grouped similar code in custom activities in VPL, so it might be a memory problem..
Has anyone encountered this problem before and found a way around it? Would it help to create new activities from scratch using C++ so that less graphics is used to generate the same overall code in VPL?
Insights would be much appreciated.
JC
Všechny reakce
-
23. srpna 2010 6:53
Have you split your diagram in sub activities ?
http://www.simplysim.net/ -
24. srpna 2010 3:39
Hi Vincent.
Thank you for the reply.
Yes I have split my program up into sub activities, but I still have quite a bit of “containers” for these sub activities and also a bit of variables on the top layer.. I have the variables on the top layer because they must be communicated between the relevant sub activities.
It is nearly impossible to work on the code right now. Particularly when I modify the top layer, but it also takes about four minutes each time I compile the code..
JC
- Označen jako odpověď Luke Thompson - MSFTMicrosoft Employee, Moderator 17. června 2011 0:36