NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Getting Additional Results From TS API

Hi Everyone,

 

  I'm runing TS sequence through a custom interface , and i'm tracing the results (to display results) using  ExecutionViewMgrEvents_TraceEvent. I'm triying to display the additional results selected in the sequence steps.

 

  The problem that i have is the object "PreviusStep.AdditionalResults.CustomResults[0].ValueToLog" return the expression used in the Step and not the value.

 

  For the example in the images i got "Step.TimeExpr" and if i try to evaluate the expression (or get the value inside Step.TimeExpr) i got "Locals.DelayTime" ,  i could try to evaluate the new expression but i want a general way to do this. Is not the best option try to figureout if the first value returned is a TS Expression or is the real value that i want. 

 

GenerQ_0-1758819253402.png

GenerQ_1-1758819276238.png

 

0 Kudos
Message 1 of 2
(145 Views)

Can you use the TestStand Report API and AxReportView ActiveX component?  If you use that it will handle all of the reporting output for you by displaying the active report plugins.  Then if you want to customize a report plugin, you can create one or modify an existing one.

0 Kudos
Message 2 of 2
(116 Views)