Adam,
The precondition for the step is !Evaluate( Parameters.ReportOptions.ResultFilterExpression ). I compared the sequence to the original SequentialModel and the type conflict is that my version has UUT listed as "UUT" and the original SequentialModel has "UUT_1". The code I added was per the instructions to follow.
OnTheFlyReports.Seq contains an on-the-fly report generator that you can integrate into your process model.
Installing the example
1) Copy the default process model folder, TestStand\Components\NI\Models\TestStandModels, to the TestStand\Components\User\Models directory so that you can make changes. Restart the sequence editor if it is running. These instructions now refer to the TestStand\Components\User\Models\TestStandModels\SequentialModel.Seq file as your process model file.
2) Open OnTheFlyReports.seq and your process model file. Select the All Sequences view in each sequence file. Copy the ProcessModelPostResultListEntry and SequenceFilePostResultListEntry sequences and paste them into your process model.
3) In OnTheFlyReports.seq, select the Sequence File Globals view. Copy the sequence file global variables. Paste them into the file globals in your process model file.
4) Edit the TestReport sequence in your process model file.
1) Delete the Call Get Report Body (C Implementation) step
2) Delete the Get Report Body step
3) Copy ActiveX Action step named Get Report Body from the TestReport sequence in OnTheFly.seq. Paste the step before the Get Report Header step in the TestReport sequence in SequentialModel.Seq.
4) Open the Specify Module dialog for the Get Report Header step. Change the value of the StepCount parameter to FileGlobals.StepCount.
5) Copy the Statement step named Clear Globals from the TestReport sequence in OnTheFlyReports.seq. Paste the step at the end of the TestReport sequence in your process model file.
Thanks.
-G-
-G-