NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Display Step.Result.ReportText direct in the LabView OI after using "Run selected Steps"

Highlighted

I took the  (full-featured) LabView OI and modified it to my needs.

 

Now the problem:

 

I only have sequences with LabView Action Steps. Those Steps (VIs) all have a Cluster Output "Test Data"
Now i would like to display one element of that Output Cluster (Step.Result.ReportText) direct on the OI after using "run selected steps"

 

It would be ok, when the Result would display after every step (also in UUT/Single Pass) but most important, after Run Selected Steps.

 

How can i connect the Output of the step with an element on the LabView OI?

 

(sorry for my bad english)

0 Kudos
Message 1 of 4
(2,425 Views)

You need to use UI Messages: http://www.ni.com/white-paper/4532/en/

 

Because you are using run selected step you would need to post the UIMessage in either SequenceFilePostStep callback or a Post Expression of the step.  Since it's the same for each I'd do it in the SequenceFilePostStep callback.

 

Let me know if you need more direction.

 

Hope this helps,

jigg
CTA, CLA
teststandhelp.com
~Will work for kudos and/or BBQ~
Message 2 of 4
(2,401 Views)

@RNiklaus wrote:

I took the  (full-featured) LabView OI and modified it to my needs.

 

Now the problem:

 

I only have sequences with LabView Action Steps. Those Steps (VIs) all have a Cluster Output "Test Data"
Now i would like to display one element of that Output Cluster (Step.Result.ReportText) direct on the OI after using "run selected steps"

 

It would be ok, when the Result would display after every step (also in UUT/Single Pass) but most important, after Run Selected Steps.

 

How can i connect the Output of the step with an element on the LabView OI?

 

(sorry for my bad english)


Is the "Run Selected Steps Using Single Pass" feature not sufficient for your use case? That feature will run the selected steps along with result processing to generate a report for those steps.

 

-Doug

Message 3 of 4
(2,388 Views)

thanks to you both, i will check your possibilities for the best solution... i think both should work

0 Kudos
Message 4 of 4
(2,362 Views)