NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How to Use  PreUUT to Get the Mainsequence ResultList status value??

Hi,

Does Anyone knows

How to Use  PreUUT to Get the Mainsequence ResultList status value??

 

 

 

Regards  

0 Kudos
Message 1 of 3
(260 Views)

Hi, 

The PreUUT runs before main sequence call back. I don't think you can get Main sequence result in PreUUT callback. 

 

Maybe you can check in PostUUT call back using sequence context. 

0 Kudos
Message 2 of 3
(230 Views)

If you are using the default Sequential model for TestStand, in PostUUT you can access the client sequence file's results using this expression: 

RunState.Root.Locals.ResultList[0].TS.SequenceCall.ResultList

 

In PreUUT you can only access the Root result list, which is empty because model has not yet executed the Sequence Call step to call the client sequence file.

Scott Richardson
https://testeract.com
0 Kudos
Message 3 of 3
(210 Views)