02-23-2012 03:01 PM
I have a station global object reference. Is there a way to check if the object reference is valid?
Thanks.
Solved! Go to Solution.
02-23-2012 05:58 PM
StationGlobals.MyRef != Nothing
-Doug
09-18-2014 10:32 AM
I have a similar issue where I need to know if a session number is still valid before I try to close it. I have cleanup steps that close references/sessions/handles, etc. in case an error occurs in the sequence, but if no errors occurred, then they should already all be closed. Would the "!= Nothing" be valid for everything? Thanks.
GSinMN
09-19-2014 11:28 AM
Hi GSinMN,
The Nothing constant refers to empty ActiveX references. You can find more information about it here:
Special Constant Values: http://zone.ni.com/reference/en-XX/help/370052K-01/tsfundamentals/infotopics/special_constant_values...
-Myriam