## Report Generation Sequence

This topic describes the process by which the report objects in report templates are bound to measurement data and drawn in the Report window during the report generation process.

- PC-DMIS executes each command from the part program.

- Information from each command goes to the report template for possible processing.

- Report objects on the report template are queried, and if the command from which the information came is defined in the Rule Tree Editor to call a label template, then that label template is called. If not, the information will not be displayed in the final report.

- Data is sent to any called label templates to be formatted and displayed according to how the GridControlObject and other reporting objects in the label template are defined.

- The report template finally displays the called label templates with their formatted data and displays its own information and any static elements in the Report window.

Consider this Diagram:

Part Program Executes a Command

Data from Command Goes to Report Template

Command Defined in Rule Tree Editor (RTE)?

RTE Calls Label Template or Text Display

Label Template Formats and Displays Passed Data

Nothing Happens

Textual Message Displayed Instead of a Label Template Call

Report Window Displays Information for Command

More Commands to Execute?

END

Yes

No

Text

Label