NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Objects leaks

HI,

Am gettting "Refernce to the property object not released" error on every shutdown of TestStand(please do find attached screen shot).TED object leaks.JPG

what might cause this issue?

 

Thanks In Advance

 

Thanks

Bharathi

0 Kudos
Message 1 of 5
(3,936 Views)

Hi,

 

It's difficuilt to see the detail in the screen shot as the important stuff is off the screen.

 

But you need to check in the Sequence(s) indentified that all SequenceContext are released before the execution completes. This includes all references held in variables.

 

Regards

Ray Farmer

Regards
Ray Farmer
0 Kudos
Message 2 of 5
(3,929 Views)

Thanks for your time.

Is there a std way for relaasing all the sequnce context?

how to do that?

 

 

Thanks

Bharathi

0 Kudos
Message 3 of 5
(3,925 Views)

Hi,

 

You can release the object reference by setting it to Nothing

 

eg Locals.StepRef = Nothing

 

Regards

Ray Farmer

Regards
Ray Farmer
0 Kudos
Message 4 of 5
(3,921 Views)

Leaks are usually caused by code modules or UIs not properly releasing references to all of their teststand objects. TestStand variables' references are automatically released by the Engine, but if your code modules or UI code adds references and doesn't release them then you will see leaks like this.

 

Hope this helps,

-Doug

0 Kudos
Message 5 of 5
(3,909 Views)