03-30-2010 06:41 AM
hello,
from the Test Stand Editor,
I would like passing object reference of MyClass type from the MainSequence to another sequence.
where MyClass is a type coming from a external dll.
More precisely:
- Start main sequence:
- step 1: create a step action (C# adapter) which is create an instance of a class (type MyClass) coming from an external dll (I know to do it)
- step 2: call secondary sequence with a parameter which is a reference to an object of MyClass type
is it possible ?
03-30-2010 07:00 AM
Hi,
this link should help you.
I am assuming you know how to setup a Parameter in you Sequence.
Regards
Ray Farmer
03-30-2010 09:06 AM
Yes just add an Object Reference variable to the Parameters section of the variables of the sequence you want to pass the parameter to. Then when you specify a sequence call, pass the local variable in which you stored your class reference.
-Doug
03-30-2010 09:12 AM
Thank you very much, it works