NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Dispose a shared object reference

Hi all,

 

When i want to use an object reference in multiple test sockets I mark the object reference as "Shared" (variable properties -> advanced -> Edit flags -> shared).

 

Now I have an object that only releases its resources by disposing the object reference (set to nothing). I want to be able to dispose this object in each test socket.

 

When the object reference is not set to "shared", it is possible to dispose the object by using the "Release Object" button in the variable window. When I set the variable "Shared" this button is grayed out. When the object reference is not "shared", it shows the class type and clsid, when it is set "shared" it only shows "propertyobject".

 

How can I solve ar work around this?

 

Thanks in advance,

Stef

0 Kudos
Message 1 of 2
(481 Views)

Hi,
Did you solve the problem? 
What version of the software do you use ?


Useful link 
http://zone.ni.com/reference/en-XX/help/373892H-01/tssemiconductor/multisite/

0 Kudos
Message 2 of 2
(217 Views)