NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

If you save an object reference to "File Globals", does that memory get reallocated after the sequence ends?

I am saving object references to "File Globals" and I was wondering if the memory space allocated for these items was automatically reallocated back after the execution ends.

0 Kudos
Message 1 of 4
(3,010 Views)

Once finished with the object set the variable to equal to Nothing

 

eg FileGlobals.PropObj = Nothing

 

 

 

Regards
Ray Farmer
0 Kudos
Message 2 of 4
(3,001 Views)

Is there a command to set all objects in FileGlobals to nothing or do we have to right expressions for all of them?

0 Kudos
Message 3 of 4
(2,997 Views)

File globals should get cleared automatically when the execution completes (not just an iteration of the uut loop, but the entire execution must complete). If you are seeing otherwise please let us know and let us know which version of TestStand you are using.

 

Hope this helps,

-Doug

0 Kudos
Message 4 of 4
(2,992 Views)