03-29-2010 07:01 AM
Hi,
I am using the TestExec User Interface editor mode, in the SequenceFileLoad callback from my sequence an instance is made from a C# code module
(the code module is located in another dll) , this reference is stored into a station global variable.
Now I want to retrieve the reference from the station global variable in my TestExec User Interface code.
So, is it possible to get this reference back from the station global variable?
Best regards
04-28-2010 07:54 AM
ccds,
It sounds like your UI is written in .NET and you want to use an object created in your sequence in your UI. This is generally a difficult thing to do because of .NET AppDomain issues. Could you describe what you are trying to accomplish? Because there's probably another (easier) way to implement it.
04-28-2010 08:25 AM
Reading the StationGlobal is not a problem. But the problem maybe that your reference contained in your StationGlobal is probably not valid once the SequenceFileLoad has completed its execution which it will have done once the SequenceFile has loaded.
Any references you wish to pickup are best down via one of the ProcessModel callbacks such as ProcessSetup.
Regards
Ray Farmer