NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

No step results when IF Statement or Expression added to Single Pass!

1. Copy SequentialModel.Seq to something else

2. Open up the Single Pass sequence

3. Add an empty expression just after 'Check for Target Sequence' (this can even be set to SKIP)

 

 CropperCapture[39].Png

 

4. Select this process model as the one to use in Station Options.

5. Write a sequence with one Numeric Limit test to generate some results and run the step using Single Pass

 

CropperCapture[40].Png

 

Only the header is generated in the results file - there are no step results. The UUT Result has been skipped.

 

 

CropperCapture[42].Png

 

6. Now remove the empty expression from the Process Model and re-run the test step using Single Pass.

 

The step results are there!

 

 

CropperCapture[43].Png 

Does anyone know what is going on here?

 

Thanks,

 

Ronnie

 

 

TestStand 4.2.1, LabVIEW 2009, LabWindows/CVI 2009
0 Kudos
Message 1 of 4
(3,497 Views)

OK - I solved the problem. It looks like if Run Options Record Result is not set to OFF with any steps in the process model then the UUT results will be skipped.

 

This occurs even if the step is set to SKIP, which seems odd to me.

 

http://forums.ni.com/ni/board/message?board.id=330&message.id=1271&query.id=283753#M1271

 

TestStand 4.2.1, LabVIEW 2009, LabWindows/CVI 2009
0 Kudos
Message 2 of 4
(3,494 Views)

And this is because, in the default process model execution entry points, results are collected in Runstate.RootLocals.ResultList[0]. So if any other elements are added to Runstate.RootLocals.ResultList, then element 0 no longer has the results from Main Sequence Callback. If you add steps after the Main Sequence step without unchecking Results collection it would be ok, but messy.

cc

Message 3 of 4
(3,469 Views)

Thanks for the explanation dowNow!

 

Ronnie

TestStand 4.2.1, LabVIEW 2009, LabWindows/CVI 2009
0 Kudos
Message 4 of 4
(3,465 Views)