09-26-2006 02:42 AM
09-26-2006 03:55 AM
Hi,
Is this in the Operator Interface display, In SeqEditor, or the Test Result file?
Regards
Ray Farmer
09-26-2006 04:32 AM
09-26-2006 05:01 AM
Hi,
You maybe able to do the change by using the Callback Sequence ModifyReportEntry in your sequencefile.
In this sequence you should be able to change the generated string for the order you require.
Otherwise, you will have to modify the actual report sequencefile "reportgen_<txt | html>.seq"
If you are using the XML report format, then you should beable to modify the style sheet for the NumericLimitTest type.
What report format are you using and what version of TestStand?
Regards
Ray Farmer
09-26-2006 06:07 AM
hi,
I am using TestStand3.1 and the report file i am generating is .txt format.
Regards,
Radha R
09-27-2006 02:46 AM
09-27-2006 02:58 AM
Hi,
are you using on the fly reporting?
regards
Ray Farmer
09-27-2006 03:06 AM
09-27-2006 03:23 PM
09-27-2006 03:52 PM
Hi,
In the SequenceFile Reportgen_txt.seq is the sequence ProcessOTFStepResult is two steps
Get Step Result Body (DLL) and Get Step Result Body (Sequence).
You call one or the other depending on your ReportOptions settings.
If you have the setting of DLL then making changes is a bit more envolved. Therefore set the setting to Sequence.
So now you would call the Sequence PutOneResultInReport.
The point at which the Measurement, Upper Limit, Lower Limit is obtained is at the step 'Add Flagged Values' but unfortunately its a DLL call which returns the formated text which is stored in Locals.ReportEntry.
So you have a couple of choices, 1) modify the DLL function, of which the source is supplied, 2) Modify the text in Locals.ReportEntry. There is another but I am going to suggest it.
Either way you will need to modify the text before added too it and before you get to the step 'Append Report Text'.
There is another way which is really 2) only at a different point in the sequence. You will notice the step before the Append Report Text is a SequenceCall step called 'Call ModifyReportEntry Callback'.
This step allows you to make changes to the Report entry before it goes to the actual report. As this is a Callback, you can add this Sequence to your SequenceFile, which means you dont actual have to change the ProcessModel, any dll's or the ReportGen_.seq file. This sequence has the variable Parameters.ReportEntry, which is your steps result. You can re format your result text , put it back it to Parameters.ReportEntry before the sequence returns.
Hope this helps.
Regards
Ray Farmer