core

## 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 measurement routine.

- 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 (for information, see "Defining a Rule 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 (for information see "The Object Bar").

- 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:

The following is best viewed when in full screen.

A - Measurement Routine Executes a Command

B - Data from Command Goes to Report Template

C - Command Defined in Rule Tree Editor (RTE)?

D - Nothing Happens

E - RTE Calls Label Template or Text Display

E1 - Label

E2 - Text

F - Textual Message Displayed Instead of a Label Template Call

G - Label Template Formats and Displays Passed Data

H - Report Window Displays Information for Command

I - More Commands to Execute?

J - End