core

## Embedding Reports or Templates into a Measurement Routine

You can embed these reports into your measurement routine:

- Legacy report (HyperView report)

- Report template

- Custom report

- Label template

When PC-DMIS executes the embedded code, it launches the report or template. You can then print it, view it, and pass values to and from the embedded item.

Legacy reports are older reports that use the HyperView report editor. PC-DMIS versions 3.0, 3.2, 3.25, 3.5, or 3.7 used this editor. For information on these reports, see "Working with Legacy (HyperView) Reports".

To embed a report or template:

1. Make sure the Edit window is in Command Mode.

2. Select Insert | Report Command, and then choose one of these menu items.

- Custom Report

- Template Report

- Legacy Report

- Report Label

A dialog box appears allowing you to select your report or template.

3. Select the report or template you want to embed in the Measurement Routine.

4. Click the Open button to insert the command.

PC-DMIS inserts one of the following commands into the Edit window at the cursor position:

- REPORT/CUSTOM

- REPORT/TEMPLATE

- REPORT/LEGACY

- REPORT/LABEL

More:

The REPORT Command

Using the PARAM command to Map PC-DMIS Expressions to Object Properties