09-02-2009 11:43 AM
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)
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
Only the header is generated in the results file - there are no step results. The UUT Result has been skipped.
6. Now remove the empty expression from the Process Model and re-run the test step using Single Pass.
The step results are there!
Does anyone know what is going on here?
Thanks,
Ronnie
09-02-2009 12:10 PM
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
09-03-2009 10:18 AM
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
09-03-2009 10:45 AM
Thanks for the explanation dowNow!
Ronnie