I have a custom TestStand 4.0 User Interface where I display some information about the last executed step in the UIMsg_Trace event.
To get the step info I use:
Step step = e.uiMsg.Thread.GetSequenceContext(0, out frameId).PreviousStep;
The problem is when a step with Looping (Fixed number of loops) is excuted. I get a UIMsg_Trace event for each iteration of the loop, but the PreviousStep is not the last step in the loop, but always the step before the loop.
How do I get information for each iteration of a Looping step?
Regards
Hans Forssell