06-17-2011 06:43 AM
I want to write to sequentialmodel.Locals.BatchSerialNumber. From out of the main sequence I can use runstate.caller. ...
But I want to write to it from out a sequence called from the main sequence. (I did a sequence call to another sequence from main sequence). If I write from this sequence to runstate.caller, I write to the main sequence. But I want to write to Sequential.Locals.BatchSerialNumber.
06-17-2011 10:15 AM
RunState.Root.Locals.BatchSerialNumber
This will work if you start the sequence using the appropriate execution entry point.
Thanks,
PH
06-17-2011 10:21 AM
Are you talking about Locals.UUT.BatchSerialNumber?
During execution, you can get access to get and set this value by using RunState.Root.Locals.UUT.BatchSerialNumber
-Jack
06-17-2011 12:11 PM
Yep..... I forgot the UUT... model is the root object.... got it!