02-24-2012 10:09 AM
Hi Ppl,
I was trying to see how to load modules in to the memory programatically. TestStand loads the step modules automatically. I'm using TestStand 2010 SP1 and use project paths along with VI paths. When I open a reference of A.vi in A.lvproj from B.vi which is loaded B.lvproj. A.vi goes out of memory as soon B.vi stops executing. Is this expected behaviour ? If I will have to make A.vi loaded from A.lvproj, how can I do it ?
Thanks,
Sathish
02-27-2012 10:05 AM
Yes, it is expected.
Why do you care if the VI was unloaded from memory? Relying on VIs persising in memory for any amount of time for proper execution seems very odd.
03-05-2012 11:20 PM
Hi,
The exact place where pre-loading the VIs in memory will help is in Custom steps. We can have a OnNewStep Sub-Step that can load all the VIs of the EditSubStep into memory as soon as the step is dropped. If the VIs persists in the memory, the configuration process is faster since it need not load all the EdiSubStep VIs into the memory.
Thanks,
Ganesh Kumar