Hi Vipinraj,
I don't think you can get what you need from the trace event, at least I have never got it to work. This is how I get the step result, this is using C# .NET rather than LabVIEW but the call parameters and property names are very similar:
SequenceContext context = e.uiMsg.Thread.GetSequenceContext(0, out frameId);
PropertyObject resultList = context.Locals.GetPropertyObject("ResultList", 0);
int numElements = resultList.GetNumElements();
if (numElements != 0)
{
PropertyObject lastResult = resultList.GetPropertyObjectByOffset(numElements - 1, 0);
string status = lastResult.GetValString("Status", 0); // "Done", "Passed", etc. depending on step type
}
Note: the result for the currently-executing step has not yet been posted into ResultList, so I think you get the result for the step preceding the one being traced. There may well be a better way to do this but it is hard to find out especially as the documentation is not good, repeated trial and error is my usual MO! If you have found how to do it differently please post here as it will be useful to me :-)