07-05-2017 04:19 AM
hi,
i tried to access : RunState.Root.Locals.ModelData.TestSockets[0].UUT.SerialNumber
from my c# code , using :
seqcontext.Root.Locals.SetValString("ModelData.TestSockets[0].UUT.SerialNumber", 0, ProductSerialNumber);
also :
seqcontext.Root.Locals.SetValString("RunState.Parameters.ModelData.TestSockets[0].UUT.SerialNumber", 0, ProductSerialNumber);
both didnt work
please advise how can i set the sn from my code instead of prebatch model mechanism
thanks
07-06-2017 07:56 AM
What version of Teststand are you using? Are you programming in Teststand or Visual Studio or another environment?
07-06-2017 08:00 AM
programming using visual studio c#
i solved this.
now i face something else - _ExecutionViewMgrEvents_EndExecutionEvent is not envoked at the end of the batch run
i handle the c# code according to this event which tells me that run is over ( on single uut it works perfect)
how can i envoke it from teststand?