|
Re: compiling speed-a few ?
I'm currently looking into why recent versions of LV have bigger build times. In my opinion it should be way faster to build.
If you are asking about clicking the run button after edits, there is a trick I've shared a couple times, but I don't think it has caught on.
When you have Robot Main open, you run it, change a front panel value, and run again and things are really fast to get started. That is because the VIs are cached in RAM on the controller. If you make a diagram edit, then run, you'll notice that is is probably fifteen seconds of download. All VIs will have been kicked out of the cache.
Can anything be done to keep more VIs cached? Sure.
What you do is Save your Robot Main As a Copy to a new VI. I usually call mine the Shadow.vi. This Shadow now has the same dependencies as your original Robot Main. When you are working, you open the project, open the Robot Main and the Shadow. Right click on the Shadow and choose Deploy. Then minimize the Shadow VI and go to work. The Shadow will not be edited, and will keep most of the VIs in the cache. Now VI edits will run much faster.
Greg McKaskle
|