NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How does TestStand reserve VI's

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

0 Kudos
Message 1 of 3
(2,876 Views)

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.

CTA, CLA, MTFBWY
0 Kudos
Message 2 of 3
(2,845 Views)

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

0 Kudos
Message 3 of 3
(2,809 Views)