07-07-2005 04:21 AM
07-11-2005 05:10 PM
Petri,
The object handle parameter is the ActiveX object handle obtained from Automation Method or property.
This object would depend on which property you want to check for existence.
Check the Using LabWindows/CVI with TestStand reference manual for more information.
Best Regards.
07-12-2005 02:41 AM
I would like to check an existence of the FileGlobals variable in TestStand from OI.
Regards,
Petri
07-19-2005 04:29 PM
Petri -
When do you want to access the variable? Do you want to access the variable on the edit time copy of the sequence in the file that you have loaded into the OI, or do you want to access the variable on a run-time copy of the sequence that is currently executing and being displayed in the execution view of the OI when tracing is enabled?
07-21-2005 09:01 AM
I want to access a variable before starting any execution of the sequence. I guess it's the same as the variable is accessed on the edit time copy of the sequence in the file that I have loaded into the OI. In that way I want to initiliase some variables before starting to execute sequence.
Regards,
Petri
07-21-2005 03:17 PM
Petri -
The file globals for a sequence file are stored as a subproperty of the file. You can access the edit-time copy of the file globals by calling SequenceFile.FileGlobalsDefaultValues, which returns a the globals as a PropertyObject. Then you can use PropertyObject.Exists("MyFileGlobalVarName", 0) to determine if the property exists under globals.