09-05-2008 04:39 PM
Hello
What is the proper method to use to close an open sequence step reference? I can't seem to find one under any of the object classes methods.
thanks
09-07-2008 02:51 PM
Hi,
It depends on what programming language you are using.
If its just in TestStand then setting the variable to Nothing will release the object reference.
ie
Locals.objref = Nothing
Regards
Ray Farmer
09-09-2008 04:46 PM
If you are using Object Reference type Property Objects to store references, then there is no need to set those variables to nothing or null. When the variable leaves scope (i.e. when the sequence or execution finishes), TestStand will automatically release the references.
This is one advantage to using the TestStand API from a sequence, you don't have to worry about closing the references, because the Engine will do it for you.
09-09-2008 04:55 PM
ok good info,
thanks