NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Close reference needed for step object reference open? If so, how?

Hello,
We are using an activex method call to open an object reference to a step and programatically rename it.  This is done many many times during our test run, thousands.  We ran into an "out of memory" problem we had never seen before during a 72 hour test run, and in hunting down any possible memory leaks, I am wondering if a corresponding close is needed for the step reference open we are doing, and how.  I have hunted around the different methods/properties, and can't seem to find if there is a step reference close.  I have attached the specify module screen of the activex call which opens the step reference.
 
Thanks for any replies
 
David Jenkinson

Message Edited by david_jenkinson on 06-11-2007 05:07 PM

0 Kudos
Message 1 of 2
(2,885 Views)
Hi David,

Setting a reference to nothing in TestStand will close it. However, if you are assigning a new value to the local it also frees the memory associated with the original value, making it so you don't need to assign it to nothing. I don't believe the source of the leak is in this step.
Test Engineer - CTA
0 Kudos
Message 2 of 2
(2,857 Views)