05-13-2014 02:24 AM
hi all,
I save the results of my steps in diadem using " SequenceFilePostResultListEntry " callback.
I am able to read the results from the calling step or subseq in my resultlist callback & save them in tdm format.
The problem is reading ModuleTime.
Tried diff ways , the Expr. below gives inconsisten results.
RunState.Caller.Locals.ResultList[0].TS.ModuleTime
has anyone worked on similar situations.
also I was unable to find the Date format in Teststand. I have to channel this date info to a VI which writes the TDM file.
05-13-2014 09:36 AM
Try:
PropertyExists("Parameters.Result.TS.ModuleTime") ? Parameters.Result.TS.ModuleTime : 0
You should not be accessing RunState.Caller.Locals.ResultList from the SequenceFilePostResultListEntry. The most recent result for the result list is already given to you as a parameter to the callback (i.e. Parameters.Result).
Hope this helps,
-Doug
05-13-2014 10:43 AM
thanks Doug! that was it.