NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Accessing individual units' report text from within batch model

Solved!
Go to solution

Under the sequential model in the PreUUT callback, I can access the text report in RunState.Report.All.

 

In the batch model, that same variable in PreBatch just gets me the batch report text. How can I get the individual unit report text? Thanks.

0 Kudos
Message 1 of 4
(1,969 Views)

Have you tried using the PreUUT callback? In the batch model, the PreUUT callback is used at the beginning of each socket.

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

Thanks for the suggestion.

 

There is one issue: the PreBatch runs before the PreUUT. So in order to see the results of the individuals in the current batch, I have to enter the next batch information first.

 

Can I force PreUUT to execute before PreBatch somehow?

0 Kudos
Message 3 of 4
(1,923 Views)
Solution
Accepted by topic author stephenb2

Thanks shrupa123 for putting me on the right path.

 

It turns out that what I wanted was the PostUUT callback. First the PreBatch is executed, then the main sequence, and finally the individual UUT reports are accessible in the PostUUT.

0 Kudos
Message 4 of 4
(1,917 Views)