You are on page 1of 176

SIEMENS

Teamcenter 12.0

Dimensional
Planning and
Validation
Administration
PLM00151 • 12.0
Contents

About the Dimensional Planning and Validation solution . . . . . . . . . . . . . . . . . . . . . . . . 1-1

What is the Dimensional Planning and Validation solution? . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1


Understanding the analysis of measurement data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2
DPV components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2
Flow of data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-4
What role and tasks do I perform in DPV? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-6

Defining quality inspection process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-1

Understanding the process of defining quality data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-1


Basic elements of the inspection plan definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-1
Understanding a bill of resource . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-2
Understanding a process structure (bill of process) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-3
Relationship between a bill of resource and a plant process structure . . . . . . . . . . . . . . . . 2-4
Understanding plant process structures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-5
Example of a process structure with an associated product . . . . . . . . . . . . . . . . . . . . . . . 2-6
What is attached to an inspection device and measurement routine? . . . . . . . . . . . . . . . . 2-6
Managing the inspection quality process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-7
About managing the inspection quality process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-7
Define an organizational structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-8
Create a collaboration context object . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-8
Creating templates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-8
Tips for managing forms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-12
Defining measurement data collection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-17
About defining measurement data collection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-17
Defining bill of resource . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-17
Duplicate data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-20
Specifying the transfer of information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-20
Defining parsing scripts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-23
Working with DML data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-50
Defining engineering data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-55
About defining engineering data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-55
Defining a plant process structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-55
Defining a measurement routine . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-61
Associate a product, plant, and bill of process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-131
Syncing inspection definition process with DPV ETL . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-131
About syncing to DPV ETL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-131
Export the measurement routine to DPV ETL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-132
Export the inspection device to DPV ETL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-134
Export the plant to DPV ETL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-134
Managing AI objects created during export . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-135

Administering measurement database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-1

PLM00151 12.0 Dimensional Planning and Validation Administration 3


Contents
Contents

Administering the measurement database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-1


Set the selection criteria . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-1
Archive the data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-3
Purge the data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-4
Restore data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-5

Using DPV measurements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-1


Getting started . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-1
About DPV Measurements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-1
Before you begin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-2
DPV Measurements interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-2
Configure DPV Measurements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-3
View measurement data events . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-3
Change the activation state of measurement data events . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-5

Quality data preferences . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-1

Glossary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-1

4 Dimensional Planning and Validation Administration PLM00151 12.0


Chapter 1: About the Dimensional Planning and
Validation solution

What is the Dimensional Planning and Validation solution?


Siemens PLM Software provides Tecnomatix Dimensional Planning and Validation (DPV), a quality
management solution you can easily integrate into your Teamcenter environment. DPV enables the
extended enterprise to collect, manage, dimensionally analyze, and report on quality measurement
information. It provides rapid access to design and manufacturing information that directly influences
your enterprise’s quality targets.

DPV provides you with:


• Enterprise-wide visibility to quality information.

• An integrated definition of your measurement process coordinated with product design,


manufacturing planning, and plant layout.

• In-depth analysis of captured measurement information.

• Associative reporting, with initial and updated reports.

• Historical and summary measurement reporting.

DPV is a scalable solution with three configurations:


• Core

PLM00151 12.0 Dimensional Planning and Validation Administration 1-1


Chapter
Chapter 1: 1: About
About the Dimensional
the Dimensional Planning
Planning and Validation
and Validation solution
solution

Provides the foundation of DPV, which is the collection and storage of quality data and the
interactive 3-D reporting and analysis of that data.

• Site
Provides DPV Core capabilities, plus provides Web-based reporting and monitoring of quality
data.

• Enterprise
Provides DPV Site capabilities, plus provides summarized historical reports, and enables the
entire enterprise to identify, analyze, and share quality data through a Web-based collaboration
environment.

DPV components

Understanding the analysis of measurement data


Once inspection devices (such as, vision, coordinate measurement machine (CMM), and handheld)
measure the manufacturing process, they place the data in pre-defined folders (), DPV Extraction,
Translation, and Loading (DPV ETL) moves the data from these locations to the Teamcenter database
for storage, management, and global access. This is a triggered event that takes place when new
data files are available. DPV ETL loads data into the database in real time.
The tasks include:

• Validating data.

• Checking for duplicate data.

Here is an illustration of the flow of data through DPV ETL:

DPV components
The Dimensional Planning and Validation (DPV) solution consists of the following key components:

1-2 Dimensional Planning and Validation Administration PLM00151 12.0


About the Dimensional Planning and Validation solution

Core

The foundation of DPV provides the collection and storage of quality data and the interactive 3-D
reporting and analysis of that data. It includes the following components:

• Database collection and management

o Physical inspection devices at the shop floor capture and store real-time quality data.
Typically, these inspection devices include laser gap analysis, coordinate measuring
machines (CMM), optical and digital measurement devices, hand-held devices, and any
number of physical inspection systems.

o DPV Extraction, Translation, and Loading (DPV ETL) provides real-time data loading, storing,
and monitoring of the quality data obtained from the inspection devices. An administrator
uses DPV Enterprise Configuration Explorer to configure the tasks that DPV ETL performs.

o Teamcenter provides the database definition and management of the quality data captured,
including DPV Measurements that lets you view measurement events.

• Interactive 3-D reporting and analysis

o DPV Reporting & Analysis provides root-cause analysis.

o Visualization Illustration lets you create templates for graphical reports of quality data and its
analysis.

PLM00151 12.0 Dimensional Planning and Validation Administration 1-3


Chapter
Chapter 1: 1: About
About the Dimensional
the Dimensional Planning
Planning and Validation
and Validation solution
solution

Site

The Site configuration provides the added dimensions of the Web-based reporting and monitoring of
quality data and includes the following components.
• Web-based reporting
o DPV Viewer provides access to reports.

o Microsoft SQL Server Reporting Services (SSRS) manages the publication of data and
reports.

o Siemens PLM Software Visualization Automation Server updates the DPV Reporting &
Analysis charts in the graphical reports using the latest measurement data and publishing
them to the DPV Web site.

• Monitoring the quality data collection


o DPV ETL Dashboard monitors the quality data collection.

o DPV Error Viewer displays the status of DPV tasks.

o DPV Quality Data Monitor provides real-time viewing and loading of quality data.

Enterprise

The Enterprise configuration provides the added dimensions of summarized historical reports and
the ability of the entire enterprise to identify, analyze, and share quality data through a Web-based
collaboration environment:
• DPV Microsoft SQL Analysis Server (DPV-SSAS) provides historical reporting.

• Teamcenter community collaboration provides the viewing of reports and collaboration across
your enterprise.

Flow of data
The flow of quality data through Dimensional Planning and Validation (DPV) is shown.

1-4 Dimensional Planning and Validation Administration PLM00151 12.0


About the Dimensional Planning and Validation solution

• The inspection devices (such as, vision systems, coordinate measurement machines (CMM), and
handheld devices) on the shop floor collect quality data referred to as measurement data. The
data can be in ASCII or Document Markup Language (DML). They send the data to the DPV
Extraction, Translation, and Loading (DPV ETL).

• DPV ETL translates the data into a standard data loading format and stores the data in its
database for analysis and backup. It then sends the collected data to the Teamcenter database
for storage. An administrator uses the DPV Enterprise Configuration Explorer to configure the
tasks performed and the DPV Web-based monitoring tools to monitor the tasks.

• Teamcenter makes the measurement available to other DPV components for analysis and
reporting.
o DPV Reporting & Analysis to query for the data in Teamcenter and visualize and analyze
the data to help identify and resolve issues. DPV Reporting & Analysis provides you with a
wide range of reports and features to analyze the data, including charts, advanced filtering
of data, and mathematical data transformations. In addition, you can export the data for
analysis in Variation Analysis.

PLM00151 12.0 Dimensional Planning and Validation Administration 1-5


Chapter
Chapter 1: 1: About
About the Dimensional
the Dimensional Planning
Planning and Validation
and Validation solution
solution

o Visualization Illustration to create templates of graphical reports and administer the creation
and publication of reports using Microsoft SSRS. In an Enterprise environment, historical
summary reports are also managed in the DPV-SSAS cube.

o The Visualization Automation Server updates the DPV Reporting & Analysis charts in
templates using the latest measurement data and publishes them to the Web.

o In an Enterprise environment, Teamcenter makes the measurement data available through


Teamcenter community collaboration so you can view reports of the data to get an overall
perspective of the data. You can schedule reports and set triggers for their creation.

What role and tasks do I perform in DPV?


Each task you perform in DPV may be performed in a different product or interface. This
documentation explains only those administrative tasks performed in Teamcenter as shown in the
figures. For information about performing tasks in other products, see the DPV documentation
collection installed with DPV.

1-6 Dimensional Planning and Validation Administration PLM00151 12.0


Chapter 2: Defining quality inspection process

Understanding the process of defining quality data

Basic elements of the inspection plan definition


Two basic Teamcenter elements define the inspection plan definition. They are designed in
Manufacturing Process Planner.
• A Glossarybill of resource to store information about the inspection devices, remote transfer
agents, and scripts that parse and manage the measurement data.

• A bill of process that defines the engineering data. A bill of process is a hierarchical structure
that represents the measurement or inspection process within a given plant. The structure
defines the locations where the measurement routines are executed throughout the plant. The
MEPrPlantProcess process is its root.

A measurement routine defines the actual elements that are measured. These elements are grouped
together as a single operation (the routine) within the process.

PLM00151 12.0 Dimensional Planning and Validation Administration 2-1


Chapter
Chapter 2: 2: Defining
Defining quality
quality inspection
inspection process
process

Understanding a bill of resource


You store information about the inspection devices, remote transfer agents, and parsing scripts in a
bill of resource in Teamcenter. The bill of resource lets you see the actual resources that are used to
measure a routine. Each device in the bill of resource refers to an actual inspection device. In the
figure, they are labeled CMM1, CMM2, and Vision 1. Each device has a translator and a path to
the directory where the device stores the measurement results.

2-2 Dimensional Planning and Validation Administration PLM00151 12.0


Defining quality inspection process

The top level of the bill of resource is a plant of the type of MEPrPlant. You can then have
stations below it of the type MEPrStation. Inspection devices are modeled using items of the type
InspectionDevice.

Relationship between a bill of resource and a product structure

Understanding a process structure (bill of process)

When defining engineering data, you create a process structure (bill of process) using Manufacturing
Process Planner. The bill of process contains the measurement routines and products. The
measurement routines are operations within the plant. Each routine has a set of features to be
measured and associated data, such as nominal coordinates, vectors, and tolerances.

The following example shows a bill of process with a measurement routine, Meas Rout 100, which
has the products P1 and P2 assigned to it.

Before you can begin, you must have defined the product and plant process.

PLM00151 12.0 Dimensional Planning and Validation Administration 2-3


Chapter
Chapter 2: 2: Defining
Defining quality
quality inspection
inspection process
process

Note
This help does not cover creating a product. You should follow the instructions in the
Manufacturing Process Planner to create them.

Relationship between a bill of resource and a plant process structure


The bill of resource defines the items on the plant floor, while the plant process structure (bill of
process) defines what is happening on the plant floor. You associate the bill of resource to the plant
process structure using the Manufacturing Process Planner allocation methodology.
You assign measurement resources from the plant to the process. The same resource occurrence
can be assigned to multiple processes.

The MEPrPlantProcess in the bill of process must have the same name as the MEPrPlant in the bill
of resource. The inspection device must have a parent item (MEWorkareas). The following shows
two related bill of resource and bill of process.

2-4 Dimensional Planning and Validation Administration PLM00151 12.0


Defining quality inspection process

Understanding plant process structures


Create a complete process structure (bill of process) before you can define a measurement routine.
The top level of the process structure is a plant with a type of MEPrPlantProcess. Optionally, it
can have a structure underneath it of:
• Assembly line
o Zone within the assembly line
■ Station within the zone

Here is an example with plants and zones:

PLM00151 12.0 Dimensional Planning and Validation Administration 2-5


Chapter
Chapter 2: 2: Defining
Defining quality
quality inspection
inspection process
process

Note
Users use the plant information you define here to query for the appropriate measurement
data in Teamcenter lifecycle visualization.

After creating the plant process, attach forms to specify its location, shift start times, and how
frequently you are notified of errors.

Note
For detailed instructions on creating a process structure and form, see the Manufacturing
Process Planner.

Example of a process structure with an associated product


The following is an example of a process structure with a measurement routine, Meas Rout 100,
which has the products P1 and P2 assigned to it.

What is attached to an inspection device and measurement routine?


Inspection device
The following elements are attached to an inspection device to define it:
• Parsing scripts that translate the measurement data from the device.

• Forms, such as those specifying parsing script parameters and the location of the remote
transfer agents.

• Standard View folder and revision master forms.

The following is an example of data attached to an inspection device.

2-6 Dimensional Planning and Validation Administration PLM00151 12.0


Defining quality inspection process

Measurement routine
The following elements are attached to a measurement routine to define it:
• Forms, such as those defining the error notification.

• Feature data.

The following is an example of data attached to an inspection device.

Managing the inspection quality process

About managing the inspection quality process


Many objects make up the definition of the inspection process, including:
• Bill of resource.

• Inspection devices.

• Process structure (bill of process).

To help you manage these objects:


• Define an organizational structure in My Teamcenter in which to store the objects.

• Create a collaboration context object to store the inspection objects and then use it to load all
objects into Manufacturing Process Planner at the same time.

PLM00151 12.0 Dimensional Planning and Validation Administration 2-7


Chapter
Chapter 2: 2: Defining
Defining quality
quality inspection
inspection process
process

• Create templates from which users can quickly create new routines and inspection devices.
Templates are generic placeholders. Users create the actual occurrences of these objects from
the templates.

Define an organizational structure


Before creating the bill of resource and process structure (bill of process), create folders in which to
store the devices, remote transfer agents, and scripts you create. This is for organizational purposes
only and, is, therefore, optional.
1. In My Teamcenter, create a new folder (File→New→Folder) and name it for your project.

2. Create subfolders within the new folder for storing objects. For example, create BOR, BOP,
Devices, and Context.

Create a collaboration context object


After you have created and associated all the inspection definition objects, create a collaboration
context object to hold the collection. You can then send the entire collaboration context object to
the Manufacturing Process Planner.
1. In Manufacturing Process Planner, select the product associated with the inspection definition,
and choose File→Save As New Collaboration Context.

2. Enter a name and optional description for the object.

3. Click Save.
You receive a message that the collaboration context object has been saved to your Newstuff
folder in My Teamcenter.

4. Click OK.
The collaboration context object appears in your Newstuff folder in My Teamcenter.

5. Copy the collaboration context object to the Context subfolder you created in your project folder.

Note
To send the collaboration context object to Manufacturing Process Planner, right-click it
and choose Send to→Manufacturing Process Planner.

Creating templates

About templates

Administrators create templates from which users can quickly create new routines and inspection
devices. Templates are generic placeholders. Users create the actual occurrences of these objects
from the templates.

2-8 Dimensional Planning and Validation Administration PLM00151 12.0


Defining quality inspection process

Tip
To check the templates, associate them with a routine and send the device or routine to
DPV ETL.

Templates are helpful for users creating multiple routines. You do not need to create them, however,
if you are only creating a single routine. You can simple follow the instructions to create an inspection
device or measurement routine and not create a template from it.

Creating an inspection device template

About creating an inspection device template


An inspection device represents an actual inspection device on the factory floor monitoring the
manufacturing process.
Creating a template for an inspection device consists of:
• Creating an inspection device.

• Creating the forms that define the inspection device, such as specifying parsing script parameters
and the location of the remote transfer agents.

Create an inspection device


1. In My Teamcenter, choose File→New→Item.

2. From the list, select Dimensional Planning And Validation Inspection Device.

3. Click Next.

4. Click Assign to fill in the Item ID and Revision ID boxes.

5. Type in a name for the template, such as Inspection device template.

6. (Optional) Enter a description to help a user identify the template.

7. Click Finish.

Create forms associated with the inspection device


1. In My Teamcenter, select the inspection device revision.

Note
Click the plus sign (+) next to the inspection device to view the revision.

2. Create the following forms selecting Apply between each creation so you can continue making
them:
• Dimensional Planning And Validation Device Location

PLM00151 12.0 Dimensional Planning and Validation Administration 2-9


Chapter
Chapter 2: 2: Defining
Defining quality
quality inspection
inspection process
process

• Dimensional Planning And Validation Measurement Device Definition

• Dimensional Planning And Validation Measurement Parse Parameter

3. Click OK.

4. Check out and edit each form to enter any default information in the fields to assist the user in
defining an inspection device. Click a form name listed in step 2 to learn about its fields.

Creating a measurement routine template

About creating a measurement routine template


Create a measurement routine template for each type of inspection device. Creating a template
consists of:
• Create a measurement routine.

• Create the forms that define the measurement routine, such as specify error notification.

Create a measurement routine


1. In Manufacturing Process Planner, click Create New Operation .

Note
You can also choose File→New→Operation.

2. In the New Operation dialog box, from the Operation Type list, select one of the following:

If the inspection device being used is a Select this operation type


Vision station Manufacturing Engineering Visual
Inspection
Coordinate measuring machine (CMM) Manufacturing Engineering Coordinate
Measuring Machine Inspection
Handheld measurement device Manufacturing Engineering Handheld
Inspection
Any type of device Manufacturing Engineering Inspection

Note
There can be other user-defined types of Manufacturing Engineering Inspection for
other types of inspection devices.

3. Click Next.

4. Click Assign to fill in the Operation ID and Revision ID boxes.

5. Type in a name for the template, such as Measurement routine template.

2-10 Dimensional Planning and Validation Administration PLM00151 12.0


Defining quality inspection process

6. (Optional) Enter a description to help a user identify the template.

Create forms associated with the measurement routine

1. In Manufacturing Process Planner, right-click the measurement routine template and choose
Open with→Attachments as shown.

The Attachment view appears beside the measurement routine, as shown.

2. In the Attachments view, select the measurement routine (the top line).

Note
You must select the root process (top line) in the data pane to create a form.

3. Create the following forms, as necessary, selecting Apply between each creation so you can
continue making them:
• Dimensional Planning And Validation Error Notification

• Dimensional Planning And Validation Export To Regions

• Dimensional Planning And Validation Measurement Context

• Dimensional Planning And Validation Routine Information

• Dimensional Planning And Validation Trigger Configuration

4. Click OK.

5. Check out and edit each form to enter any default information in the fields to assist the user in
defining a measurement routine. Click a form name listed in step 3 to learn about its fields.

PLM00151 12.0 Dimensional Planning and Validation Administration 2-11


Chapter
Chapter 2: 2: Defining
Defining quality
quality inspection
inspection process
process

Dimensional Planning And Validation Export To Regions

Type the region number and any customer-defined values or select from a list of values.

Tip
Type North America or South America, and so on.

Tips for managing forms

Create a form

For detailed instructions, see the Manufacturing Process Planner.


1. Choose File→New→Form.

2. In the New Form dialog box, click the form type you want to attach.

3. Assign a name and description to the object.

4. Select the Open on Create check box to edit the form options.

5. Click OK.

View your forms in the Attachments view

The Attachments view allows you to see the forms attached to an item revision, view and edit the
forms, add new forms, and remove forms from an item revision.
This view is available from nearly every Teamcenter rich client application, including My Teamcenter,
Manufacturing Process Planner, and Part Planner.
1. In a rich client application, such as Manufacturing Process Planner, right-click the revision of the
item, for example a routine, and choose Open with→Attachments as shown.

The Attachments view appears beside the measurement routine.

2-12 Dimensional Planning and Validation Administration PLM00151 12.0


Defining quality inspection process

2. (Optional) Drag the Attachments view to the left to display it in the entire width of the Teamcenter
interface.

Edit your form

1. View your forms in the Attachments view.

2. In the Attachments view, double-click a form.


The form appears, as shown for the Dimensional Planning And Validation Error Notification
form.

3. Click Check-Out and Edit.

4. In the Check-out dialog box, click Yes.


The buttons along the bottom of the form change.

PLM00151 12.0 Dimensional Planning and Validation Administration 2-13


Chapter
Chapter 2: 2: Defining
Defining quality
quality inspection
inspection process
process

5. Edit the form and when you are finished, click Save and Check-In.

6. In the Check-In dialog box, click Yes.

View and work with all your forms

You can open all your forms in separate Viewers to compare them or to work with them at the same
time.
1. View your forms in the Attachments view.

2. In the Attachments view, right-click a form, and choose Open with→Viewer, as shown.

A Viewer appears on the right containing the form.

2-14 Dimensional Planning and Validation Administration PLM00151 12.0


Defining quality inspection process

3. Freeze the Viewer so it only shows the content for this form even if you select another by clicking
the Disable response to selections tool.

4. Continue creating Viewers for each form and freezing the content.
The result is a collection of Viewer tabs in the right pane, similar to shown.

5. Click between Viewers to edit each form or drag the Viewers so they are stacked horizontally and
you can view all the forms at once, as shown.

PLM00151 12.0 Dimensional Planning and Validation Administration 2-15


Chapter
Chapter 2: 2: Defining
Defining quality
quality inspection
inspection process
process

List of forms used

The following tables list all the forms used to define components. Use them to make sure that you
have created or edited all the necessary forms.
Forms for bill of process

Is attached to
The form
Plant Routine
The default form of the object

Dimensional Planning And


Validation Location
Dimensional Planning And
Validation Shift Time
Dimensional Planning And
Validation Error Notification
Dimensional Planning And
Validation Export To Regions
Dimensional Planning And
Validation Measurement
Context
Dimensional Planning
And Validation Routine
Information

2-16 Dimensional Planning and Validation Administration PLM00151 12.0


Defining quality inspection process

Is attached to
The form
Plant Routine
Dimensional Planning
And Validation Trigger
Configuration

Forms for bill of resource

Is attached to
The form
Inspection device (copy in context)
Dimensional Planning And Validation Device
Location
Dimensional Planning And Validation
Measurement Device Definition
Dimensional Planning And Validation
Measurement Context
Dimensional Planning And Validation
Measurement Parse Parameter

Defining measurement data collection


About defining measurement data collection
Defining how measurement data is collected consists of the following:
• Defining a bill of resource.

• Specifying the transfer of information.

• Defining scripts.

• Working with measurement data in DML format.

Defining bill of resource

About defining a bill of resource


Working with a bill of resource involves:
• Creating a plant structure.

• Defining an inspection device from a template.

For an introduction to defining a bill of resource, see the Dimensional Planning and Validation tutorial.

Create a plant structure


1. In Manufacturing Process Planner, choose File→New→Workarea.

PLM00151 12.0 Dimensional Planning and Validation Administration 2-17


Chapter
Chapter 2: 2: Defining
Defining quality
quality inspection
inspection process
process

2. Choose MEPrPlant.

3. Click Next.

4. Click Assign to automatically fill in the ID and Revision boxes.

5. Type in a name for the new plant.

Note
• To facilitate measurement data loading, the plant name specified in the bill of
resource must match the plant name in the measurement files.

• The plant name cannot exceed 30 characters or the Application Interface (AI)
objects exported for that plant will not be downloaded to DPV ETL.

6. Click Finish.
The Plant tab appears, as shown.

7. Select the top level in the structure (MEPrPlant) and repeat the workarea creation process to
create the line (MEPrLine) and the station (MEPrStation).

8. (Optional) In My Teamcenter, verify that the bill of resource has been created, and copy and paste
the bill of resource from the Newstuff folder into a designated project folder.

Note
Copy and paste the plant level item into the project folder; the structure beneath it
comes along.

Define an inspection device from a template


Each device instance corresponds to an actual inspection device in a plant.

Note
• When you create the inspection device from a template, Teamcenter creates all the
necessary forms you need to define the device. You will edit the forms.

• If you do not have a template, create the inspection device as instructed in Create
inspection device and do not call it a template. Then, create all the necessary forms
listed in Create forms associated with the inspection device.

2-18 Dimensional Planning and Validation Administration PLM00151 12.0


Defining quality inspection process

1. In Manufacturing Process Planner, choose File→New→From Template→Item from Template.

2. Click the Choose Template tab, type the name of the template in the Template ID box, and
select Use Template. Alternatively, you can search or browse for the template you require.

Tip
• Click Add to Favorites to save the template to a favorites palette so it can be
quickly accessed and used.

• To search for a template:


a. Click the Choose Template tab.

b. Next to the Template ID box, click Find the Template by Name .

c. In the Find Template by Name dialog box, type the search criteria including
wildcards, such as *template*.

d. Click Find.
The templates that match the criteria appear in the dialog box.

e. Select the desired template.

3. Click the Configuration tab and choose the cloning rule Cloning. If required, you can also
change the revision rule on this tab.

4. Change the name of the device (for example, Perceptron, PCDMIS, or Zeiss).

Note
All other values (ID, revision, type, description) are automatically set for you.

5. Click OK.
A new tab appears listing the inspection device.

PLM00151 12.0 Dimensional Planning and Validation Administration 2-19


Chapter
Chapter 2: 2: Defining
Defining quality
quality inspection
inspection process
process

6. Copy the inspection device to your bill of resource:


a. Select the inspection device, and choose Edit→Copy.

b. Select the bill of resource tab and select the location for the inspection device.

c. Choose Edit→Paste.

7. Right-click the inspection device and choose Open with→Attachments.

8. In the Attachments view, view the forms created for the inspection device, similar to the figure
shown.

9. Check out and edit the forms following the instructions in Specifying the transfer of information.

10. Click Save and Check-In.

Duplicate data
Duplicate data occurs when there are communication failures and the inspection devices do not
know that the data was already collected. Duplicated data will have the same routine ID and job
serial number. DPV ETL marks the data as being a duplicate and then adds the latest data as the
final data. The data appears in the log file as:

Measurement Event Type = D

Example
For example, vision stations can lose the connection to the machine that provides them with
their job serial numbers so they process the data as the same number again and again.

Specifying the transfer of information

About specifying the transfer of information


Remote transfer agents send the data files that the inspection devices produce to the regional
computers running DPV ETL, which then send the data to the parsing scripts to be translated. The
parsing scripts translate the data into a common XML format (DML) and send it to the DPV ETL
databases for storage in the passed or failed folders. Remote transfer agents track statistics on
the transfer of data and store errors in a file.

2-20 Dimensional Planning and Validation Administration PLM00151 12.0


Defining quality inspection process

A remote transfer agent runs on each inspection device computer. A plant can have multiple
inspection device computers. Each inspection device computer can collect data for one or more
inspection devices.
For information on installing the remote transfer agents, see Installing the Dimensional Planning and
Validation solution in the DPV help collection.
• Set the transfer of information

• Set the end-of-routine flag

Set the transfer of information

Define where the remote transfer agent and the directory where the data files are located.
1. In the Attachments view, select the inspection device.

Note
You must select the inspection device in the Attachments view to create a form.

2. Check out and edit the form of the type Dimensional Planning And Validation Device Location.

3. Enter the following:

PLM00151 12.0 Dimensional Planning and Validation Administration 2-21


Chapter
Chapter 2: 2: Defining
Defining quality
quality inspection
inspection process
process

Use this option To do this


location_name Identify the inspection device computer where
the remote transfer agent runs. Provide a
unique name for each computer. This could be
the computer name or IP address if they are
unique across the entire network. If not unique,
use another unique naming convention.
data_directory Identify the full path to the data files on the
inspection device.
alive_test_interval_min Specify the interval at which you expect the
inspection device to report. Enter an integer.

4. Click Check-In.

List of forms used


Tips for managing forms

Set the end-of-routine flag


The end-of-routine flag defines the character (letter or symbol) that indicates that a routine is complete.

Note
The end-of-routine flag cannot be set to a character that is present in the routine name.

1. In the Attachments view, select the inspection device.

Note
You must select the inspection device in the Attachments view to create a form.

2. Check out and edit the form of the type Dimensional Planning And Validation Measurement
Device Definition.

3. Enter the following:

Use this option To do this


end_of_routine_flag Identify the character that represents the end
of the routine.

Example
If the data file name is UBVIS_380ES_193176.cdi and the end-of-routine flag is
“_”, the routine name is computed from the data file as UBVIS (that is, until the first
occurrence of “_”). Specify this same name in the shopfloor_name box in the
Dimensional Planning And Validation Routine Information form.

2-22 Dimensional Planning and Validation Administration PLM00151 12.0


Defining quality inspection process

4. Click Check-In.

List of forms used


Tips for managing forms

Defining parsing scripts

Understanding parsing scripts

Parsing scripts translate data from many types of inspection devices. The data can be in either ASCII
or Document Markup Language (DML) format. All code that is common to the scripts is stored in
common scripts that are called from the parsing scripts. DPV provides standard scripts.
You can create custom device-specific scripts (for example, to accommodate local configuration
differences, such as language). These device-specific scripts should allow for the processing of input
data files from multiple routines. You can also use script parameters to define custom information.
Defining parsing scripts involves:

• Working with the common code scripts.

• Working with script parameters.

• Attaching custom scripts to the inspection device.

Listing of standard scripts.

Working with common code scripts

About common code scripts

All code that is common to all parsing scripts is stored in a common script, which is much like
a sub-routine. Any change to the common code propagates to all scripts that call the common
code script. You can manage a common script in Teamcenter and export it to multiple DPV ETL
installations.
The common code script is a Visual Basic class and contains methods or actions that can be
performed that apply to all the plants in your DPV installation. The standard scripts use the methods
for basic functions, such as extracting the script parameters, writing the error log file, and so on.
Using the Script Debug Utility provided, you can customize these methods, as well as add your own,
such as defining a method for trace code mapping and adding specific common code. You can also
modify the corresponding parsing scripts to call this common code. You can then pass parameters
to the customized script and extend the common script to create individual error log files for each
failed measurement data file. You debug the common script using the Script Debug Utility workspace,
without needing to access DPV. Customizing the common script requires Visual Basic .NET and
Visual Studio (IDE) knowledge.
In the DPV ETL configuration, the common script is stored in the CommonScript folder under
the xmlcfg folder.

PLM00151 12.0 Dimensional Planning and Validation Administration 2-23


Chapter
Chapter 2: 2: Defining
Defining quality
quality inspection
inspection process
process

Note
• During the DPV ETL installation process, the default common script is automatically
copied to the Commonscript folder only if it does not exist. If the common script
already exists, it is not overwritten.

• You can view information about the common script being used by a DPV ETL
installation (item ID, revision, and date/time of the common device script) through the
DPV ETL Error Viewer.
For more information, see Viewing DPV ETL Status in the DPV help collection.

Routines in the common code script

The following routines, which are used in the standard parsing scripts, can be customized in the
common script. You can also add your own routines.

The routine Does the following


Public Sub CollectScriptParams() Collects script parameter values and stores them
in corresponding variables within the common
script.
Public Sub SetDefault() Sets default values for parameters specific to
the common script. The script sets the default
values defined in this function. If any value is
present as script parameters in the configuration
file, the value in the configuration file overwrites
the default value that this function sets.
Public Function skipDataLine(ByVal Accepts an array of strings and skips any data
strKeyArray() As String, ByVal intStartIndex file line that starts with or contains any of the
As Integer, ByVal strFlowType As String, strings in the array. It can skip forward or
Optional ByVal intSearchType As Integer = backward, and look for lines that StartWith or
0) As Integer Contains any of the strings in the array. By
default, it checks using StartsWith.
Public Sub logError(ByVal errorCode As Accepts an error code from the user and adds
Integer) the errorcode and relevant error message to
the arrayList, which contains the list of errors
encountered in this data file. The error codes
and respective error messages are already
stored in a hashmap, which this method uses to
retrieve the required error message based on
the code sent by the user.
This routine can be called any number of times
within the script wherever the user wants to log a
message.

2-24 Dimensional Planning and Validation Administration PLM00151 12.0


Defining quality inspection process

The routine Does the following


Public Sub RecordErrors() Creates an error text file in the errorfiles
folder under the device. It writes all the error
messages in the arrayList used in the Public
Sub logError(ByVal errorCode As Integer)
method to this text file.
This routine should be called only once and only
if the measurement data file fails just before
exiting the parsing script.

Adding error messages to a common code script

About adding error messages to a common code script

You can add error messages to a common code parsing script by adding new entries to the
htErrorLog hash table in the common script using the initErrorLogger() method. You can then raise
the errors using pre-defined error codes (in the hashtable) or have the system construct the error
messages based on arguments that are passed in.

Define custom error messaging

The following steps describe how to add and test new error messages through the common script.
1. Add new error messages to the following method in the common script:

This method initializes the error logger and adds the error codes with corresponding error
messages to the error log hashtable htErrorLog. The following are two examples of how to
add new error messages to this method. Example 1 is a simple error message of string type,
while Example 2 uses place holders for variables. The variables receive values from the device
parsing script.
Example 1

Example 2

2. Call this code from the correct place in the device parsing script. The message is then written to
the error text file through the logError method of the common script. Modify the device parsing
script as follows to log the new error:

PLM00151 12.0 Dimensional Planning and Validation Administration 2-25


Chapter
Chapter 2: 2: Defining
Defining quality
quality inspection
inspection process
process

Because the error messages are about not finding the routine name, log them through the
getRoutineName() method.

3. After modifying both the common script and the device parsing script, export them to DPV
Extraction, Translation, and Loading (ETL). Check for successful compilation of the scripts.

4. After successful compilation, process a measurement data file and check whether or not the new
error message is logged to the error text file.

Generating error messages from arguments


To generate error messages using arguments that are passed in, use the logError method within the
common script. It can receive any number of arguments to facilitate custom error messages.

In this example, Args () is a parameter array, and is a way to pass multiple (variable) numbers of
parameters to the same function. This method reads all the parameters passed and creates an error
message string by formatting them.

Example
Add the error message to the hashtable:
htErrorLog.Add(123456, “Attribute {0] is invalid for Feature {1}”)

Then, in the logError () function, format the string with the arguments passed in:
strErrorMessage = String.Format(strErrorMessage, strAttrName, strFtrName)

Example of error logging in the common code script


The following code snippet shows an example of the error logging routine described in the last
two entries in Routines in the common code script. Note that file extensions are added to the file
name as appropriate.
Public Sub logError(ByVal errorCode As Integer)

Dim strErrorMessage as String


If htErrorLog.Contains(errorCode) Then
strErrorMessage = htErrorLog(errorCode).ToString()

2-26 Dimensional Planning and Validation Administration PLM00151 12.0


Defining quality inspection process

' Format your message using arguments as below


' strErrorMessage = String.Format(strErrorMessage, strAttrName, strFtrName)
alstErrorList.Add(errorCode + ":" + strErrorMessage) Else
alstErrorList.Add("Error Message not there for error code:" + errorCode)
' else format your own message
End If

End Sub

Public Sub RecordErrors()


Dim swLogWriter As StreamWriter = Nothing
Dim i As Integer

If (Directory.Exists(filePath + "\erorfiles") = False) Then


Directory.CreateDirectory(filePath + "\erorfiles")
End If
strFilePath = filePath + "\erorfiles\" + filename + "_err.txt"

swLogWriter = File.AppendText(strFilePath)

For i = 0 To alstErrorList.Count - 1

swLogWriter.WriteLine(alstErrorList(i))

Next i

swLogWriter.Close()

End Sub

PLM00151 12.0 Dimensional Planning and Validation Administration 2-27


Chapter
Chapter 2: 2: Defining
Defining quality
quality inspection
inspection process
process

Error messages for parser errors


The following describes the error messages that appear in the Issues list in the DPV ETL Dashboard
when you view issues with a measurement data file.
For more information, see Monitoring measurement data in the DPV help collection.

Note
For more information about:
• The Dimensional Planning And Validation Shift Time form, see Define the shift
times.

• The location of the attributes rules XML file, see Specify the location of the attribute
rules XML file.

• The attribute rules XML file, see Define the rules.

Parser Error Message Meaning and Cause


Routine configuration data for Routine: The routine configuration data is being used for
(Routine_Name) under plant: (Plant_Name) is the measurement data file processing and the
using for Data file processing updated routine configuration file arrives in the
%DPVETLENTAPP%\XMLCFG\DPVRoutine\
folder.
Device configuration data for Device: The device configuration data is being used
(Device_Name) under plant: (Plant_Name) is for measurement data file processing and the
using for Data file processing updated device configuration file arrives in the
%DPVETLENTAPP%\XMLCFG\DPVDevice\
folder.
Incomplete Device Configuration file - The alive_test_interval_min, location_name,
(File_Name) or data_directory value is not present in
the Dimensional Planning And Validation
Device Location form of the inspection device
configuration XML.
Learn about the Dimensional Planning And
Validation Device Location form.
Could not find script file – (Script_Path) for the The inspection device configuration
Device – (Device_Name) under the Plant – XML file is copied into the
(Plant_Name) %DPVETLENTAPP%\XMLCFG\DPVDevice\
folder but the corresponding script is not present
in that folder.
Compiled script for the Device : (Device_Name) The compiled script for any device under a plant
under plant: (Plant_Name) is using for Data file is being used for data file processing
processing and the updated inspection device
configuration and script files arrive (in the
%DPVETLENTAPP%\XMLCFG\DPVDevice\
folder).

2-28 Dimensional Planning and Validation Administration PLM00151 12.0


Defining quality inspection process

Parser Error Message Meaning and Cause


Compile failed with (Number_of_Error) errors Script compilation errors occur.
"Error endtime < starttime - dow=(Day_of_Week), The end time of any shift is less than the start
shift=(Shift_Number)" time of that shift in the shift definition form
(Dimensional Planning And Validation Shift
Time).
Error starttime of this shift < endtime of last shift The start time of any shift is less than the end
– dow=(Day_of_Week), shift=(Shift_Number) time of the previous shift in the shift definition
form (Dimensional Planning And Validation
Shift Time).
Error endtime of current day > starttime of next The shift end time of any day is greater than
day – dow=(Day_of_Week) the shift start time of the next day in the shift
definition form (Dimensional Planning And
Validation Shift Time).
The inspection device configuration data is not
Required Device configuration not present for
present when the measurement data file (for any
the device – (Device_Name)
device) is processed.
Either there is no data in the Data file or Parser The shift end time of any day is greater than
unable to access datafile – (File_Path) the shift start time of the next day in the shift
definition form (Dimensional Planning And
Validation Shift Time).
The compiled script is not present for a particular
Compiled script not present for the Device –
inspection device under a plant when the
(Device_Name) Under the plant – (Plant_Name)
measurement data file is processed.
Routine Name neither present in data file name The routine name value is not present either
nor in Contents of the data file – (File_Path) in the measurement data file name or in the
contents of the data files when the measurement
data file is processed.
Length of the Routine Name is more that 32 The length of the routine name or the spec doc
characters name value is more than 32 characters at the
time of data file processing.
Unable to start Thread for the Plant - " + strPlant The thread creation fails for a particular plant.
Each plant has a separate thread running for it to
process measurement data files under that plant.
The start new thread fails for measurement data
Unable to start Thread for Purge old data files
file purging.
File path for At “File path for Attribute Rules XML The path for the attributes rules XML is blank in
is empty. Exiting the DPVParser application... the Configuration Explorer.
Unable to read Attribute Rules XML from the path There is no attributes rules XML file present at
specified. Exiting the DPVParser application... the path specified in Configuration Explorer.
Unable to Read Parser Configuration data from The startupTask fails to read configuration
DPV ETL. Exiting the DPVParser application... information from DPV ETL.
Invalid Routine configuration XML file - + The read routine configuration file and collection
f.FullName of routine node details fail.

PLM00151 12.0 Dimensional Planning and Validation Administration 2-29


Chapter
Chapter 2: 2: Defining
Defining quality
quality inspection
inspection process
process

Parser Error Message Meaning and Cause


Invalid Plant configuration XML file - + f.FullName The read plant configuration file and the
collection of plant node details fail.
Invalid Device configuration XML file - + The read device configuration file and the
f.FullName collection of device node details fail.
Device ID not present in the Device configuration The device ID is not present in the inspection
XML file device configuration file. The device is invalid in
this case.
Device Name not present in the Device XML The device name is not present in the inspection
configuration file device configuration file. The device is invalid in
this case.
Ill-formed Attribute Rules XML file. Exiting the The loading of the attribute rules XML file to a
DPVParser application... XML document fails.
Incorrect Attribute XML file specified. Exiting the If there are no nodes starting with Rule (that is,
DPVParser application... there are no valid rules in the loaded XML file).
Length of the Attribute code -" + attributeCode + If the attribute code is more than five characters,
" in the rule node - " + node.OuterXml + " is more the rule object is not added to the array list and
that 5 characters. log error message.
Unsupported Condition specified in the rule node If the Condition attribute in the rule node is
- + node.OuterXml something other than EndsWith, StartsWith,
Contains, or Chars.
'Position' is mandatory for Condition 'Chars' in The Condition is Chars in a rule node but there
the rule node - + node.OuterXml is no Position attribute.
Condition attribute missing for rule node - + The Condition attribute is missing for a rule
node.OuterXml node.
Either Condition or conditionKey or attributeCode Either the Condition, conditionKey, or
is missing for rule node - + node.OuterXml attributeCode is missing for a rule node.
The data file (" + filePath + ") copied into wrong The measurement data file is copied to the
folder hierarchy incorrect folder location in the hierarchy.
Error in Compiled script for the Device - " The compiled script is present for a device, but is
+ strDeviceName + " Under the plant - " + equal to null.
strPlantName
Invalid data in 'Position' in rule with conditionKey- The Position attribute in any rule node contains
+ rule1.conditionKey non-integer data.
Chars in conditionKey not equal to the The length of conditionKey is not equal to the
position specified in rule with conditionKey- + difference of startPosition and endPosition of
rule1.conditionKey the Position value.
Script file - + strScriptPath + does not exists for Determines whether or not the inspection device
the Device - + strDevice + under the Device script file exists. If it does not exist, then writes
parent - + strDeviceParent + under the Plant - the message to the error log file.
+ strPlant

2-30 Dimensional Planning and Validation Administration PLM00151 12.0


Defining quality inspection process

Error messages for raw validation errors

The following describes the error messages that appear in the Issues list in the DPV ETL Dashboard
when you view issues with a measurement data file.
For more information, see Monitoring measurement data in the DPV help collection.

Note
Learn more aboutparsing scripts.

Validation Error Message Meaning and Cause


Invalid Field Value (F=V) Field value (V) did not pass the validation checks
for this field (F). If this field value came from a
raw measurement data file, correct the raw data
file. If the field value came from a Teamcenter
form, correct the form value.
Field (F) multiply defined Field (F) was defined multiple times. There is
most likely an error in the parsing script.
Field (F) not present Field (F) is required, but it was not output by
the DPV Parser. This could be an error in the
raw measurement data file or the Teamcenter
configuration. If the field is intended to be in
this type of raw measurement data file, correct
the file. If the field does not come from this
type of raw data file, correct the Teamcenter
configuration.
Cannot find measurement data file 'F' The measurement data file cannot be read.
Routine ID was not present in measurement The output of DPV Parser did not specify the
data file 'F' routine name in the SpecDocName field. This is
most likely an error in the parsing script.
Routine ChgLvl was not present in measurement The output of DPV Parser did not specify the
data file 'F' routine change level in the SpecChgLvl field.
This is most likely an error in the parsing script.
Plant Name specified in FacilityName (P) is not The plant name (P) is not known by the validation
valid. process. This is usually caused because a
routine XML definition had fatal errors in it.
The plant names are defined when a routine
definition is downloaded. If the routine definition
is not valid, then the plant name is not known.
Check the DPV Validation log file for errors.
Plant name cannot be determined from The output of DPV Parser did not specify the
measurement data file 'P' plant name (P) specified in the FacilityName
field. This is typically an error in the parsing
script.

PLM00151 12.0 Dimensional Planning and Validation Administration 2-31


Chapter
Chapter 2: 2: Defining
Defining quality
quality inspection
inspection process
process

Validation Error Message Meaning and Cause


Unknown Routine Name (SpecDocName) 'R' in The routine name (R) output by DPV Parser is
Plant 'P’ not defined within the plant (P) of the Teamcenter
bill of process. Correct the Teamcenter
configuration and submit the routine to the
Export_Routine_to_AI workflow.
• Learn about creating bill of processes.

• Learn about submitting a routine to workflow.


No Build Information Found in DML DPV Parser did not pass any build data. This is
most likely a bad raw measurement data file or
an error in the parsing script.
Error Retrieving Build Information from DML Output of DPV Parser was ill-formed. This is
most likely an error in the parsing script.
BuildLbl does not have a value The BuildLbl (job number) was not specified.
Either correct the raw measurement data file or
correct the Teamcenter configuration.
Duplicate Feature Attribute 'F'/'A' The feature (F) or attribute (A) is defined multiple
times in the raw measurement data file. Correct
the raw measurement data file.
Planned feature (F) not present The feature (F) is not present in the raw
measurement data file. This is only a warning.
Required feature (F) not present The required feature (F) is not present in the raw
measurement data file. This is an error.
Planned feature attribute (F/A) not present The feature (F) or attribute (A) is not present in
the raw measurement data file. This is only a
warning.
Required feature attribute (F/A) not present The required feature (F) or attribute (A) is not
present in the raw measurement data file. This
is an error.
Build contains no feature data There is no feature data in the raw measurement
data file. There must be at least some data.
Ill-formed Feature/Attribute The output of the parser is not formatted
correctly. This is a bug in the DPV Parser.
Invalid Limit: Feature=F, Tolerance=T, usl=U, The USL or LSL specified was not a valid
lsl=L floating point number. This is most likely
a bad specification/reject file. Correct the
specification/reject file.
Learn about defining specifications in a DPV
Excel Engineering workbook.
Ill-formed Spec/Reject The output of DPV Parser is not formatted
correctly. This is an error in DPV Parser.
Validation Successful for DML File (F) Validation was successful.

2-32 Dimensional Planning and Validation Administration PLM00151 12.0


Defining quality inspection process

Extending the common script

Examples of extending the common script


The common script that Siemens PLM Software provides is only a place holder for all the common
code. By default, it only contains the basic functions, such as extracting the script parameters,
writing the error log file, and so on. You need to add any specific common code and modify the
corresponding parsing scripts to call the common code.
Learn about defining custom error messages.

Example of extracting a new script parameter


The common script that Siemens PLM Software provides contains the following method for collecting
script parameter values and storing them into corresponding variables within the script:

This method reads the values of script parameters, such as ROUTINENAMEKEY, EVENTYPEKEY,
ITEMTYPEKEY, PROJECTNAMEKEY, and so on.
To add a new script parameter, for example NEWSCRIPTPARAM, add the following code to this
method to read the value:

Note
You also must declare the new variable strNewScriptParameter at the start of the class:

Example of adding a new method for extracting trace codes


To retrieve a trace code value from the TraceCode section of a measurement data file, add a new
method for extracting the trace codes through script parameters using the following method signature.

The method returns the trace value in string format.

Note
All the parsing scripts must be modified to use the common script object for methods
that are implemented in the common script. An object of CommonScript type is already
created in the default parsing scripts, through which the new methods can be called.

PLM00151 12.0 Dimensional Planning and Validation Administration 2-33


Chapter
Chapter 2: 2: Defining
Defining quality
quality inspection
inspection process
process

Example of setting default values for script parameters

To set the default values of script parameters for all parsing scripts using the common script, use
the following method:

The script first sets the default value throughout the function. If any value is present for a script
parameter, then that value overwrites the value set in this function.
For example, if you want to specify a default value for the NEWSCRIPTPARAM that was shown
extracted in the Example of extracting a new script parameter, add the following line of code:
strNewScriptParameter = “DefaultStringValue”

Example of extracting parameter-based routine names from the measurement data file

To extract the routine name from the data file based on script parameters, implement the logic to use
the script parameter in the parsing script. Script parameters defined in the device configuration XML
are passed to the getRoutineName() method so you can extract the routine name from a desired
location within the measurement data file. The common code parsing script only provides an interface
method that passes the script parameters to the compiled script object. Because this parameter is
required for extraction of the routine name, it should be specified on the device.
The following is an example of how to read the routine name based on the script parameter and not
the default location from a CDI measurement data file. By default, in a CDI measurement data file,
the routine name is read from the SpecDocName field as shown.

You may also want to read it from another field, for example, RoutineName.

2-34 Dimensional Planning and Validation Administration PLM00151 12.0


Defining quality inspection process

1. Modify the following to add logic to the CDI device parsing script to read the routine name based
on the script parameter and not the default location:

2. After modifying the device parsing script, export it to DPV Extraction, Translation, and Loading
(ETL). Check for successful compilation.

3. After successful compilation, process a measurement data file and check whether or not the
routine name is read using the RoutineNameKey script parameter.

Debugging parsing scripts

Note
See your DPV support personnel for information about the debug workspace.

Use the Script Debug Utility to debug a parsing script, including debugging the use of any common
code scripts.

PLM00151 12.0 Dimensional Planning and Validation Administration 2-35


Chapter
Chapter 2: 2: Defining
Defining quality
quality inspection
inspection process
process

Tip
To debug the common code script, paste the common code into the CommonScript.vb
file as shown in the figure.

Error messages during common parsing script loading

If the common parsing script compilation fails when DPV ETL starts, the DPV Parser is not started.
The following error message is logged in the DPVParser log file:
[ERROR] Compilation errors in the Common Script. Exiting the DPVParser application...

If the common script is updated and fails to compile, when DPV ETL is running, DPV ETL reverts to
the earlier working script. The following message is logged in the DPVParser log file:
[ERROR]: Compilation errors in the updated Common Script. Reverting to the earlier script...

Export a common parsing script to DPV ETL

You can export a common parsing script to multiple DPV ETL installations. When you send the
common script to DPV ETL, DPV ETL finishes processing any previously started parsing scripts and
uses the new common script for any new parsing tasks. You do not need to restart DPV ETL.

2-36 Dimensional Planning and Validation Administration PLM00151 12.0


Defining quality inspection process

Note
The common parsing script does not need to be under a station since it is common to all
stations. You can store it in the Newstuff folder or any folder.

1. Create a device item revision:


a. In My Teamcenter, click Home or the folder where you want to create the common device.

b. Choose File→Item.

c. From the list, select CommonDevice.

d. Click Next.

e. Click Assign to fill in the Item ID and Revision ID boxes.

f. Type in a name and description for the common script item.

g. Click Finish.

2. Attach the common script to the device item revision.

000243/A:1-CommonScriptDevice
View
000243/A
CommonScript

3. Send the common script to DPV ETL:


a. Right-click the common device item revision and choose Create Workflow Process.

b. In the New Process dialog box, from the Process Template list, select Export Common
Device to AI.
The file names automatically fill in.

c. Verify that the targets specified in the New Process dialog box are correct.

d. Click OK.

e. In the Information dialog box, click OK.


The common script is automatically sent to the DPV ETL for processing.
When the processing is complete, the following message is logged in the DPVParser log file:
Update Common Script has loaded successfully...

An application Interface (AI) object is created. The AI object contains a .plmxml file with the
information you exported.
Managing AI objects created during export

PLM00151 12.0 Dimensional Planning and Validation Administration 2-37


Chapter
Chapter 2: 2: Defining
Defining quality
quality inspection
inspection process
process

Error messages during the exporting

Working with script parameters

What are script parameters?

While defining the quality inspection process, you can define script parameters that can be passed to
the parsing scripts to modify how they handle data. By defining parameters in scripts, you can use
the same parsing script for different inspection devices. This is particularly helpful when you have
localization issues, such as how the date is displayed or the language used. Instead of creating two
scripts, you can create one script using parameters. In addition, you can pass parameters from a
device to a parsing script that uses the common script.
You specify the parameters using the Dimensional Planning And Validation Measurement Parse
Parameter form that you can attach to the inspection device (bill of process) and/or the routine (bill
of resource), as shown in the figure.

When parameters are passed from the Dimensional Planning And Validation Measurement
Parse Parameter form, they overwrite the default parameters set in the parsing script. The order
of precedence for setting script parameters is:
1. Form attached to routine

2. Form attached to inspection device

3. Default values in script

The following shows the overall workflow used to process parameters.

2-38 Dimensional Planning and Validation Administration PLM00151 12.0


Defining quality inspection process

Default script parameters that the common parsing script reads are available for any parsing scripts
to use.

Example of handling parameters in a .csv parsing script


The following shows the sections of a .cvs parsing script that handle the passing of parameters.

Examples of using parsing script parameters


The following provide examples of using parameters with parsing scripts.

PLM00151 12.0 Dimensional Planning and Validation Administration 2-39


Chapter
Chapter 2: 2: Defining
Defining quality
quality inspection
inspection process
process

• Using parameters to specify the inspection device type

• Using parameters for localization issues

• Using parameters with a .csv script

Using parameters to specify the inspection device type

• If the inspection device type is not contained within the measurement data file, then the default
is Inspection Device. You can overwrite this by defining the following parameter value in
the parsing parameter form (Dimensional Planning And Validation Measurement Parse
Parameter) attached to the inspection device:

Adding this parameter results in the device_type being set to Vision, as shown in DPV
Measurements.

Using parameters for localization issues

• Using parameters, you can use a single script to parse different comma-separated value (CSV)
files with different languages. If time and data is in column 1 in one language, such as English,

2-40 Dimensional Planning and Validation Administration PLM00151 12.0


Defining quality inspection process

and in column 2 in another language, such as Spanish, then set parameters for each of these
conditions.

• Use parameters in a single script to change the label for time from English to Spanish.

Using parameters with a .csv script

Measurement data is commonly received in a CSV file, as shown below.

The parsing script for this measurement data would have the following defined within it for the
column headers:

1 Date and time Indicates the column header for the data and time. Note
that multiple methods for defining the date and time are
supported, based on the structure of the data.
2 Serial number Indicates the column header for the serial number.

3 Non-feature data (multiple) Indicates the column header for non-feature data (for
example, Date, Collector ID, and so on).
4 Trace codes Indicates the column header for trace codes. Trace codes
are information added to a measurement data file to
define specific conditions that apply to a particular serial
number (for example, product variants, such as having a
sunroof or no sunroof).

PLM00151 12.0 Dimensional Planning and Validation Administration 2-41


Chapter
Chapter 2: 2: Defining
Defining quality
quality inspection
inspection process
process

You could replace this script with a generic script that defines the column headers using parameter
forms attached to the inspection device. There would be five forms.

• Two forms for non-features because the param_value length is restricted to 64 characters, which
does not allow all the non-feature values to be defined in one field.
The values for the first form for non-features are:

Set this option To the following


param_label NonFeatures
param_value Date, Collector ID, Operator, Shift, LMI
Serial#, Body Style

The values for the second form for non-features are:

Set this option To the following


param_label NonFeatures1
param_value Part Serial #

• Form to define the trace code columns:

Set this option To the following


param_label TraceCodeColumns
param_value Operator, Body Style

• Form to define the part serial number header (PVIHeader):

Set this option To the following


param_label PVIHeader
param_value Part Serial #

• Form to define the date header (DateHeader):

Set this option To the following


param_label DateHeader
param_value Date

Standard script parameters

The following table lists the script parameters that the common parsing script reads, by default, and
available for the device parsing scripts to use. The table lists all parsing scripts. You can modify any
existing script to use the default script parameters.
When parameters are passed to the parsing script, they overwrite the default parameters set in
the parsing script.

2-42 Dimensional Planning and Validation Administration PLM00151 12.0


Defining quality inspection process

Generally used in the Default value in the


Parsing parameter Description
script CSV script
Indicates an internal
READENGINEERINGDATA DML
script parameter.
ROUTINENAMEKEY Specifies the key CSV, DML
to uniquely identify
routine.
EVENTYPEKEY Retrieves the DML
measurement event
type.
ITEMTYPEKEY Finds the itemType DML
value from the data file.
FACILITYNAMEKEY Finds the facilityname DML
value from the data file.
PROJECTNAMEKEY Finds the projectname DML
value from the data file.
PHASENAMEKEY Finds the phasename DML
value from the data file
SITELOCATIONKEY Finds the sitelocation DML
value from the data file.
DEVICETYPEKEY Finds the devicetype DML
value from the data file.
TRACECODEKEYS Finds the tracecode DML
values from the data
file.
DATEKEY Finds the date value All
from the data file.
TIMEKEY Finds the time value All
from the data file.
FILEDATETIME Indicates an internal All
script parameter.
FILENAME Indicates an internal DML
script parameter.
FILEPATH Indicates an internal GTALKER
script parameter.
ITEMNAMEKEY Finds the itemname GTALKER
value from the data file.
ROUTINE_COL Indicates the column GTALKER
number in which to find
the routine name in the
data file.

PLM00151 12.0 Dimensional Planning and Validation Administration 2-43


Chapter
Chapter 2: 2: Defining
Defining quality
quality inspection
inspection process
process

Generally used in the Default value in the


Parsing parameter Description
script CSV script
DATE_COL Indicates the column GTALKER
number in which to find
the date in the data file.
TIME_COL Indicates the column GTALKER
number in which to find
the time in the data file.
JSN_COL Indicates the column GTALKER
number in which to find
the JSN/Build label in
the data file.
FEATURE_COL Indicates the column CSV, GTALKER
number in which to find
the feature label in the
data file.
VALUE_COL Indicates the column CSV, GTALKER
number in which to find
the measurement data
in the data file.
DELIMITER Indicates the character CSV, GTALKER ","
to use to split individual
values.
IGNORETEXT1 Indicates that lines with CSV, GTALKER "!@#$%"
this text in them are not
to be processed.
IGNORETEXT2 Indicates that lines with CSV, GTALKER "!@#$%"
this text in them are not
to be processed.
IGNORETEXT3 Indicates that lines with CSV, GTALKER "!@#$%"
this text in them are not
to be processed.
IGNORETEXT4 Indicates that lines with CSV, GTALKER "!@#$%"
this text in them are not
to be processed.
IGNORETEXT6 Indicates that lines with CSV, GTALKER "!@#$%"
this text in them are not
to be processed.
FORCEDEV If set, uses this value CSV, GTALKER ""
as the attribute type.
TRACECODEVALUES Indicates the optional CSV, GTALKER
list of features names
to be treated as trace
code values

2-44 Dimensional Planning and Validation Administration PLM00151 12.0


Defining quality inspection process

Generally used in the Default value in the


Parsing parameter Description
script CSV script
DATEDELIMITER Indicates the As required "/"
character-separating
date fields to calculate
the BuildLabel if it has
not been specified in
the data file.
DATEHEADER Indicates the column CSV "Date"
header text indicating
date field.
TIMEHEADER Indicates the column CSV "Time"
header text indicating
Time field.
DATETIMEHEADER Indicates the column CSV "Date/Time"
header text indicating
date and time field.
MONTHHEADER Indicates the column CSV “MO”
header text containing
the month field.
DAYHEADER Indicates the column CSV "DAY"
header text containing
the day field.
YEARHEADER Indicates the column CSV "YR"
header text containing
the year field.
HOURHEADER Indicates the column CSV "HR"
header text containing
the hour field.
MINUTEHEADER Indicates the column CSV "MIN"
header text containing
the minute field.
SECONDHEADER Indicates the column CSV "SEC"
header text containing
the second field.
DEVICEID Indicates the column CSV "Collector ID"
header text containing
the device field.
OPERHEADER Indicates the column CSV "Operator"
header text containing
the operator name field.
PVIHEADER Indicates the column CSV "PVI"
header text containing
the PVI field.

PLM00151 12.0 Dimensional Planning and Validation Administration 2-45


Chapter
Chapter 2: 2: Defining
Defining quality
quality inspection
inspection process
process

Generally used in the Default value in the


Parsing parameter Description
script CSV script
FEATUREPREFIX Removes the feature CSV True
name prefix.
FILTERBYPREFIX If set, the script only CSV True
parses data columns
with a prefix of A or D.
JANESVILLEFITGATE Used only for a specific CSV False
file format.
NONFEATURES Indicates CSV "GAUGE
comma-separated ID,JSN,MO,DAY,YR,HR,
non-feature column MIN,SEC,MODEL,
headers. C_RS,SHIFT,DATA
TYPE,FIXTURE"

Note
If
NONFEATURES
exceeds 64
characters,
split the line
into two
lines using
NONFEATURES1.
For
example, the
following line
contains 69
characters:
"GAUGE
ID,JSN,MO,DAY,YR,
HR,MIN,SEC,MODEL,
C_RS,SHIFT,DATA
TYPE,FIXTURE"
Therefore,
split the line
as follows:
NONFEATURES
"GAUGE
ID,JSN,MO,DAY,
YR,HR,MIN,SEC,
MODEL,C_RS,SHIFT,
DATA
TYPE"

2-46 Dimensional Planning and Validation Administration PLM00151 12.0


Defining quality inspection process

Generally used in the Default value in the


Parsing parameter Description
script CSV script

NONFEATURES1
"FIXTURE"
Split the line
after the last
full token
before the
comma.

FORCEJSN If set to DATETIME, Can be used in any ""


uses the date time script that does
fields. not obtain its job
serial number (JSN)
information from
the contents of the
measurement data file.
NONFEATURES1 Indicates CSV ""
comma-separated
non-feature column
headers.
MEASUREMENT Stores the column PERCEPT_1
DATAITEMSTARTCOL number from where
the measurement data
item starts.

Define script parameters

1. In Manufacturing Process Planner, in the Attachments view, select the inspection device.

Note
• You must select the inspection device in the Attachments view to create a form.

• The script parameter form for the routine name must be added to the inspection
device and not the routine in Teamcenter.

2. Create a form of the type Dimensional Planning And Validation Measurement Parse
Parameter.

3. Enter the following:

PLM00151 12.0 Dimensional Planning and Validation Administration 2-47


Chapter
Chapter 2: 2: Defining
Defining quality
quality inspection
inspection process
process

Use this option To do this


param_type Identify the type of parameter:
• Trace – Pass the param_label and
param_value values (see the two rows in
this table) to the parsing script.

• Feature Rename – Rename a feature


during parsing.

Example
Use this when a feature has
one name when it is in the
raw measurement data file and
another name when it is in
Teamcenter.

• Script Parameter – Parameters to be


passed to the parsing script.
param_label Specify the label for the parameter.

Example
When you are renaming a feature,
this specifies the original name of
the feature.

Script parameters for measurement data in


DML format
param_value Specify the value of the parameter.

Example
When you are renaming a feature,
this specifies the original value of
the feature.

List of forms used


Tips for managing forms

Attach custom scripts to inspection devices

1. In Manufacturing Process Planner, select the inspection device, and choose File→New→Dataset.

2. Choose Text.

2-48 Dimensional Planning and Validation Administration PLM00151 12.0


Defining quality inspection process

3. Click OK.

4. Verify that the parsing script appears as an attachment on the inspection device.

5. In the Import box, click ... and navigate to the inspection device parsing script.

6. Click OK.

7. Copy the inspection device to the BOR folder:


a. Right-click the inspection device, and choose Copy.

b. In My Teamcenter, select the BOR folder and choose Edit→Paste.

Standard parsing scripts


Dimensional Planning and Validation provides standard parsing scripts. The following table identifies
the inspection device types and their corresponding scripts provided with Dimensional Planning
and Validation.
All the scripts are located in:
FLINK\Installs\DPV\Parsing Scripts

The device Has the script


PC/PC-DMIS • PCDMIS_1.txt

• PCDMIS_2.txt

• PCDMIS_3.txt

• PCDMIS_3.1.txt

• PCDMIS_3.1.txt

• PCDMIS_3.2.txt
Zeiss/UMESS • UMESS_1.txt

• UMESS_2.txt
Zeiss SMC/UMESS UMESS_3.txt
Zeiss SMC/UMESS Format 2 5. UMESS_4.txt
Wentzel/Metrosoft • Metrosoft_1.txt

• Metrosoft_2.txt
Zeiss/Metroligic/DMIS DMIS.txt
LKDMIS LKDMIS.txt
Perceptron IPNET PERCEPT_1.txt
Perceptron P1000 Perceptron_CDI.txt
Perceptron Spec/Reject SPEC_REJECT.txt

PLM00151 12.0 Dimensional Planning and Validation Administration 2-49


Chapter
Chapter 2: 2: Defining
Defining quality
quality inspection
inspection process
process

The device Has the script


Datamyte 501/Transcend CSV.txt
Laser Gauge GTalker.txt

Working with DML data

About working with measurement data in DML format


You can collect measurement data in ASCII or Dimensional Markup Language (DML) 2.0 format.
Dimensional Planning and Validation parses the data using the same parsing scripts. DML is an
XML-based language for representing measurement results so it can be transmitted between
applications that generate and use dimensional information. The DML format has three basic
components:
• Header information to identify the data (qis_def)

• Tolerance specification

• Feature specification

Example of measurement data in DML format


This sample DML file contains an example of measurement data. It is annotated to explain the
different aspects of measurement data in DML format.

Note
If this file downloads as a zip file, change its extension to docx.

Feature types supported in DML


The following feature types are supported in the DML schema:
• Point

• Line

• Plane

• Circle

• Cylinder

• Sphere

• Cone

• Open slot

• Closed slot

2-50 Dimensional Planning and Validation Administration PLM00151 12.0


Defining quality inspection process

• Point Curve

• Torus

Features of the type ellipse, pattern, and constant Xsect are not supported.

Note
The Engineering XML file generated from the XML Generation Utility contains feature
types that are not present in the Teamcenter feature list of values (LOVs). Therefore,
when you import the Engineering XML, these features are ignored and are not imported in
the Excel Engineering workbook.
To have the feature types included in the workbook, add them to the Teamcenter features
LOV using Business Modeler IDE, before importing the engineering XML into Teamcenter
(using Tools→Import Feature Data).

Use script parameters to extract data from the DML file

Information about the measurement data is read from the header data by default. The information
includes routine name, build label, and data and time. The following shows the information expected
in the header for routine:

If this data is to be read from the qis_def section of a DML file and not the header, as shown for the
routine name, add script parameters to the parsing scripts to extract the data from the qis_def section:

You use forms to define the script parameters.


1. If the routine name is to be read from the qis_def section of a DML file, add a script parameter
form (Dimensional Planning And Validation Measurement Parse Parameter) to the inspection
device with the param_name of RoutineNameKey and a value of Routine.
Learn how to define script parameters.

Note
The param value can change depending on the type attribute of the qis_def node:
<qis_def label="DCX_19" type="Routine" value="DMLRoutine" />

PLM00151 12.0 Dimensional Planning and Validation Administration 2-51


Chapter
Chapter 2: 2: Defining
Defining quality
quality inspection
inspection process
process

2. In the same way, add script parameter forms for the following to be read from the qis_def section
of the DML file, as shown in the figure:

Trace Codes: The value can be a comma-separated list of all trace codes to be read
Param_name = TraceCodeKeys
Param_values = Category,Serial Number
<qis_def label="DCX_20" type="Category" value="PS" />
<qis_def label="DCX_21" type="Serial Number" value="050110" />

Other parameters you can define are:

• DateKey

• TimeKey

• EvenTypeKey

• ItemTypeKey

2-52 Dimensional Planning and Validation Administration PLM00151 12.0


Defining quality inspection process

• FacilityNameKey

• ProjectNameKey

• PhaseNameKey

• SiteLocationKey

• DeviceTypeKey

Using forms to define item and phase name


By default, Item_name and Phase_name are read from the qis_def section:
<qis_def label="DCX_22" type="Item_name" value="ItemName123" />

If they are not in the qis_def section, add the corresponding forms (Dimensional Planning And
Validation Routine Information for Item_name and Dimensional Planning And Validation
Measurement Context for Phase_name) to the routine. These values are required for the file to
pass validation.
For more information on creating a routine and the forms needed, see Create a measurement routine
from a template and Create forms associated with the measurement routine.

Custom feature attributes in DML format


If measurement data in DML format contains custom feature attributes that are not in the Teamcenter
list of values (LOV), the generated Engineering XML file contains the new attributes. However, when
you attach the engineering data using Tools→Import Feature Data in Teamcenter, Teamcenter
checks whether the attribute codes are in the attribute LOV and if they are not, it ignores them.
Therefore, before exporting the routine to the workflow, you must add the attributes to the Engineering
workbook that defines the feature in both worksheets (FeatureInfo and ENGG tabs) and fill the
corresponding columns (under the feature).
This is a temporary solution, however, and only applies to that instance of the Engineering XML. If
the custom attributes appear in more files, then for a permanent solution, add the custom attributes

PLM00151 12.0 Dimensional Planning and Validation Administration 2-53


Chapter
Chapter 2: 2: Defining
Defining quality
quality inspection
inspection process
process

to the attribute LOV using Business Modeler IDE. See Adding feature data and Defining custom
feature attributes.

Example
If a feature contains two custom attributes, DMIN and DMAX, that are not defined in the
Teamcenter list of values (LOV), they are not imported to the Engg Excel worksheet.
Therefore, after importing the engineering XML, manually add DMIN and DMAX to the
Excel worksheet (both the FeatureInfo and ENGG tabs) and fill in the corresponding
columns (under the feature) before exporting the routine to workflow.

For the FeatureInfo tab in the Engineering workbook:

1. Add DMIN and DMAX to the attribute information as Attributes 8 and 9:

2. Add the attribute values to the corresponding columns under the feature:

For the ENGG tab in the Engineering workbook:

1. Add DMIN and DMAX to the attribute information as Attributes 8 and 9:

2. 2. Add the attribute values to the corresponding columns under the feature:

2-54 Dimensional Planning and Validation Administration PLM00151 12.0


Defining quality inspection process

Defining engineering data


About defining engineering data
You store the engineering data that defines your measurement process in a bill of process.
You do the following:
• Define plant process structure.

• Define measurement routines.

• Associate a product, plant, and bill of process.

• Approve measurement routines.

For an introduction to defining engineering data, see the Dimensional Planning and Validation tutorial.

Defining a plant process structure

About defining a plant process structure


Working with a plant process structure involves:
• Creating a plant process structure.

• Specifying its location.

• Defining its shift start times.

• Defining error notification.

• Adding the plant process structure to the Teamcenter measurement database.

Understand plant process structures.

PLM00151 12.0 Dimensional Planning and Validation Administration 2-55


Chapter
Chapter 2: 2: Defining
Defining quality
quality inspection
inspection process
process

Create a process structure (bill of process)


Create a process structure (bill of process) that mirrors the structure of the bill of resource.
1. Create the plant process:
a. In Manufacturing Process Planner, click Create New Process .

Note
You can also choose File→New→Process.

b. In the New Process dialog box, from the Process Type list, select MEPrPlantProcess.

c. Click Next.

d. Click Assign to automatically populate the Process ID and Revision boxes.

e. In the Name box, enter the plant name.

Note
The plant name cannot exceed 30 characters or the Application Interface (AI)
objects exported for that plant will not be downloaded to DPV ETL.

f. Click Finish.
A new tab appears for the process.

g. (Optional) Select the process you just created, and create another process that defines an
assembly line using the steps outlined in step 2. Use a Process Type of MEPrLineProcess.

h. (Optional) Select the assembly line you just created, and create another process that defines
a zone using the steps outlined in step 2. Use a Process Type of MEPrZoneProcess.

Tip
To view its contents, you may have to expand the process (click the +).

i. (Optional) Select the zone you just created, and create another process that defines a station
using the steps outlined in step 2. Use a Process Type of MEPrStatnProcess.

Specify the location of the plant


1. In Manufacturing Process Planner, click the tab for the process structure.

2. Right-click the process, and choose Open with→Attachments.


The Attachment view appears.

3. In the Attachments view, select the plant process.

2-56 Dimensional Planning and Validation Administration PLM00151 12.0


Defining quality inspection process

Note
You must select the root process (MEPrPlantProcess) in the data pane to create a
form.

4. Create a form of the type Dimensional Planning And Validation Location.

5. Specify the following:

Use this option To do this


Country Enter the country in which the plant is located.
Region Enter the region in which the plant is located
(Region 1, Region 2, and so on).
Time Zone Select the time zone of the plant.

6. Click OK.

List of forms used


Tips for managing forms

Alternative abbreviations
In addition to the standard Windows time zones listed in the Date and Time Properties dialog box,
the time_zone box accepts the following common abbreviations.

Abbreviation Meaning
MIT Midway Island Time
HST Hawaii Standard Time
AST Alaska Standard Time
PST Pacific Standard Time
MST Mountain Standard Time
MST7 Arizona
CST Central Standard Time
EST5 Indiana (East)
EST Eastern Standard Time
GMT Greenwich Mean Time
WET Western European Time
CET Central European Time
EET Eastern European Time
IST India Standard Time
CHST Chinese Standard Time
JST Japan Standard Time
KST Korean Standard Time

PLM00151 12.0 Dimensional Planning and Validation Administration 2-57


Chapter
Chapter 2: 2: Defining
Defining quality
quality inspection
inspection process
process

Define the shift times

Use the Dimensional Planning And Validation Shift Time form to specify shift times for a plant.
There should only be one form per plant.

Note
Only production days need to be defined. Any day with no shift defined is assumed to
not be a production day.

1. In Manufacturing Process Planner, click the tab associated with the plant process.

2. Right-click the process, and choose Open with→Attachments.


The Attachment view appears.

3. In the Attachments view, select the plant process.

Note
You must select the plant process in the Attachments view to create a form.

4. Create a form of the type Dimensional Planning And Validation Shift Time.

5. Type the start times for the shifts in the boxes, for each day of the week. It is in 24-hour format:
hh:mm.

Example
If the start time is 8:00 a.m., type 08:00.

Tip
• You can specify a shift that continues until the next day. For example, the following
specifies a late Monday shift that runs until 5:59 the next day:
Monday 3
Start: 22:00 End: 5:59

• You can include hours from a previous day in a shift. For example, the following
specifies that the Tuesday shift starts at 10:00 on Monday, because –2 hours are
subtracted from the start of Tuesday.
Tuesday 3
Start: –2:00 End: 5:59

6. Click OK.

2-58 Dimensional Planning and Validation Administration PLM00151 12.0


Defining quality inspection process

List of forms used


Tips for managing forms

Define error notification during data loading

Note
Error notification can also be defined for a particular measurement routine. If you define it
for a routine, it overrides the value defined for the plant.

1. In Manufacturing Process Planner, click the tab associated with the plant process.

2. Right-click the process, and choose Open with→Attachments.


The Attachment view appears.

3. In the Attachments view, select the plant process.

Note
You must select the plant process in the Attachments view to create a form.

4. Create a form of the type Dimensional Planning And Validation Error Notification.

5. From the notification_type list, select when you want to be notified of errors.

Use this option To do this


None Report no errors.
All Report each time there is an error.
First Report the first time there is an error in a series
of errors.

Example
If the first three data files have errors, and the fourth and fifth do not, while the sixth
does, then you receive the following messages, depending on how you set the option:
• Set it to All, receive messages for first, second, third, and sixth files.

• Set it to First, receive messages for the first and sixth files.

6. Click OK.

List of forms used


Tips for managing forms

PLM00151 12.0 Dimensional Planning and Validation Administration 2-59


Chapter
Chapter 2: 2: Defining
Defining quality
quality inspection
inspection process
process

Add plants to the Teamcenter measurement database

If the measurement data is stored in a remote measurement database, add a reference to the new
plant process structure in that measurement database. After adding the reference, Teamcenter stores
all data that is processed for that plant in the measurement database. In addition, if a link to a
remote measurement database is not available, you can create a link to it if both the Teamcenter and
measurement databases are Oracle databases.

Note
• This step does not need to be performed if the measurement data resides within the
Teamcenter database instance.

• The group to which you belong must be part of the DPV Admin group for you to have
permission to add the plant to a measurement database.

• You must know which database link is associated with which measurement database.
For information about creating links to measurement databases, see Creating links in
Teamcenter to the measurement databases in the Installing the Dimensional Planning
and Validation solution guide in the DPV help collection.

1. In Manufacturing Process Planner, right-click the top of the plant process structure (the
MEPrPlantProcess item) and choose Send Plant ID.
The Send Plant ID dialog box appears.

2. Enter the following:

For the field Do the following


PlantID The text box is automatically filled with the item
ID of the selected plant. You cannot change it.

2-60 Dimensional Planning and Validation Administration PLM00151 12.0


Defining quality inspection process

For the field Do the following


DB Type Select:
• ORACLE – The measurement database is
an Oracle database.

• SQLSERVER – The measurement


database is a remote SQL server.

• SQLSERVERLOCAL – The measurement


and Teamcenter databases reside on the
same physical server.
Link Name Select the link to the measurement database.
See your system administrator for information
about the link names and the associated
measurement databases.
For Oracle Teamcenter databases, you can
select New to create a new link to an Oracle
measurement database.

Note
For information about creating links,
see Creating links in Teamcenter to
the measurement databases in the
Installing the Dimensional Planning
and Validation solution guide in the
DPV help collection.

3. Click OK.
Either of the following messages appear:

• The <plant name> will be added to the measurement database.

• The plant <plant name> already exists in the measurement database.

Clicking OK updates the plant to the new database link.

4. Click OK.

Defining a measurement routine

About defining a measurement routine

After creating the process structure, define the measurement routine as an operation within the
plant. The type of operation you create depends on the type of inspection device. After defining
the routine, add feature data.

PLM00151 12.0 Dimensional Planning and Validation Administration 2-61


Chapter
Chapter 2: 2: Defining
Defining quality
quality inspection
inspection process
process

Note
• Measurement routines cannot be shared between plants. They belong to only one
plant.

• When data for a routine is not collected in a single file, you can merge the files into one
event stored in the Teamcenter measurement database. You specify the merging when
you define the feature data, using the option loading split ID. See Defining split events.

The tasks to create a measurement routine include:


• Create a measurement routine from a template

• Define error notification

• Define export to regions

• Add feature data

• Define custom feature attributes

• Work with clusters and cluster groups

• Define datum transformations

• Define triggers

• Define feature mapping

Create a measurement routine from a template

Note
• When you create the measurement routine from a template, Teamcenter creates all
the necessary forms you need to define the routine. You will edit the forms.

• If you do not have a template, create the measurement routine as instructed in Create
a measurement routine and do not call it a template. Then, create all the necessary
forms listed in Create forms associated with the measurement routine.

1. In Manufacturing Process Planner, select the tab associated with the process structure.

2. Select the plant or a location in the plant (assembly, zone, or station) for which you want to
define a measurement routine.

3. Choose File→New→From Template→Operation from Template.

4. Click the Choose Template tab, type the name of the template in the Template ID box, and
select Use Template. Alternatively, you can search or browse for the template you require.

2-62 Dimensional Planning and Validation Administration PLM00151 12.0


Defining quality inspection process

Tip
• Click Add to Favorites to save the template to a favorites palette so it can be
quickly accessed and used.

• To search for a template:


a. Click the Choose Template tab.

b. Next to the Template ID box, click Find the Template by Name .

c. In the Find Template by Name dialog box, type the search criteria including
wildcards, such as *template*.

d. Click Find.
The templates that match the criteria appear in the dialog box.

e. Double-click the desired template.

5. Click the Configuration tab and choose the cloning rule Mapping_Consumes. If required, you
can also change the revision rule on this tab.

6. Change the name of the routine.

Note
All other values (ID, revision, type, description) are automatically set for you.

7. Click OK.

8. In the Attachments view, view the forms created for the measurement routine.

9. Check out and edit the forms following the instructions in:
• Define error notification during data loading

• Export the measurement routine to DPV ETL

PLM00151 12.0 Dimensional Planning and Validation Administration 2-63


Chapter
Chapter 2: 2: Defining
Defining quality
quality inspection
inspection process
process

Define error notification during data loading

Note
Error notification is always defined for the plant. If you define it for a routine, it overrides
the value you defined for the plant.

1. In Manufacturing Process Planner, click the tab associated with the process structure.

2. Right-click the process, and choose Open with→Attachments.


The Attachment view appears.

3. In the Attachments view, select the routine.

Note
You must select the routine in the Attachments view to create a form.

4. Check out and edit the form of the type Dimensional Planning And Validation Error
Notification.

5. Select when you want to be notified of errors.

Use this option To do this


None Report no errors.
All Report each time there is an error.
First Report the first time there is an error in a series
of errors.

Example
If the first three data files have errors, and the fourth and fifth do not, but the sixth does,
then you receive the following message, depending on how you set the option:
• Set to All, receive messages for first, second, third, and sixth files.

• Set it to First, receive messages for the first and sixth files.

6. Click Check-In.

List of forms used


Tips for managing forms

Define export to regions


Configure the measurement routine so its data can be sent to another region (for example, Region 2
Teamcenter) and measurement data from the two different regions can be compared.

2-64 Dimensional Planning and Validation Administration PLM00151 12.0


Defining quality inspection process

1. In Manufacturing Process Planner, click the tab associated with the process structure.

2. Right-click the process, and choose Open with→Attachments.


The Attachment view appears.

3. In the Attachments view, select the routine.

Note
You must select the routine in the Attachments view to create a form.

4. Check out and edit the form of the type Dimensional Planning And Validation Export To
Regions.

5. Select the region and any customer-defined values.

6. Click Check-In.

List of forms used


Tips for managing forms

Adding feature data

Ways to define feature data


Feature data is attached to the measurement routine as an Excel dataset. You can create the data
in XML or Excel. All edits are done in Excel.

To define feature data:


• Set up and perform validation of feature data.

PLM00151 12.0 Dimensional Planning and Validation Administration 2-65


Chapter
Chapter 2: 2: Defining
Defining quality
quality inspection
inspection process
process

• Define feature data in a DPV Excel Engineering workbook.

• Define specifications in a DPV Excel Engineering workbook

• Define feature data in an .xml file.

You can also define split events, define custom feature attributes and generate feature data from
measurement data.

Feature validation

About DPV feature data validation

When you edit a DPV Excel Engineering workbook through Teamcenter, it is associated with a
rule set that validates the feature data you enter. The rule set is a collection of macros stored in a
Microsoft Excel binary workbook (.xlsb). Siemens PLM Software provides a default rule set. We
also recommend that you create your own custom rule set to validate the feature data against your
company’s standards. In particular, use it to define the specification set worksheets names.

You associate a DPV Engineering Excel workbook with a custom rule set when you import it. You can
also change the association using the Apply Rule Set command. The workbook is always associated
with the default rule set that Siemens PLM Software provides.
When you edit the workbook, you can activate and run validations using both the default and the
selected custom rule set. You can run static validations of the entire workbook or runtime validation of
the current cell. The rule sets create discrepancy worksheets in which to display any validation errors,
for example, you entered a name that contains characters that are not allowed. They highlight cells
with errors in red and cells with warnings in yellow. When you correct the errors, the corresponding
entries are deleted from the discrepancy worksheets.

2-66 Dimensional Planning and Validation Administration PLM00151 12.0


Defining quality inspection process

In addition to rule set validation, the Teamcenter server validates the feature data when you import
and save the Excel Engineering workbook. If the server validation fails, the routine data cannot be
sent to client applications, such as DPV ETL, DPV Reporting & Analysis, and DPV-SSAS.

Teamcenter server validation


In addition to the DPV rules validation that occurs while you are editing a DPV Excel Engineering
worksheet, the Teamcenter server validates the feature data when you import it into a DPV Excel
Engineering dataset (Tools→Import Feature data) and when the dataset is saved. Server validation
reports the outcome of the validation as Success or Fail.

Note
Any warnings in the DPV Excel Engineering worksheet (highlighted in yellow) pass the
Teamcenter server validation.

In addition, the master form of the routine revision with which the DPV Excel Engineering dataset is
associated is updated with information about the validation.
Note the following:
• If the server validation fails, the routine data cannot be sent to client applications, such as DPV
ETL, DPV Reporting & Analysis, and DPV-SSAS.

• Teamcenter server validation is always performed during a workflow process.

• The date and time validations of routine revisions created before 9.0 are blank. Therefore, they
are sent to client applications even if they have errors. To change this, associate the routine
revisions created before 9.0 with a rule set using the Apply Rule Set command. Then, open or
save the dataset. The server validation automatically runs and the master form of the routine
revision is updated.

DPV rule set validation


The default DPV rule set provided ensures the following about the feature data in a DPV Excel
Engineering workbook:

Feature name
• The feature name is unique.

• The feature name is a maximum length of 32 characters.

• The feature name is an alphanumeric string. All characters are allowed except:
,<>\/“‘&`@#(){}[]|: ;*^%

Feature ID
• Feature IDs are automatically generated, and the Feature ID column is read only (cannot be
edited).

• Feature IDs are unique within a given routine.

PLM00151 12.0 Dimensional Planning and Validation Administration 2-67


Chapter
Chapter 2: 2: Defining
Defining quality
quality inspection
inspection process
process

Numeric fields
• The following fields must be in numeric or empty elements (required fields cannot be blank).
o In the Feature Info worksheet: x, y, z, i, j, k, i2, j2, k2, Significance, and Nominal.
■ i, j, k, i2, j2, k2 - No warning is issued when any of these fields are blank.

■ x, y, z – A warning is issued if any of these fields are blank.

o In the specification set code worksheets: LSL, TAR, and USL.


■ If all the fields (LSL, TAR, USL) are blank, then no warning is issued,

■ Otherwise, if any one or two of the fields are blank, there is a warning.

o String-based numbers (for example, 1.000) used in releases before the DPV 9.0 release are
supported but are converted to a number when data is sent to client applications, such as
DPV Reporting & Analysis, DPV ETL, and DPV-SSAS.

Consistency of data between worksheets


• The following error and warnings occur for inconsistent data between the Feature Info,
specification, and feature mapping worksheets:

Errors
o There are feature labels in the specification or feature mapping worksheets that are not in the
Feature Info worksheet. In the feature mapping worksheets, only features of the dataset’s
routine revision are verified.

o There are attribute codes in the specification worksheets that are not in the Feature Info
worksheet.
Warnings
o There are feature labels in the Feature Info worksheet that are not in one or more of the
specification set code worksheets.

o There are attribute codes in the Feature Info worksheet that are not in one or more of the
specification set code sheets.

Required fields
• Error messages appear if any of the following are not entered or are incorrect.
o All header information in the Feature Info, specification set code, and feature mapping
worksheets.

o Feature information worksheet:


■ Attribute code values in header rows

■ Feature ID

■ Feature label

2-68 Dimensional Planning and Validation Administration PLM00151 12.0


Defining quality inspection process

o Specification set code worksheet:


■ Attribute code values in header rows. If there is an attribute code header column, it
must have all values. However, not all attribute codes in the feature info sheet need to
be in specification set code sheets. However, it is recommended that the same codes
be in both worksheets.

■ Feature label

o Feature mapping worksheet:


All columns and their headers are validated but only the Feature Label (the first column) is
validated for whether it exists in the Feature Info worksheet.

■ Feature label header

■ Routine ID of referenced routine

o Adding and deleting features


When you delete or rename a feature in the Feature Info worksheet, the DPV rule set does
not add, remove, or rearrange the content of any existing valid specification set code sheets.
Any corresponding errors or warnings are marked only on the existing cells.

Adding worksheets and comments

o Adding a specification sheet


When you add a new specification sheet, the header rows, including the attribute code
names, and all the feature labels from the Feature Info sheet are automatically added. The
LSL, TAR, and USL files are left blank and no default values are entered.
The list of available names for specification worksheets in the Discrepancy worksheet
cannot be edited. Users with access to creating rule sets can modify the macro that defines
the specification set code names in the rule set and change the list of specification names.
When a user adds a sheet and its name is in the list, the sheet is treated as a specification
worksheet. Otherwise, it is treated as a comment worksheet unless it is a Feature Info or
feature mapping worksheet.

Note
A specification set code name can be up to 26 characters. It cannot contain the
following characters:
,<>\/“‘&`@#(){}[]|: ;*^%

o Comment columns
You can add columns to the feature information sheet after the last feature attribute columns.
These are treated as comments. No system action is taken on these comment columns (for
example, they are not visible in any application except Excel).
If you attempt to add a comment column before the last feature attribute column, it is flagged
as an error.

PLM00151 12.0 Dimensional Planning and Validation Administration 2-69


Chapter
Chapter 2: 2: Defining
Defining quality
quality inspection
inspection process
process

o Comment worksheets
You add additional worksheets to the DPV Excel Engineering workbook for storing comments.

• Deleting columns
Users cannot remove required columns.

Required columns for the Feature Info worksheet

o Feature ID

o Feature Label

o Feature Type

o Alt Ftr Label

o Feature Description

o Active Status

o Need

o Loading Split Id

o x, y, z, i, j, k, i2, j2, k2

o Under attribute code in the Feature Info worksheet:


■ Significance

■ Measurement

■ Need

■ Nominal
Required columns for a specification worksheet

o Feature Label

o Under attribute code in the specification sheet:


■ LSL

■ TAR

■ USL
Required columns for a feature mapping worksheet

o Feature Label column for routine

o Feature Label column for referenced routine.

2-70 Dimensional Planning and Validation Administration PLM00151 12.0


Defining quality inspection process

Working with DPV validation errors

As you edit a DPV Excel Engineering workbook with rules validation activated, any errors are
displayed in the cells.

Errors shown in cells

Any problems with the feature data are highlighted in the cells of the workbook. Errors are highlighted
in red and warnings in yellow. In addition, comments may appear next to the cell explaining the error.

Note
Any warnings in the workbook pass the Teamcenter server validation.

Errors shown in discrepancy worksheets

In addition to displaying errors in cells, the validation rule sets create discrepancy worksheets
to display validation errors:
• The default rule set that Siemens PLM Software provides creates a worksheet called
Discrepancy to display any default validation errors, such as you entered a name that contains
characters that are not allowed.

• A custom rule set creates a worksheet (usually named User Discrepancy) to display custom
validation errors, such as you entered a name that is inconsistent with your company’s standards.

The following is an example of possible errors shown in the Discrepancy worksheet.

Clicking a cell in a discrepancy worksheet places the cursor in the cell with the error so you can correct
it. When you correct the error, its corresponding entry is deleted from the discrepancy worksheet.

PLM00151 12.0 Dimensional Planning and Validation Administration 2-71


Chapter
Chapter 2: 2: Defining
Defining quality
quality inspection
inspection process
process

Configure Excel for DPV rules validation

1. Depending on your version of Microsoft Office, access the Excel Options dialog box.

Example

In Excel 2003, click the Microsoft Office button ( ) and click Excel Options.

2. On the left, click Customize Ribbon and make sure Add-Ins is in your list of displayed tabs. If it
is not, add it and click OK.

3. On the left, click Trust Center and then click Trust Center Settings.

4. In the Trust Center dialog box, click Macro Settings.

5. Select Enable all macros.

6. Under Developer Macro Settings, select Trust access to the VBA project object model.

7. Click OK and then click OK again.

Run DPV rule set static and runtime validations

After opening a DPV Engineering Excel workbook for feature definition, you must run static validations
of the entire workbook.
After running static validations, you can toggle on and off runtime validation, which validates the
current cell you are editing. Turning off runtime validation speeds up the entry of multiple cells
because you do not have to wait for validation after each entry. Note that if you turn on runtime
validation, you can still quickly copy and paste cells across worksheets because runtime validation

2-72 Dimensional Planning and Validation Administration PLM00151 12.0


Defining quality inspection process

only validates the current cell and not the entire workbook. You must first run static validations to
turn on runtime validation.

The options for running static and runtime validations are available from the Add-Ins menu, which is
automatically displayed when you open a DPV Engineering Excel workbook.

1. In Teamcenter, open a DPV Engineering Excel workbook for editing in Excel.

The discrepancy worksheets appear. In addition, the associated XLSB


rulesets are downloaded to the your XLSTART folder (for example,
C:\Users\userid\AppData\Roaming\Microsoft\Excel\XLSTART).

2. From the Add-in menu in Excel, click APPLY XLSB(RULESET).

If there are XLSB files associated with the DPV Engineering Excel worksheet, the Static
Validations button is enabled.

3. Click Static Validations.

After the first run, the Static Validations and Runtime On/Off buttons in the Discrepancy
worksheet are disabled.

PLM00151 12.0 Dimensional Planning and Validation Administration 2-73


Chapter
Chapter 2: 2: Defining
Defining quality
quality inspection
inspection process
process

Navigating to another worksheets enables the buttons, as shown when you navigate from the
Discrepancy worksheet to the Feature Info worksheet.

4. (Optional) Navigate to another worksheet and toggle Runtime On/Off as you edit the workbook.

View Teamcenter server validation status


View the status of the validation that the Teamcenter server (not the DPV validation rule set)
performed on a DPV Excel Engineering dataset.
1. In My Teamcenter, select the master item revision form for the routine revision with which the
DPV Excel Engineering dataset is associated.

2. Click the Viewer tab.


The date and time of the last validation and the status of that validation appear. If the date is
blank, the Excel Engineering dataset has not been validated. Values for validation status include:
Success, Failure, and Not Done.

Note
The date and time are the local date and time of the Teamcenter server.

Note
The date and time validations of routine revisions created before 9.0 are blank.

2-74 Dimensional Planning and Validation Administration PLM00151 12.0


Defining quality inspection process

Associate a routine with a custom DPV validation rule set

When you import feature data, it is associated with the default DPV validation rule set and you
are prompted to associate the dataset with a custom DPV validation rule set. You can change the
custom rule set with which it is associated at any time. You apply the custom rule set to the routine
revision with which the workbook is associated.

Note
You can only apply a custom rule set to a routine revision to which you have write
permission. You often do not have permission to a routine revision that has been released.
If the routine revision is released, revise it before using the Apply Rule Set command.

1. In Manufacturing Process Planner, right-click the routine revision with which you want to associate
the custom DPV validation rule set, and choose Apply Rule Set.
The Apply Rule Set dialog box appears, listing all the custom rule sets available.

2. Select the custom rule set to use for validation of the feature data, and click OK.
Learn more about DPV rule set validation.

Create a custom DPV validation rule set

It is recommended that you create a custom DPV validation rule set. In particular, create a custom
rule set to specify the specification set code worksheet names. Then, when a user adds a worksheet
and its name is in the list of specification set code worksheets, the sheet is treated as a specification
set code worksheet. Otherwise, it is treated as a comment sheet unless it is a Feature Info or
feature mapping sheet.

Note
A specification set code name can be up to 26 characters. It cannot contain the following
characters:
,<>\/“‘&`@#(){}[]|: ;*^%

1. Use the standard Teamcenter functionality (Access Manager and Organization) to set the users
who can create custom DPV validation rule sets.

PLM00151 12.0 Dimensional Planning and Validation Administration 2-75


Chapter
Chapter 2: 2: Defining
Defining quality
quality inspection
inspection process
process

2. Set the Teamcenter DatsetTypesPref preference to include the Dimensional Planning And
Validation Rule Set Dataset value. DatsetTypesPref sets the dataset types that are listed when
users choose the System→New→Dataset command.

3. Create a Microsoft Excel binary workbook (.xlsb) containing the validation macros.

4. In Teamcenter, create an item revision of the type Dimensional Planning And Validation
Rule Set.
Learn about types of rule sets.

5. Create a dataset of the type Dimensional Planning And Validation Rule Set Dataset containing
the Microsoft Excel binary workbook (.xlsb) associated with the Dimensional Planning And
Validation Rule Set item revision.

6. Release the Dimensional Planning And Validation Rule Set item revision. Once the
Dimensional Planning And Validation Rule Set item revision is released, it can be associated
with a measurement routine or operation.
When you release the custom rule set, it is listed under Specifications. Use the copy action
Copy as Object.

Learn about releasing measurement routines.

Teamcenter item types for DPV validation rule sets

To differentiate between the default DPV validation rule set that Siemens PLM Software provides and
those that you create, they are each defined as different item types in Teamcenter:
• Default rule set
The rule set that Siemens PLM Software provides is of the type Dimensional Planning And
Validation Rule Siemens. Only one instance of this item type is allowed in a Teamcenter
database. This item instance is created by default when creating or upgrading the Teamcenter

2-76 Dimensional Planning and Validation Administration PLM00151 12.0


Defining quality inspection process

database to version 9.0 or later. Therefore, no user can create or delete the instance of this item
type. The rules in the default rule set are password-protected so they cannot be modified.

• Custom rule set


A rule set that you create is of the item type Dimensional Planning And Validation Rule
Set and the dataset attached to it is an item revision of the type Dimensional Planning And
Validation Rule Set Dataset.

Defining feature data in an Excel Engineering workbook

About the sample DPV Excel Engineering workbook


The sample Excel Engineering workbook dpvExcel.xlsx that is provided in the dpv_install.zip file of
the install kit defines the feature data. Use Excel 2003 or later to edit it.

The Excel Engineering workbook sample contains worksheets for defining the features and tolerances
and displaying errors and comments:
• FeatureInfo
Worksheet where you enter all the feature-level information and nominal data of the feature
attributes. Each row represents a different feature. Each feature can have many feature attributes.

• ENGG and DML


Default set of tolerances (specification set) against which the measurement data will be compared
for data collected in ASCII format (ENGG) or Document Markup Language format (DML). It
represents engineering tolerances. You can add additional worksheets containing other sets of
specifications. The name of the sheet is the same as the specification set.

• Discrepancy worksheets
The default rule set creates a worksheet called Discrepancy to display any validation errors,
such as if you entered a name that contains characters that are not allowed. A custom rule
set also creates a tab (usually named User Discrepancy) to display custom validation errors,
such as if you entered a name that is inconsistent with your company’s standards. When you
correct errors in the feature data, the corresponding entries are deleted from the Discrepancy
and User Discrepancy worksheets.
Working with validation errors

PLM00151 12.0 Dimensional Planning and Validation Administration 2-77


Chapter
Chapter 2: 2: Defining
Defining quality
quality inspection
inspection process
process

• Comment worksheets
You can add comment worksheets or comment columns to the DPV Excel Engineering workbook
to assist you in understanding the entered data. Comment columns must be added after all
other required columns.

Tip
Use Excel functionality, such as sorting and filtering, to help you enter and manage the data.

Add feature data to a DPV Excel Engineering workbook


The sample DPV Excel Engineering workbook dpvExcel.xlsx provided in the dpv_install.zip file of
the install kit defines feature data. About the sample Excel file.

Note
Names of features must be unique within the routine.

Tip
• Use Excel functionality, such as sorting and filtering, to help you enter and manage
the data. In addition, to keep the headers visible when scrolling in the worksheet,
freeze the pane.

• Hide rows and columns in the workbook as you need to assist in entering data. All
validation rules still work regardless of whether or not the rows and columns are visible.

• Do not delete required columns.

• Add comment worksheets or comment columns to the DPV Excel Engineering


workbook to assist you in understanding the entered data. Comment columns must be
added after all other required columns.

1. Do one of the following:


• Create a DPV Excel Engineering workbook, create a dataset, and import it into Teamcenter.

Note
Use the dpvExcel.xlsx sample file located in the dpv_install.zip to get started.

• Edit an existing DPV Excel Engineering workbook.

Note
For the Dimensional Planning and Validation rule set validation to be triggered, you
must work with the DPV Excel Engineering workbook inside of Teamcenter.

2-78 Dimensional Planning and Validation Administration PLM00151 12.0


Defining quality inspection process

2.

3. In the FeatureInfo worksheet, fill in the following information to define features and feature
attributes.

In the Excel column Labeled Do the following

Feature-level information
A Feature ID Leave blank. DPV validation
automatically creates it.

Note
Used internally by
DPV.

B Feature Label Enter a name for the feature.

Note
• Enter only
alphanumeric
characters. Do
not use special
characters.

• The feature
name is used
for reporting.

C Feature Type Specify the feature type used


in datum transformation:
• Point

• Hole

• Pin

• Slot

• Tab

PLM00151 12.0 Dimensional Planning and Validation Administration 2-79


Chapter
Chapter 2: 2: Defining
Defining quality
quality inspection
inspection process
process

In the Excel column Labeled Do the following

D Alt Feature Label Set an alternative name for the


feature for systems that may
have length requirements so
you can enter another name
by which to reference the
feature.

Note
The alternate
feature label
is used in the
Analysis window
in DPV Reporting
& Analysis and in
DPV ETL if a feature
cannot be identified
by the feature label.

E Feature Description Enter a description for the


feature.
F Active status Enter whether or not DPV ETL
and DPV Reporting & Analysis
should process data for this
feature. Enter either:
• Y – Process the data.

• N – Do not process the


data.
G Need Set what DPV ETL should do
if the feature is not present.
H Loading Split ID Enter the Loading Split ID
to which this feature should
be assigned. Loading Split
ID indicates that the data
from different loading split
IDs should be merged into
one event. Learn more about
splitting feature data, including
an example.
If the features are collected in
a single event, leave Loading
Split ID blank (or empty).

2-80 Dimensional Planning and Validation Administration PLM00151 12.0


Defining quality inspection process

In the Excel column Labeled Do the following

Note
There is no limit
to the number of
files to be merged.
Assign each split
a different name.
For example,
Left, Right, Top,
Bottom, Middle,
and so on.

I, J, K, L, M, N, O, P, and Q X, Y, Z, I, J, K, I2, J2, and K2 Enter the nominals X, Y, Z, I,


J, K, i2, j2, and k2.

Note
• X, Y, and Z are
the anchor point
coordinates
used in
interactive
reporting.

• i, j, and k are the


vector normal
direction.

• I2, J2, and K2


are the second
vector normal
direction for
slots.

• Nominals
cannot be the
same as the
specification
limits USL,
LSL, and
Target. Add
specifications.

• All child
elements
of feature

PLM00151 12.0 Dimensional Planning and Validation Administration 2-81


Chapter
Chapter 2: 2: Defining
Defining quality
quality inspection
inspection process
process

In the Excel column Labeled Do the following

nominals are
required. If
there are no
i2, j2, and k2
values, enter
the feature
nominals
with empty
elements.

Attribute-level information
For each attribute, enter its name under the Attributen header.
R (for attribute 1) Significance Enter the significance of the
feature attribute:
• 0 – Insignificant

• 1 – Significant

Note
If this value is blank,
data is not loaded
through the extract,
translate, and load
(ETL) process.

S (for attribute 1) Measurement Select how the coordinate


measuring machine (CMM)
probe measures a point for:
• Surface - Takes into
account the actual vector
of the measured geometry.

• Vector - Takes the nominal


vector.

DPV Reporting & Analysis


uses the information for datum
transformation calculations.
T (for attribute 1) Need Set what DPV ETL should do
if the attribute is not present.

2-82 Dimensional Planning and Validation Administration PLM00151 12.0


Defining quality inspection process

In the Excel column Labeled Do the following

U (for attribute 1) Nominal The ideal nominal value of


each attribute.

Note
Typically, 0 for
deviations.

4. (Optional) Add specifications.

5. Choose File→Save.
A message appears asking you if you want to save the workbook as a macro-free workbook.

6. Click Yes.

Define derived features


A derived feature calculates its value from two or more existing features or feature attributes based
on a mathematical expression (for example, a derived feature midpoint between two feature attributes
could be used to examine variability between the two). The classification accuracy of tolerances
based on derived features is typically higher than that of the original features.
A derived feature can only have derived feature attributes in it. It cannot have any normal attributes
(X_DEV, Y_DEV, and so on).

Note
• There can be only one derived feature attribute per derived feature.

• Derived features are not supported when importing feature data through an .xml file.
You can only define the derived feature while editing in Excel.

• Rules for handling mid and reference points.

1. Edit an existing DPV Excel Engineering workbook.

2. To add a derived feature, enter the derived feature name and set its type to Derived in the
Feature Type column (column C). This derived feature would not have any normal attributes. It
has only derived attributes, as shown in the example:

3. To add a derived attribute, add four columns as if creating a new attribute (a set of four columns:
Significance, Measurement Approach, Need, and Nominal.)

PLM00151 12.0 Dimensional Planning and Validation Administration 2-83


Chapter
Chapter 2: 2: Defining
Defining quality
quality inspection
inspection process
process

Note
The columns must be in the order specified.

4. Add a fifth column after Nominal called Expression, as shown in the example.

Note
This column would be under the same heading (attribute code merged cell) as the
other four columns.

5. Set the attribute code.

6. Type the expression using the feature label and attribute codes, enclosing the attributes in square
brackets [], as shown in the example.

Example
For example, [ftr_1.attr_1]*[ftr_1.attr_2]

2-84 Dimensional Planning and Validation Administration PLM00151 12.0


Defining quality inspection process

Note
• Separate the feature label and attribute code using a dot.

• Every feature attribute should be enclosed with square brackets []:


[Rout2PlTest1.X_DEV]*[Rout2PlTest2.X_DEV]

• The mathematical expressions can include the following functions:

Note
Adding specification set codes to derived attributes is the same as setting
them for a normal attribute. Make sure that the Derived:<att_code>
is placed in the header and define the specifications in the appropriate
sheet.

The function With the symbol


add +
subtract -
divide /
multiply *
sine sin()
cosine cos()
tangent tan()
inverse sin asin()
inverse cosine acos()
inverse tangent atan()
raise to power n ^n
square root sqrt()
absolute value abs()

7. Save the workbook.

Rules for derived features of mid and reference points

Midpoint expression

The syntax to define a midpoint expression is:


MID_POINT([FEATURE_NAME],[FEATURE_NAME], I=x.xx,J=x.xx,K=x.xx)
Required
[FEATURE_NAME],[FEATURE_NAME]

PLM00151 12.0 Dimensional Planning and Validation Administration 2-85


Chapter
Chapter 2: 2: Defining
Defining quality
quality inspection
inspection process
process

Specify the two features for the midpoint.


Optional
I=x.xx,J=x.xx,K=x.xx

Reference point expression

REF_POINT([FEATURE_NAME],X=x.xx,Y=x.xx,Z=x.xx, I=x.xx,J=x.xx,K=x.xx)
Required
Either [FEATURE_NAME] or X=x.xx,Y=x.xx,Z=x.xx
X=x.xx,Y=x.xx,Z=x.xx takes precedence over the feature name.
Optional
Either [FEATURE_NAME] or X=x.xx,Y=x.xx,Z=x.xx
I=x.xx,J=x.xx,K=x.xx
For a reference point, either the feature name or the X, Y, and Z components must be specified.
• If X, Y, and Z are specified, they define the reference location; otherwise, a feature name must be
specified.

• If both a feature name and X, Y, and Z are specified, X, Y, and Z take precedence and define the
feature location. If either X, Y, or Z are not specified and feature label is specified, the feature
label takes precedence.

Defining specifications in an Excel spreadsheet

About defining specifications in a DPV Excel Engineering workbook

Add specification types and limits to feature attributes. Specification types and limits set the
deviations that are allowed from the nominal values. You set the specifications within the context
of a particular routine. DPV provides the default specifications in the ENGG and DML worksheets
in the dpvExcel.xlsx sample workbook. You can add additional worksheets containing other sets
of specifications. The name of the sheet is the same as the specification set. You can alsospecify
one-sided tolerances so DPV Reporting & Analysis ignores one side when performing Statistical
Process Control (SPC) calculations.
You set user-defined specification codes to define the specification types. DPV Reporting & Analysis
and historical reporting (DPV-SSAS) use the codes to determine which specification limits to use
when performing SPC calculations. You can change between specification sets in DPV Reporting &
Analysis by setting the properties of a result set.
If you do not define the specifications, summary calculations on the measurement data on which
the specifications are based are not performed.
Define specifications in a DPV Excel Engineering workbook

Define specifications in a DPV Excel Engineering workbook

1. Do one of the following:

2-86 Dimensional Planning and Validation Administration PLM00151 12.0


Defining quality inspection process

• Create a DPV Excel Engineering workbook using the dpvExcel.xlsx sample file, create a
dataset, and upload it to Teamcenter.

• Edit an existing DPV Excel Engineering workbook.

Note
• For the DPV rules validation to be triggered, you must work with the workbook
though Teamcenter.

• If you have already created feature and attributes in the DPV Excel Engineering
workbook and DPV rule set validation is configured, the worksheet is already
populated with the feature and its attributes. All you will need to do is to add the
tolerance information.

2. Activate the DPV rule set validation,

3. Create or rename a worksheet to define one or more of the following specification limit values.
Name the worksheet the name of the type of specification being defined.

Note
• If you enter a name for the specification worksheet that is not defined in the custom
validation rule, the sheet is created as a comment sheet.
Create a custom DPV validation rule set.

• Target, LSL, and USL are mandatory fields. LSL and USL can be zero but they
cannot be null.

Use this column To do this


Feature Label Enter the name of the feature to be associated
with the specification.

Note
• If you have already created
feature and attributes in the
workbook and DPV rule set
validation is activated, the
worksheet is already populated
with the feature name.

• The label must match the list on


the FeatureInfo tab.

PLM00151 12.0 Dimensional Planning and Validation Administration 2-87


Chapter
Chapter 2: 2: Defining
Defining quality
quality inspection
inspection process
process

Use this column To do this


Attributen In the row under this header, enter the name
of the attribute.

Note
If you have already created feature
and attributes in the workbook and
DPV rule set validation is activated,
the worksheet is already populated
with the attributes.

LSL Set the lower value for the specification limit.


This is a real number.
If you have one-sided tolerances, you can
also enter -1E+08 to have DPV Reporting &
Analysis ignore the specification limit.
Target Set the target value. This is a real number.

Note
• For build-to-normal scenarios,
the target value is equal to the
nominal.

• For functional-build scenarios,


the target value allows a
manufacturing target to be set
that differs from the design
nominal.
The functional build philosophy
states that the relationship
between parts is important, not
the individual parts. Therefore,
it is not always necessary to
build each part to nominal.
Rather, the target value for one
part can be matched to the
mean value of another.

USL Set the upper value for the specification limit.


This is a real number.
If you have one-sided tolerances, you can
also enter -1E+08 to have DPV Reporting &
Analysis ignore the specification limit.

2-88 Dimensional Planning and Validation Administration PLM00151 12.0


Defining quality inspection process

4. (Optional) Add worksheets containing the feature attributes whose control limits you want to
freeze, as shown in the table. You must name the worksheets exactly as shown.

Type of chart for which this Area of the chart to which


Workbook sheet label
sheet freezes limits frozen limits apply
R_CL X-Bar and R XBar

X_CL X-Bar and R Range

IMR_L I_MR IBar


IMR_R I_MR Moving Range

The following is an example of a workbook with the worksheets and a limit set for the CN26
feature attribute .

5. Choose File→Save.
A message appears asking you if you want to save the workbook as a macro-free workbook.

6. Click Yes.

Setting one-sided tolerances

If your result set has one-sided tolerances, you can specify that either the upper (USL) or lower (LSL)
specification limits be ignored by entering -1E+08 in the appropriate field in the DPV Excel Engineering
worksheet. When you enter -1E+08 as a specification limit, DPV Reporting & Analysis ignores that
side of the tolerance when calculating its three outputs: Cpk, Ppk, and the estimated percent out of
spec. For example, this would be helpful if you wanted to ignore processes in which lower and upper
specifications are unacceptable or are not applicable, such as the one-sided diameter of a hole.
The following shows an example of setting USL to -1E+08 for the CN0026 feature and the results
that appear in the DPV Reporting & Analysis Analysis window.

PLM00151 12.0 Dimensional Planning and Validation Administration 2-89


Chapter
Chapter 2: 2: Defining
Defining quality
quality inspection
inspection process
process

Defining frozen control limits

To better support situations in which your process is tightly controlled and you do not want calculated
control limits to appear in in DPV Reporting & Analysis, you can freeze specification limits for
individual feature attributes. This option ensures that the DPV Reporting & Analysis uses only those
frozen limits and does not recalculate limits for every new query or data source update.
In the DPV Excel Engineering workbook, add the following workbook worksheets to contain the
control limits for specific feature attributes.

Type of chart for which this Area of the chart to which


Workbook sheet label
sheet freezes limits frozen limits apply
R_CL X-Bar and R XBar
X_CL X-Bar and R Range
IMR_L I-MR IBar
IMR_R I-MR Moving Range

The frozen worksheet labels appear as specification limit types in the Spec Limit list in the Analysis
window:

The following is an example of a workbook with the worksheets and a limit set for a feature attribute of
CN26.

2-90 Dimensional Planning and Validation Administration PLM00151 12.0


Defining quality inspection process

Defining feature data in an .xml file

About defining feature data in an .xml file


The tasks to define feature data in an .xml file include:
• Adding feature data to an .xml file.

• Importing feature data from an .xml file.

Tip
You can also define custom feature attributes.

Add feature data to an .xml file


Using the table of XML elements for reference, add the elements and attributes to an .xml file to
define feature data. A template is available in the dpv_install.zip file in the DPV installation kit.

Note
This sample .xml file contains three features. The first two features already exist in
Teamcenter (they have a non-blank IDs) and are being modified, while the third feature is
being added (its ID is blank). The second feature defines attributes for Z_DEV, X_ACT,
and Y_DEV.

The hierarchy of the .xml file is:


Routine — <routine> tag.
Feature — <feature> tag. A routine can have zero or
more features.
Feature nominals — <feature_nominals> tag.

PLM00151 12.0 Dimensional Planning and Validation Administration 2-91


Chapter
Chapter 2: 2: Defining
Defining quality
quality inspection
inspection process
process

Only one per feature.


Attributes — <attribute> tag. A feature has zero or more
attributes.
Spec limits — <tolerance> tag. An attribute has zero or
more spec limits.

Tip
Before starting you may want to define custom feature attributes.

1. Create an .xml file in an XML or text editor. Enter the following, which acts as a container for the
feature data and is common for any .xml file.
<?xml version=”1.0” encoding=UTF-8”?>

<engineering_data version=”1.0”>

</engineering_data>

2. Within engineering_data, add the routine element.


<?xml version=”1.0” encoding=UTF-8”?>

<engineering_data version=”1.0”>
<!—-Add routine element here-–>

</engineering_data>

A routine is identified by its item ID (id), name (name), and revision (version). For a detailed
explanation, see the table of XML elements.

Note
The routine element helps you manage the .xml file. It tells you which routine the
feature data belongs to. It does not perform any real function.

Example
<routine id="000036" name="Routineg1_1" version="A">

</routine>

3. Within the routine element, add the feature data.


<?xml version=”1.0” encoding=UTF-8”?>

<engineering_data version=”1.0”>
<routine id="000036" name="Routineg1_1" version="A">
<!—-Add feature data here-–>
</routine>

</engineering_data>

2-92 Dimensional Planning and Validation Administration PLM00151 12.0


Defining quality inspection process

Feature data consists of feature elements—one element for every feature to be added to the
routine. Each feature has properties (name, alternate name, type, status, need, description,
and loading split ID) that are attributes of the feature element. For a detailed explanation, see
the table of XML elements.

Example
<feature name="featg2" alternate_name="g2" type="Slot"
status="active" need="OPTIONAL"
description="Another feat"
loading_split_id="value">

4. Within the feature element, add feature content.


<?xml version=”1.0” encoding=UTF-8”?>

<engineering_data version=”1.0”>
<routine id="000036" name="Routineg1_1" version="A">
<feature name="featg2" alternate_name="g2" type="Slot"
status="active" need="OPTIONAL"
description="Another feat"
loading_split_id="value">
<!—-Add feature content here-–>
</feature>
</routine>

</engineering_data>

Feature content consists of feature nominals and attributes, which have tolerances.

• Feature nominals
Feature nominals consist of X, Y, Z, I, J, K, I2, J2, and K2. For a detailed explanation, see
the table of XML elements.

Example
<feature_nominals>

<x>0</x>

<y>0</y>

<z>0</z>

<i>0</i>

<j>0</j>

<k>0</k>

<i2>0</i2>

<j2>0</j2>

PLM00151 12.0 Dimensional Planning and Validation Administration 2-93


Chapter
Chapter 2: 2: Defining
Defining quality
quality inspection
inspection process
process

<k2>0</k2>

</feature_nominals>

Note
All child elements of feature nominals are required. If there are no i2, j2 and k2
values, enter the feature nominals with empty elements as follows:
<feature_nominals>

<x>0</x>

<y>0</y>

<z>0</z>

<i>0</i>

<j>0</j>

<k>0</k>

<i2></i2>

<j2></j2>

<k2></k2>

</feature_nominals>

• Feature attributes
Each feature has a set of attributes. Each attribute is captured as an attribute element. The
attribute properties include type, significance, need, measurement approach, and nominal,
which appear as attributes of the element. For a detailed explanation, see the table of XML
elements.

Tip
You can define custom feature attributes.

Example
<attribute type="X_ACT" significance="value"
need="OPTIONAL" measurement_approach="value"
nominal="9.0">

</attribute>

• Tolerance

2-94 Dimensional Planning and Validation Administration PLM00151 12.0


Defining quality inspection process

Each attribute has a set of specifications defined. Each specification is defined using a
tolerance element. For a detailed explanation, see the table of XML elements.
The tolerance element has spec_set_code as an attribute, indicating the name of the
specification set. The USL, LSL, and target are captured as child elements.

Example
<tolerance spec_set_code="ENGG">
<usl>1.2</usl>
<lsl>2.1</lsl>

<target>0</target>

</tolerance>

5. Repeat this process to add as many tolerances to the attribute, as many attributes to the feature,
and as many features to the routine as required.

Table of XML elements

Note
Although some of the values in the elements are optional (for example, i2, j2, k2), you
should keep the values in the .xml file. Leave them blank if you do not want to use them.

Use this element With these attributes To do this


engineering_data version Identify the version of the
engineering format data
schema. Do not change the
value.

routine id Provide an identifier to define


the routine.
Note
The routine
information helps
you track the routine
name Identify the routine.
to which the .xml
file belongs. It
performs no real
function. The actual
routine information
is obtained from

PLM00151 12.0 Dimensional Planning and Validation Administration 2-95


Chapter
Chapter 2: 2: Defining
Defining quality
quality inspection
inspection process
process

Use this element With these attributes To do this


the Manufacturing version Provide the application version
Process Planner persistent identifier used to find
when you import the the routine in the Teamcenter
.xml file. database.

feature name Identify the feature.

Note
• Enter only
alphanumeric
characters. Do
not use special
characters.

• The feature
name is used
for reporting.

alternate_name Provide an alternative name


for systems that have length
requirements so you can enter
another name by which to
reference the feature.

Note
The alternate feature
label is used in the
Analysis window
in DPV Reporting
& Analysis and in
DPV ETL if a feature
cannot be identified
by the feature label.

type Specify the type of feature:


• Point

• Hole

• Pin

• Slot

• Tab

2-96 Dimensional Planning and Validation Administration PLM00151 12.0


Defining quality inspection process

Use this element With these attributes To do this


status Indicate whether or not the
feature is active or inactive.
An inactive feature does not
show up in queries even if there
is data for the feature. It is
also excluded from summary
calculations.
Values are:
• Y - Process the data.

• N - Do not process the data.


description Provide a description of the
feature.
need Set what DPV ETL should do if
the feature is not present.
feature (continued) loading_split_id Enter the loading split ID to
which this feature should be
assigned.
loading_split_id is used
when data for a routine is not
collected in a single file but in
several. You can merge the
files into one event stored in
the Teamcenter measurement
database. Learn more about
defining split events, including
an example.
If the features are collected
in a single event, leave
loading_split_id blank (or
empty).

Note
There is no limit to
the number of files to
be merged. Assign
each split a different
name. For example,
Left, Right, Top,
Bottom, Middle, and
so on.

PLM00151 12.0 Dimensional Planning and Validation Administration 2-97


Chapter
Chapter 2: 2: Defining
Defining quality
quality inspection
inspection process
process

Use this element With these attributes To do this


attribute type Enter the attribute code.
significance Enter the significance of the
feature attribute:
• 0 – Insignificant

• 1 – Significant
measurement_ Select how the coordinate
approach measuring machine (CMM)
probe measures a point for:
• Surface – Takes into
account the actual vector of
the measured geometry.

• Vector – Takes the nominal


vector.

DPV Reporting & Analysis


uses the information for datum
transformation calculations.
need Set what DPV ETL should do if
the feature is not present.
nominal Specify the nominal value for
the attribute. This is a real
number.
tolerance spec_set_code Enter a character string to
define the type of specification.

Note
Enter any string for
the specification.
Note that if you make
a typographical error,
it defines a new
specification code.

About defining specifications


in a DPV Excel Engineering
workbook.
Specify the upper value for the
usl
spec limit. A real number.
Specify the lower value for the
lsl
spec limit. A real number.

2-98 Dimensional Planning and Validation Administration PLM00151 12.0


Defining quality inspection process

Use this element With these attributes To do this


target Specify the target value. A real
number.
feature_nominals x Specify the nominal value for
the feature.
Note y Specify the nominal value for
the feature.
• All values are
real numbers. z Specify the nominal value for
the feature.
• All feature I Specify the nominal value for
nominal the feature.
attributes are j Specify the nominal value for
case sensitive. the feature.
You must
enter them as k Specify the nominal value for
lowercase. the feature.
i2 Specify the nominal value for
• Although some the feature.
of the values j2 Specify the nominal value for
in the elements the feature.
are optional (for
example, i2, j2, k2 Specify the nominal value for
k2), you should the feature.
keep the values
in the .xml file.
Leave them
blank if you do
not want to use
them.
<feature_
nominals>
<x>0</x>
<y>0</y>
<z>0</z>
<i>0</i>
<j>0</j>
<k>0</k>
<i2></i2>
<j2></j2>
<k2></k2>
</feature_
nominals>

PLM00151 12.0 Dimensional Planning and Validation Administration 2-99


Chapter
Chapter 2: 2: Defining
Defining quality
quality inspection
inspection process
process

Example .xml file


The sample .xml file contains three features. The first two features already exist in Teamcenter (they
have a non-blank IDs) and are being modified, while the third feature is being added (its ID is blank).
The second feature defines attributes for Z_DEV, X_ACT, and Y_DEV.

Managing feature data files

Create a dataset and import feature data


Create a Dimensional Planning And Validation Excel dataset to store the feature data. As you
create the dataset, you can optionally import a DPV Excel Engineering workbook containing the data.

Note
There is only one dataset for a routine.

1. In the Manufacturing Process Planner, click the tab associated with the process structure.

2. Select the routine for which you want to create the dataset.

3. Choose File→New→Dataset.

4. From the Type list, select Dimensional Planning And Validation Excel.

5. Assign a name and description to the dataset.

6. Import a DPV Excel Engineering workbook containing feature data by doing the following:

a. Next to the Import box, click Browse .

b. Browse for the file and click OK.

c. Click OK.

d. (Optional) Associate the dataset with a custom rule set.

Upload feature data into an existing DPV Excel dataset


Places the uploaded feature data into an existing Dimensional Planning And Valdiation Excel
dataset.

Note
You must save the DPV Excel Engineering workbook as an .xslx file before you can
upload it.

1. In Manufacturing Process Planner, click the tab associated with the process structure.

2. Right-click the process, and choose Open with→Attachments.

2-100 Dimensional Planning and Validation Administration PLM00151 12.0


Defining quality inspection process

The Attachment view appears.

3. In the Attachments view, right-click the existing data set associated with the routine, and choose
Named References.

4. In the Named References dialog box, choose Upload.

5. Browse for the DPV Excel Engineering workbook and click Upload.

Import feature data from XML


You can import an .xml file containing feature data. Teamcenter creates a Dimensional Planning
And Validation Excel dataset to store the data in the DPV Excel Engineering format. It associates
the dataset it creates with a DPV validation rule set. If no DPV validation rule set is available, the
DPV Excel Engineering dataset is not added to the routine revision and an error message appears.
1. In Manufacturing Process Planner, select the routine revision with which you want to associate
the feature data.

Note
Do not select the routine revision on the Attachments page.

2. Choose Tools→Import Feature Data.


The Import Feature Data dialog box appears.

3. Assign a name and description to the dataset.

4. Enter the location and name of the file (.xml).

Note
Click to browse for the file.

5. Select a rule set to associate with the dataset.

PLM00151 12.0 Dimensional Planning and Validation Administration 2-101


Chapter
Chapter 2: 2: Defining
Defining quality
quality inspection
inspection process
process

6. Click OK.

Add feature data to an .xml file


Defining feature data in an Excel Engineering workbook
About DPV feature data validation

Edit an existing Excel Engineering dataset

Tip
Use Excel functionality, such as sorting and filtering, to help you enter and manage the data.
In addition, set freeze pane to keep the headers visible when scrolling in the worksheet.

1. In Manufacturing Process Planner, click the tab associated with the process structure (bill of
process).

2. Right-click the process, and choose Open with→Attachments.


The Attachment view appears.

3. In the Attachments view, double-click the DPV Excel Engineering dataset.

4. Activate the DPV rule set validation,


Learn more about DPV feature data validation.

5. Edit the dataset.

6. Choose File→Save.
A message appears asking you if you want to save the workbook as a macro-free workbook.

7. Click Yes.

Generating engineering data from measurement data

Generating engineering data from measurement data


DPV users and administrators can use the XML Generation stand-alone utility to generate engineering
data from a measurement data file. The result is an Excel Engineering workbook with all the
engineering data from the data file. The XML Generation utility is installed when you install DPV ETL.
To generate an Engineering Excel workbook, you must enter the following files:
• Measurement data file

• Parsing script

• (Optional) Common code script

You can also enter the following, if required:


• Plant, device, and routine configuration files

2-102 Dimensional Planning and Validation Administration PLM00151 12.0


Defining quality inspection process

• Encoding

• Attribute rules XML file

Generate engineering data


1. From the Start menu, choose All Programs→Factory Link→XML Generation Utility.

2. In the Select Measurement Data File box, enter the path to the data file from which the
Engineering Excel workbook will be created.

3. In the Select Parsing Script box, enter the path to the parsing script for the selected data file.
The parsing script is compiled internally and the data is parsed using the methods in this parsing
script.

4. (Optional) In the Select Common Script box, enter the path to the common code script for
the selected data file.

5. (Optional) In the Optional inputs section of the XML Generation Utility dialog box, enter the
following:
• Routine, Device, or Plant Configuration files
These are input script parameters for the parsing script.
These configurations files are extracted from Teamcenter and are in the folder on the ETL
server:
DPVRoutine/ DPVDevice folders in the %DPVETLENTAPP%/DPV folder.

• Encoding
This input is required only for data files of type PCDMIS 3.1. This file has special characters,
such as NOME DA PEÇA, SÉRIE, NÚMERO, and so on. To correctly read and parse this
file, encoding should be set to UTF7 either in the device configuration file or through this

PLM00151 12.0 Dimensional Planning and Validation Administration 2-103


Chapter
Chapter 2: 2: Defining
Defining quality
quality inspection
inspection process
process

input. If the encoding is not set, these special characters cannot be read and are interpreted
incorrectly.

• Attribute Rules XML


This is required only if the feature attributes are not listed separately in the data file and
are instead embedded in the feature name. To extract the feature attribute code from the
feature name these rules will be applied.
Learn about the attribute rules XML file.

6. Click Generate Engineering XML.

Feature item types

The following types are available for features:


• Point

• Feature

• Hole

• Pin

• Slot

• Tab

Defining if a feature or feature attribute is needed

The following table explains the options you can set for need in the DPV feature data definition.

If set to DPV ETL does the following


Required Creates a load error when the feature or feature
attribute is not present.
Planned Creates a warning when the feature or feature
attribute is not present, but marks the loading of
the data as successful.
Optional Does not generate a warning if the feature or
feature attribute is not present , and marks the
loading of the data as successful.

Defining split events

Often feature data for a routine is not collected in a single file but in several. You can merge the
files into one event that is stored in the Teamcenter measurement database. In the DPV Excel
Engineering workbook and the XML feature data, a loading split ID represents the events (loading
splits) that should be merged into one event as shown in the figure.

2-104 Dimensional Planning and Validation Administration PLM00151 12.0


Defining quality inspection process

Data about the split event is not available in reports or DPV-SSAS until all the required split event
data is in the Teamcenter measurement database. You can, however, use DPV Reporting & Analysis
to query and view event data before it is all collected by setting the Event Type parameter to H
in the Query list.

Example
If the left side of a car is stored in one file and the right side in a separate file, enter the
following for Loading Split ID:
• LeftSide for all features that are part of the left side.

• RightSide for those belonging to the right side.

Because these are the only two groups of measurements to be merged, each feature
belongs to either LeftSide or RightSide (there should be no features without a loading
split ID).
When the extract, translate, and load (ETL) processing encounters a split event, it stores
the data for the side received first into the Teamcenter measurement database. When the
other side is measured, its data is merged into the data for the first side.

There is no limit to the number of files to be merged. Assign each split a different name. For example,
Left, Right, Top, Bottom, Middle, and so on.

Note
• There is no limit to the number of files to be merged. Assign each split a different
name. For example, Left, Right, Top, Bottom, Middle, and so on.

• The ETL process is not sensitive to the actual characters used.

• The threshold set in the DPV Enterprise Configuration Explorer to define how extra
feature attributes are handled applies to split events. If a measurement data job
arrives with extra feature attributes, the number of feature attributes used to determine
the percentage of the threshold is based on the split in the DPV Engineering Excel
workbook. For example, if the job is a LH job, the number of feature attributes used to

PLM00151 12.0 Dimensional Planning and Validation Administration 2-105


Chapter
Chapter 2: 2: Defining
Defining quality
quality inspection
inspection process
process

determine the percentage calculation for the threshold is defined by the LH feature
attributes in the workbook.

Standard attribute codes

Attribute code Description


AB Angle between
AN Angularity
ANGLE Angle
AV Parallelism
Co Concentricity
COA Coaxiality
DEV Deviation
DFLT Default attribute
DIA Diameter
DS Distance
D_DEV Dia deviation
FLDIF Flush difference
FLS Flush
FLT Flatness
FPS Feet per second
GAP Gap
HEI Height
IRLCL IMR R Low Cont Lim
IRUCL IMR R Up Cont Lim
IXLCL IMR X Low Cont Lim
IXUCL IMR X Up Cont Lim
LCL Lower Control Limit
LEN Length
LO Location
LSL Lower spec Limit
MS1 Miscellaneous 1
MS2 Miscellaneous 2
MS3 Miscellaneous 3
MS4 Miscellaneous 4
PA Polar angle
PD Dia prep to pin
PER Perpendicularity

2-106 Dimensional Planning and Validation Administration PLM00151 12.0


Defining quality inspection process

Attribute code Description


POR Polar radius
PR Profile
RAD Radius
RN Roundness
RO Runout
RS Dev surface report
RT Dev approach vector
S2S Side-to-side diff
SM Seal margin
STR Straightness
SV Dev surface vector
TPS True position spec
T_NOM Target value
UCL Upper control limit
USL Upper spec limit
VIS Visual check
WID Width
XRLCL Xbar R low cont lim
XRUCL Xbar R up cont lim
XXLCL Xbar X low cont lim
XXUCL Xbar X up cont lim
X_ACT X actual location
X_DEV X direction deviation
Y_ACT Y actual location
Y_DEV Y direction deviation
Z_ACT Z actual location
Z_DEV Z direction deviation
NX NX
NY NY
NZ NZ
I I
J J
K K

PLM00151 12.0 Dimensional Planning and Validation Administration 2-107


Chapter
Chapter 2: 2: Defining
Defining quality
quality inspection
inspection process
process

Revisions and datum transformations

Because it is a dataset, a datum transformation does not have its own revision control. A revision of
the cluster, however, results in the new revision having its own copy of the transformation definition.
This new copy can be modified independent of the definition on the previous cluster revision.

Example
Cluster 1/Revision A –> Transformation Definition 1
Transformation Definition 1 does not have any revision control with respect to Cluster
1/Revision A. If Cluster 1/Revision A is revised, Cluster 1/Revision B has a copy of
Transformation Definition 1. This can be modified without affecting the definition on the
earlier version of the transformation on the cluster’s revision A.
Cluster 1/Revision B –> Transformation Definition 1
This is a copy of Revision A’s definition. Modifications here do not affect the Cluster 1/
Revision A’s datum transformation definition.

Example of a DPVDatumXForm .xml file


<?xml version="1.0" encoding="UTF-8" ?>

<datumXForms version="Tc 8.2">

<datumTransform useFeatureVectors="YES" primaryAxis="X"


secondaryAxis="Y" tertiaryAxis="">
<primaryFeatures>
<feature id="101" x="1" y="1" z="1" i="1" j="1" k="1" i2=""
j2="" k2="" offset="1.2"/>
<feature id="102" x="2" y="2" z="2" i="2" j="2" k="2" i2=""
j2="" k2="" offset="3.6"/>
<feature id="103" x="3" y="3" z="3" i="3" j="3" k="3" i2=""
j2="" k2="" offset=""/>
</primaryFeatures>
<secondaryFeatures>
<feature id="202" x="2" y="2" z="2" i="2" j="2" k="2" i2=""
j2="" k2="" offset=""/>
<feature id="203" x="3" y="3" z="3" i="3" j="3" k="3" i2=""
j2="" k2="" offset=""/>
</secondaryFeatures>
<tertiaryFeatures>
<feature id="301" x="2" y="2" z="2" i="2" j="2" k="2" i2=""
j2="" k2="" offset="4.8"/>
</tertiaryFeatures>

</datumTransform>

</datumXForms>

2-108 Dimensional Planning and Validation Administration PLM00151 12.0


Defining quality inspection process

Table of XML elements for datum transformations

Note
Although some of the values in the elements are optional, you should keep the values in
the .xml file. Leave them blank if you do not want to use them.

Use this element With these attributes To do this


dataXForms version Identify the version of the datum
transformation format data
schema. Do not change the
value.
datumTransform useFeatureVectors Specify whether or not to use
feature vectors:
• YES

• NO

Note
Must be uppercase.

primaryAxis Specify the primary axis:


• X

• Y

• Z
secondaryAxis Specify the secondary axis:
• X

• Y

• Z
tertiaryAxis Specify the tertiary axis:
• X

• Y

• Z
primaryFeatures Holder for the primary features
secondaryFeatures Holder for the secondary
features
tertiaryFeatures Holder for the tertiary features

PLM00151 12.0 Dimensional Planning and Validation Administration 2-109


Chapter
Chapter 2: 2: Defining
Defining quality
quality inspection
inspection process
process

Use this element With these attributes To do this


feature id Identify the feature.
x
y
z
I
j
k

Define triggers

Attach a trigger form to each routine that needs a graphical report created (called a triggered report)
whenever it is processed.
For more information, see Administering reports in the DPV help collection.
1. In Manufacturing Process Planner, click the tab associated with the process structure.

2. Right-click the process, and choose Open with→Attachments.


The Attachments view appears.

3. In the Attachments view, select the routine.

4. Check out and edit the form of the type Dimensional Planning And Validation Trigger
Configuration.

5. In trigger_reports enter the Boolean flag that specifies whether or not to trigger a report for this
routine when a measurement event is received.

6. Set the preference DPV_ccuaservice_url. The value is the URL at which the SSRS Custom
Cache Updating Application (CCUA) is hosted.

7. Click OK.

Define feature mapping

Teamcenter can store the mapping between features across measurement routines so you can
compare measurements from different inspection devices (referred to as device compare). The
mapping can then be retrieved when queried for in DPV Reporting & Analysis.
1. Review the Excel Engineering datasets belonging to the routines to determine the common
features to be mapped.

2. Open the dataset of the first routine.

3. Add a new worksheet with the name FeatureMap and copy the Feature label column from the
FeatureInfo worksheet and paste it in the FeatureMap sheet.

2-110 Dimensional Planning and Validation Administration PLM00151 12.0


Defining quality inspection process

Example
The following shows an example of adding the Feature Label column with three
features.

4. In the FeatureMap worksheet, enter the mapping for the different routines in the columns: one
column per routine with mapped features:
• Enter the routine ID and revision in the same row as the Feature Label heading.

• Enter the feature to which the initial feature is to be mapped in the same row as the initial
feature. Separate the routine ID and revision using a ~ character, as shown in the example.

Note
Only the feature names are used during the mapping. The attributes are not entered in
the mapping worksheet. It is assumed that all the attributes of the respective features
are mapped.

Example
In the following example of an Excel workbook with feature mapping defined, Column
A lists the features that belong to the routine associated with this Excel workbook
(ExampleRoutine). It has three features: ftr1, ftr2, and ftr3. The Columns B and C
list the IDs and revisions of the routines to which these features will be mapped.

In the example:
• ftr1 of ExampleRoutine is mapped to feature5 of the routine with the ID GMO003
and revision 1.

PLM00151 12.0 Dimensional Planning and Validation Administration 2-111


Chapter
Chapter 2: 2: Defining
Defining quality
quality inspection
inspection process
process

• ftr2 of ExampleRoutine is mapped to FTRA of the routine with the ID GMO045


and revision 2.

• There is no mapping for ftr3 in either of these routines.

Note
To delete the feature mapping, delete the worksheet or the row of mapping.

Defining custom feature attributes

About adding custom feature attributes and rules


Dimensional Planning and Validation provides a standard set of feature attributes. You can also add
feature attributes to match your company's measurement data or modify existing ones:
To add custom feature attributes and rules, do the following as shown in the figure:
1. Add the new feature attribute to the routine definition in Teamcenter.
The routine contains a list of all the valid attribute codes for that particular routine. DPV ETL uses
this list during the validation task (DPV Validate) to verify the measurement data that it gets
from the parser task (DPV Parser).

2. (Optional) Add the new attribute to the DPV List of Values (LOV) through the Business Modeler
IDE (Integrated Development Environment), a tool for configuring and extending Teamcenter.
This is required only if you want the attribute code to be transformed to its abbreviation when a
user queries for it in DPV Reporting & Analysis.

3. (Optional) Define a rule to extract the feature attribute data from the measurement file.
If your custom attribute name is not explicitly specified in the raw data measurement file, you need
to create a rule in the attribute rules XML file to specify how to extract it. For example, if its name
is contained within the feature label, you need to define a rule that specifies how to extract it. You
can easily read and modify the attribute rules XML file using the Attribute Rules XML Editor.

4. (Optional) Place the updated attribute rules XML file on a server that can be accessed by various
DPV ETL servers in the deployment.

Note
The location of the attribute rules XML file was specified during the installation of DPV
ETL. You can change it using the DPV ETL Configuration Editor.

DPV Parser reads the raw measurement data file using the device-specific parsing script. This
data is then passed in a common XML format (DML) to DPV Validate for validation of data. The
correct data, including the new attribute, is inserted into the SQL database. From there, DPV
Reporting & Analysis and Teamcenter community collaboration access the data for viewing
and analysis.

2-112 Dimensional Planning and Validation Administration PLM00151 12.0


Defining quality inspection process

See Flow of data from shop floor to DPV in the DPV online help.

Note
• You may need to modify the associated parsing script to correctly parse the new
attribute type.

• For filtering in the DPV-SQL Server Analysis Services (DPV-SSAS) and SQL
Server Reporting Services (SSRS), clusters must be created in DPV-SSAS and
SSRS.

5. Restart DPV ETL.

Add the custom feature attribute to the routine definition

As described in Adding features, add the new feature attribute to the definition of the routine in
Teamcenter. The process is the same as for adding a standard attribute code:
1. Open the Excel Engineering workbook associated with the routine, and add the custom feature
attribute definition to it as you would any standard attribute.

2. Export the measurement routine definition to DPV ETL.

PLM00151 12.0 Dimensional Planning and Validation Administration 2-113


Chapter
Chapter 2: 2: Defining
Defining quality
quality inspection
inspection process
process

(Optional) Add the feature attributes to the list of values in Business Modeler IDE

If you want the attribute code to be transformed to its abbreviation in DPV Reporting & Analysis, add
the new feature attributes to the DPV list of values (LOV). If you do not require this transformation,
you do not need to add the attribute code to the LOV.

Example
To transform the attribute code X_DEV to its abbreviation X in DPV Reporting & Analysis,
create a value in the LOV made up of its code and abbreviation separated by a ~ character
(X_DEV~X).
When the data in the data file comes in as X_DEV, it is transformed to X when sent to DPV
Reporting & Analysis in a query.

Note
For more information about using the Business Modeler IDE, see the Configure your
business data model in BMIDE.

Start the Business Modeler IDE and create a new project

1. Click Start and choose Programs→Teamcenterxxx→Business Modeler IDE.

2. Choose File→New→Project.

3. In the New Project wizard, expand Business Modeler IDE and select New Business Modeler
IDE Template.

4. Click Next.

5. Type a Project Name, for example, AddNewFtrAttrtoLOV.

6. Click Next.

7. In the Prefix box, type a prefix to use for the project. This prefix is placed on every data model
item you create to identify it as belonging to this project.

8. Next to the Dependent templates directory box, click Browse and browse for the following
location containing the Dimensional Planning and Validation templates, where xxx is the version
of Teamcenter:
install_dir/Program Files/Siemens/Teamcenter/Tcxxx/bmide/templates

9. Click OK.

10. In the Dependent Templates pane, select the following templates:


• Foundation

• Customization for eM-Server Integration

2-114 Dimensional Planning and Validation Administration PLM00151 12.0


Defining quality inspection process

• Database Configuration for DPV

11. Click Finish.


The templates load. This may take a while.

Add a value to the LOV


1. Access the Advanced perspective by choosing Window→Open
Perspective→Other→Advanced.

2. In the Extensions view, expand the project you just created until you see the LOV folders
displayed.

3. Double-click DPVFtrAttCode.
The LOV appears. All its values appear in the Details view.

4. To the right of the value table, click Add.

5. In the Add LOV Value dialog box, in the Value box, type a value and its abbreviation separated
by a ~ character.

Example
To define New Width, with the value NWID and the abbreviation NW, enter NWID~NW.

6. Click Finish.

Save the project and deploy it to Teamcenter


1. Choose BMIDE→Save Data Model and click OK.

2. Set the following, if necessary:


• Ensure that the Teamcenter server is running and that the
BMIDE_ALLOW_FULL_DEPLOYMENT_FROM_CLIENT preference on the server is set
to TRUE, which is the default.
To access preferences in the My Teamcenter application within the Teamcenter rich client,
choose Edit→Options and at the bottom of the Options dialog box, click Search.

• Define a server connection profile, which specifies the Teamcenter servers to connect to:
a. Choose Window→Preferences.

b. In the Preferences dialog box, choose Teamcenter→Server Connection Profiles.

c. Click Add.
The Teamcenter Repository Connection wizard runs.

d. Enter the required values and select OK.

3. Select the project in a view and on the main toolbar, click the Deploy Template button.

PLM00151 12.0 Dimensional Planning and Validation Administration 2-115


Chapter
Chapter 2: 2: Defining
Defining quality
quality inspection
inspection process
process

The Deploy wizard runs.

4. From the Server Connection Profiles box, choose the server to which to deploy the extensions
to.

5. Change any information and enter the password to access the server.

6. Click Finish.

(Optional) Creating rules to extract feature attribute names

(Optional) About creating attribute rules

The attribute rules XML file contains a list of rules that specify how to determine attribute codes if
they are not explicitly specified in the raw data measurement file. For example, if the measurement
file does not contain an entry for the feature attribute name (FeatureAttributeType) but instead
incorporates the name into its alternative feature label (AltFeatureLbl), you must create a rule that
specifies how to extract the name from the feature label.

Define the rules

Use the Attribute Rule XML Editor to define the rules for the attribute rules XML file. The default
attribute rules XML file is included with the Dimensional Planning and Validation installation.

Note
The sequence of the rules is important. They are in top to bottom priority, with the first rules
taking precedence. For example, if you have the following two rules in this order:
<Rule condition="Chars" Position="2" conditionKey="D" atribute_code="DIM" />

<Rule condition="Chars" Position="1" conditionKey="D" atribute_code="DOS" />

Then if a feature label contains a D in both its second and first positions, it will be
interpreted as having the attribute code DIM and not DOS. If you reversed the order, then
it would be interpreted as DOS.

1. Choose Start→All Programs→DPVELTENT→Launch Attribute Rules XML Editor.

2-116 Dimensional Planning and Validation Administration PLM00151 12.0


Defining quality inspection process

2. Type the path and name of the attribute rules XML file, or click Browse to search for a file.

Tip
A scroll bar on the right lets you scroll through the file. The arrows on the right change
the sequence of the rules.

3. Set the values for the new rule using the Condition, Condition Key, and Attribute Code options.

Learn about rule conditions.

4. Click Insert Above, Insert Below, or Insert Last to insert the rule into the attribute rules XML file.

Tip

To Do the following
Delete a rule Select the rule to be deleted and click
Delete Selected.
Change the sequence of rules Select the rule to be moved and click an
arrow on the right.
Modify existing rule Select the rule to be modified, change the
desired value, and click Modify Existing.

PLM00151 12.0 Dimensional Planning and Validation Administration 2-117


Chapter
Chapter 2: 2: Defining
Defining quality
quality inspection
inspection process
process

5. Click Save to save the attribute rules XML file.


The Attribute Rule XML Editor checks to verify that the conditions for the rule are correct. If they
are not, a warning message appears listing the errors and the invalid rules are highlighted in
yellow. You cannot save the file until the errors are corrected.
Learn about the syntax of the attribute rules XML file.

6. Restart DPV ETL.

Note
You must restart DPV ETL because DPV Parser reads the XML in to memory only at
startup. Any changes made to the XML will be applied only after a restart.

Specify the location of the attribute rules XML file

The location of the attribute rules XML file was specified during the installation of DPV ETL. You can
change it using the DPV Enterprise Configuration Editor. DPV Parser accesses and reads the XML
from this path at startup. If the access to the XML fails, DPV Parser does not start and logs an error
message in its log file, located at DPVETLENTAPP\log\DPVParser.log, where DPVETLENTAPP
is the location of DPV ETL.

Tip
You can:
• Have a different set of rules for each server by placing a different attribute rules XML
file on each server where DPV ETL is deployed.

• Use the same set of rules across various DPV ETL servers by placing the attribute
rules XML file on a shared location accessible to all the servers. Have the system
administrator at the user site do this by creating mapped drives or network shared
paths to Windows or UNIX machines.

1. In the DPV Enterprise Configuration Explorer, in the tree structure on the left, under your server
branch, expand Dimensional Planning & Validation→Task Configuration.

2. Click the DPVParser tab.

3. In the Attribute Rules XML File Path box, type the path for the attribute rules XML.

Rule conditions

The rule conditions used in the attribute rules XML file are:
• EndsWith
Use the EndsWith condition to specify that if the ending (right-most portion) of the feature
name in the raw measurement data file matches the string specified in conditionKey, the
attribute_code specifies the attribute type for that feature label.

2-118 Dimensional Planning and Validation Administration PLM00151 12.0


Defining quality inspection process

Example
<Rule condition="EndsWith" conditionKey="(F/A)" attribute_code="X_DEV" />

If the feature name ends in F/A, the feature attribute code is X_DEV.

• StartsWith
Use the StartsWith condition to specify that if the beginning (left-most portion) of the feature
name in the raw measurement data file matches the string specified in conditionKey, the
attribute_code specifies the attribute type for that feature label.

Example
<Rule condition="StartsWith" conditionKey="GAP " atribute_code="GAP" />

If the feature name starts with GAP , the feature attribute code is GAP.

• Contains
Use the Contains condition to specify that if the feature name in the raw measurement data file
matches the string specified in conditionKey, the attribute_code specifies the attribute type
for that feature label.

Example
<Rule condition="Contains" conditionKey="(I/O)" atribute_code="Y_DEV" />

If the feature name contains I/O, the feature attribute code is Y_DEV.

• Chars
Use the Chars condition to specify that if the feature name in the raw measurement data file
contains the characters specified in conditionKey in the positions specified in Position, the
attribute_code specifies the attribute type for that feature label.

Note
<Rule condition="Chars" Position="3-5" conditionKey="XXG" atribute_code="S2S"
/>

If the third through fifth characters in the feature name are XXG, then the feature attribute code
is s2s.

Syntax of the attribute rules XML file

The contents of the attribute rules XML file must conform to the following. If they do not, when you
save the file, a warning message appears listing the errors and yellow highlighting appears on the
invalid rules in the Attribute Rule XML Editor. You cannot save the file until the errors are corrected.

PLM00151 12.0 Dimensional Planning and Validation Administration 2-119


Chapter
Chapter 2: 2: Defining
Defining quality
quality inspection
inspection process
process

• The value of attribute_code must be no longer than five characters or it is ignored.

• All rules with the following are ignored:


o Invalid conditionKeys tags

o Invalid values under each attribute of the rule

o No required attributes under the rule.

During processing, DPV Parser writes an error message to its log file, located at
DPVETLENTAPP\log\DPVParser.log, where DPVETLENTAPP is the location of DPV ETL.

• If a rule condition of Chars is used, the rule must contain a Position tag.

• The XML must be valid.

Defining cluster groups

About working with clusters and cluster groups

You can create cluster groups to combine multiple clusters from different sources and routines. The
clusters you create are available to others when they load the data source in DPV Reporting &
Analysis. You can also view, compare, and copy cluster groups.

Note
• For information about creating clusters, see Working with clusters in the DPV Reporting
& Analysis online help.

• When you create a cluster in DPV Reporting & Analysis and save it to Teamcenter, it is
saved as an item of type Dimensional Planning And Validation Cluster, attached
to the inspection device.

• To remove a cluster from a routine, in Manufacturing Process Planner, select the


cluster and select Edit→Remove.

Revisions and cluster groups

When creating revisions of cluster groups, note the following.


• When creating a new revision of a routine, use the Revise and Relate to Latest option in the
Define attached Objects pane for each cluster revision attached to the routine that you want to
revise. For clusters that you do not want to revise, leave the copy action as Copy as Reference.

2-120 Dimensional Planning and Validation Administration PLM00151 12.0


Defining quality inspection process

For a routine revision, the default copy action for cluster revision attachments is Copy as
reference.
Learn more about revising routines.

• When creating a new revision of a cluster group, use the Relate to Latest option to relate each
cluster revision within that cluster group revision to the latest cluster revision or to keep at the
current revision level.

PLM00151 12.0 Dimensional Planning and Validation Administration 2-121


Chapter
Chapter 2: 2: Defining
Defining quality
quality inspection
inspection process
process

• Use the List Cluster Groups command to copy the clusters and cluster groups to a folder
for easy selection for revision and release.

Create a cluster group

The most common and recommended way to create a cluster group is to use DPV Reporting &
Analysis and save it to Teamcenter.
For information about creating clusters, see Working with clusters in the DPV Reporting & Analysis
online help.

1. In My Teamcenter, click Home or the folder where you want to create the cluster group.

2. Choose File→Item.

3. Assign a name and description to the item.

4. From Item Type, select Dimensional Planning And Validation Cluster Group.

5. Click OK.

6. Collect the clusters of interest by performing a general saved query.

7. Copy and paste the clusters into the cluster group.

Note
Use Paste... and the Dimensional Planning And Validation Cluster Group Content
relationship type.

View cluster groups associated with a routine

You can view the cluster groups that a routine’s clusters belong to and every revision of those cluster
groups. You can also copy the cluster groups to the clipboard so you can place them in a folder where
you can release or revise them or add them to another routine.

1. In the Manufacturing Process Planner, click the tab associated with the process structure.

2. Right-click the routine for which you want to view cluster groups, and choose List Cluster
Groups→One Revision.

Note
The routine must be of the type MEVisInspection, MEHHInspection,
MECMMInspection, or MEInspection to use the List Cluster Group command.

A list of cluster groups associated with the routine appears, sorted by cluster group revision
name. You can view the cluster’s name, item and revision IDs, and the release status.

2-122 Dimensional Planning and Validation Administration PLM00151 12.0


Defining quality inspection process

Tip
• To change how the list is sorted, click the header, such as Item ID.

• To expand the width of a column, double-click its header.

3. (Optional) To copy the cluster group revisions to the clipboard, do one of the following:
• Click Copy All to copy all revisions to the clipboard.

• Hold down the Ctrl key (to select non-contiguous groups) or Shift key (to select contiguous
groups) and select the desired cluster group revisions in the dialog box and click Copy
Selected.

Compare cluster group revisions

You can compare the cluster groups associated with two different revisions of a routine. You can also
copy the cluster groups to the clipboard so you can place them in a folder where you can release
or revise them or add them to another routine.
1. In the Manufacturing Process Planner, click the tab associated with the process structure.

2. Right-click the revision of a routine against which you want to compare another revision, and
choose List Cluster Groups→Two Revisions.

Note
The routine must be of the type MEVisInspection, MEHHInspection,
MECMMInspection, or MEInspection to use the List Cluster Group command.

A list of revisions of the routine appear. By default, the revision on which the initially selected
revision is based is selected and highlighted in italics bold.

PLM00151 12.0 Dimensional Planning and Validation Administration 2-123


Chapter
Chapter 2: 2: Defining
Defining quality
quality inspection
inspection process
process

Example
It you are comparing routine revision E against routine revision C, and revision E was
created based on revision C, the following list of revisions appear for you to select, with
routine revision C in italics bold.

3. Select the routine revision against which you want to compare the initially selected routine
revision, and click OK.
The Routine’s Cluster Group Revision Report dialog box appears.

• A blank row in one list indicates that the cluster group in the same row in the second list is
not present in that revision of the routine.

• Highlighting indicates that a cluster group revision contains cluster revisions that are newer
than those in the cluster group revision. For example, cluster group revision grp1 contains
cluster revision c2, revision A. However, there is a newer revision of c2 (revision B).

• An asterisk in the report indicates that the cluster group revisions do not match. The
E-Report Group revision differs.

2-124 Dimensional Planning and Validation Administration PLM00151 12.0


Defining quality inspection process

Tip
• To change how the list is sorted, click the header, such as Item ID.

• To expand the width of a column, double-click its header.

4. (Optional) To copy the cluster group revisions to the clipboard, do one of the following:
• Click Copy All to copy all revisions to the clipboard.

• Select a cluster group revision in the dialog box and click Copy Selected.

Define datum transformations


A datum transformation is a subset of features used to reference and identify the deviation of other
features relative to itself where fixture setup is difficult, expensive, or impossible. In addition to
providing more exact measurement data, datum transformations often reduce the number of required
measurement device setups.
When you define a datum transformation in Teamcenter, you define it is a dataset on the associated
cluster. The dataset is an XML file of the type Dimensional Planning And Validation Datum
Transform.
Example of a Dimensional Planning And Validation Datum Transform.xml file
The hierarchy of the .xml file is:
<datumTransform>

<primaryFeatures> – Primary features


<secondaryFeatures> – Secondary features
<tertiaryFeatures> – Tertiary features
1. Create an .xml file in an XML or text editor. Enter the following, which acts as a container for
the data transformation. For version, enter the version of Teamcenter currently used. This
example shows 8.2.
<?xml version="1.0" encoding="UTF-8" ?>

<datumXForms version="Tc 8.2">

</datumXForms>

2. Within datumXForms, add the dataTransform element.


<?xml version="1.0" encoding="UTF-8" ?>

<datumXForms version="Tc 8.2">


<!–– Add dataTransform element here ––>

</datumXForms>

A datumTransform element has attributes that specify whether or not to use feature vectors
and the axes for the primary, secondary, and tertiary datums. For a detailed explanation, see
the table of XML elements.

PLM00151 12.0 Dimensional Planning and Validation Administration 2-125


Chapter
Chapter 2: 2: Defining
Defining quality
quality inspection
inspection process
process

Example
<datumTransform useFeatureVectors="YES" primaryAxis="X"
secondaryAxis="X" tertiaryAxis="X">

3. Within datumTransform, define the primary, secondary, and tertiary datums and their features.
<?xml version="1.0" encoding="UTF-8" ?>

<datumXForms version="Tc 8.2">


<datumTransform useFeatureVectors="YES" primaryAxis="X"
secondaryAxis="X" tertiaryAxis="X">
<!–– Add primary, secondary, and tertiary feature elements here ––>

</datumXForms>

The primary, secondary, and tertiary consists of the features. For a detailed explanation, see
the table of XML elements.

Example
<Primary Features>
<feature id="" x="" y="" z="" i="" j="" k="" i2=""
j2="" k2="" offset=""/>

For tips and cautions, see the procedure for creating datum transformations in DPV Reporting &
Analysis.

4. After creating the .xml file, click the cluster, and choose File→New Dataset.

5. Assign a name and description to the dataset.

6. From the Type list, select Dimensional Planning And Validation Datum Transform.

Revisions and datum transformations

Define feature mapping

Teamcenter can store the mapping between features across measurement routines so you can
compare measurements from different inspection devices (referred to as device compare). The
mapping can then be retrieved when queried for in DPV Reporting & Analysis.

1. Review the Excel Engineering datasets belonging to the routines to determine the common
features to be mapped.

2. Open the dataset of the first routine.

3. Add a new worksheet with the name FeatureMap and copy the Feature label column from the
FeatureInfo worksheet and paste it in the FeatureMap sheet.

2-126 Dimensional Planning and Validation Administration PLM00151 12.0


Defining quality inspection process

Example
The following shows an example of adding the Feature Label column with three
features.

4. In the FeatureMap worksheet, enter the mapping for the different routines in the columns: one
column per routine with mapped features:
• Enter the routine ID and revision in the same row as the Feature Label heading.

• Enter the feature to which the initial feature is to be mapped in the same row as the initial
feature. Separate the routine ID and revision using a ~ character, as shown in the example.

Note
Only the feature names are used during the mapping. The attributes are not entered in
the mapping worksheet. It is assumed that all the attributes of the respective features
are mapped.

Example
In the following example of an Excel workbook with feature mapping defined, Column
A lists the features that belong to the routine associated with this Excel workbook
(ExampleRoutine). It has three features: ftr1, ftr2, and ftr3. The Columns B and C
list the IDs and revisions of the routines to which these features will be mapped.

In the example:
• ftr1 of ExampleRoutine is mapped to feature5 of the routine with the ID GMO003
and revision 1.

PLM00151 12.0 Dimensional Planning and Validation Administration 2-127


Chapter
Chapter 2: 2: Defining
Defining quality
quality inspection
inspection process
process

• ftr2 of ExampleRoutine is mapped to FTRA of the routine with the ID GMO045


and revision 2.

• There is no mapping for ftr3 in either of these routines.

Note
To delete the feature mapping, delete the worksheet or the row of mapping.

Approving measurement routines

About releasing and revising measurement routines

When you are done editing a measurement routine revision, it is recommended that you release it
before using the routine in the inspection process. Releasing a routine and its clusters locks the
routine so no changes can be made. Perform the approval process using the Teamcenter workflow
engine. For information on how to model and apply a workflow that is suitable for your needs, see
the Workflow Designer Guide. Releasing a routine and all its attachments freezes them so no more
changes can be made to the features or forms.
Until a measurement routine revision is sent through a workflow toDPV ETL,DPV ETL continues to
use previously sent revision. When a measurement routine revision is sent to DPV ETL, Teamcenter
creates a .plmxml representation of it and manages that file in its vault. DPV ETL reads the data
and processes it.
Each measurement routine revision has a unique identifier based on standard Teamcenter
functionality. In Teamcenter, the routines themselves are revised, but the features and the features
attributes are not under revision control.

Note
DPV ETL may run on a different computer from Teamcenter. The Teamcenter .xml files for
released routines are stored in the Teamcenter vault. If there is a communication failure
between the DPV ETL computer and the Teamcenter computer, the updated .plmxml files
are not visible until communication is restored.

Create a new revision of a routine

• For basic information about creating a revision of an item in Teamcenter, see the Teamcenter
Basics.

• You can choose to revise each cluster revision attached to the routine and relate it to the latest
item revision.

• It is recommended that you release and/or revise routines before releasing or revising cluster
groups and clusters.

2-128 Dimensional Planning and Validation Administration PLM00151 12.0


Defining quality inspection process

1. In My Teamcenter, select the routine that you want to create a new revision of and choose
File→Revise.
The Revise dialog box appears.

2. (Optional) In the Define the basic information for the new item revision pane, type the name
of the new revision.

3. (Optional) Type a description of the revision and choose a unit of measure for the revision.

4. Click Next.
The Define additional item revision information pane appears.

5. (Optional) Enter values for the routine revision attributes.

6. Click Next.
The Define attached objects pane displays the clusters, cluster groups, forms, and Excel
Engineering datasets attached to the routine. Copy as Reference is the default (all changes to
the reference copy affect the original object).

Note
Clusters are listed under Manifestations.

7. Choose copy options for the objects related to the source revision by clicking the icon to the
right of the object in the tree.

• For clusters, select Revise and Relate to Latest or Copy as Reference.

• For forms or Excel Engineering datasets, select Copy as Object.

PLM00151 12.0 Dimensional Planning and Validation Administration 2-129


Chapter
Chapter 2: 2: Defining
Defining quality
quality inspection
inspection process
process

The copy options are:

Use this option To do this


Don't Copy Selectively copy objects from one revision to
another. Objects that are designated as Don't
Copy appear with a line through them in the
Destination tree.
Copy as Object Create a new object of the same type and
relation to the parent object. Objects created
by this method are totally independent of the
parent object. Therefore, any changes to the
copied object are not reflected in the original
object.
Copied objects appear in bold in the
Destination tree and can be renamed.
Copy as Reference Copy the object as a reference to the original
object. All changes to the reference copy affect
the original object. The names of attachments
that are copied as references cannot be
modified.
Relate to Latest Allow you to relate the selected object to the
latest item revision with an Is Represented
By relation.
Revise and Relate to Latest Allows you to revise the selected object and
relate the new object revision to the latest item
revision with an Is Represented By relation.

8. Click Next.
The Select open option and alternate id display option pane appears.

9. (Optional) Set the open, display, or checkout option for the new revision.

10. Click Finish.


The new revision is created as a copy of the previous revision object.

11. (Optional) Create revisions of cluster and cluster groups.

Tip
Use the List Cluster Groups command to copy the clusters and cluster groups to a
folder for easy selection for revision and release.

2-130 Dimensional Planning and Validation Administration PLM00151 12.0


Defining quality inspection process

Associate a product, plant, and bill of process


As with any process you create in Manufacturing Process Planner, you must associate a plant to
a process structure (bill of process) and a product to a process structure to set up relationships
between them.
The following is a basic procedure for associating product parts to the process structure with a
specific occurrence type. For the latest instructions and more details on how to associate plants,
products, and processes, see the Manufacturing Process Planner.
1. Right-click a product revision in the Product tab and choose Copy.

2. Select the Process tab containing the process.

3. Right-click the routine and choose Paste As, as shown in the figure.

4. From the list that appears, choose either relation:

Choose To set up the relation


MeConsumed Consumed items for the process.
MeWorkArea Assigned work area in the operation.

Note
The commands available to you are determined by your administrator.

Syncing inspection definition process with DPV ETL


About syncing to DPV ETL
After you define the inspection quality process, you export the objects to DPV Extraction, Translation,
and Loading (ETL) for processing:
• Export the measurement routine to DPV ETL

PLM00151 12.0 Dimensional Planning and Validation Administration 2-131


Chapter
Chapter 2: 2: Defining
Defining quality
quality inspection
inspection process
process

• Export the inspection device to DPV ETL

• Export the plant to DPV ETL

Check for exported objects.

Export the measurement routine to DPV ETL


After you define the measurement routine and configured DPV ETL, you export the routine to DPV
ETL for processing.
1. In Teamcenter, send the bill of process to Manufacturing Process Planner.

2. Select the routine to export (for example, Manufacturing Engineering Inspection or


Manufacturing Engineering Visual Inspection).

3. Check out and edit the following three forms:

For the form Define


Dimensional Planning And Validation • measured_item – Part number.
Routine Information
• shopfloor_name – Enter the name of the
routine as it is known on the shop floor.

Example
Enter underbody222left if the
routine is known by that name
on the shop floor even if it is
UB_222LH in Teamcenter.

Note
The shop floor name must
match the name in the raw data
file when working with certain
data types.

2-132 Dimensional Planning and Validation Administration PLM00151 12.0


Defining quality inspection process

For the form Define


Dimensional Planning And Validation
Measurement Context Note
Required only when the raw data
file does not define the properties. It
is optional on both the routine and
the inspection device.
If the raw data file contains the
value, then that value is used.
Otherwise, the value defined in the
form on the routine is used and
lastly the value on the form of the
inspection device is used.

• Project – Specify the name of the program


associated with the routine.

• build_lbl_type – Enter the build label (for


example, JSN, PVI, and DCN).

• item_measured – Select Part, Tool, or


Fixture.

• phase – Enter the phase. For example,


PRD or TEST.

• site – Enter the location of the inspection


device.
Dimensional Planning And Validation
Trigger Configuration Note
Required only when the routine
needs to be defined for triggers.
This replaces the need for creating
a triggers folder in Teamcenter.

4. Choose File→New→Workflow Process.

5. In the New Process dialog box, from the Process Template list, select ExportRoutine_To_AI.
The file names automatically fill in.

6. Verify that the targets specified in the New Process dialog box are correct.

7. Click OK.
The Information dialog box appears.

8. Click OK.

PLM00151 12.0 Dimensional Planning and Validation Administration 2-133


Chapter
Chapter 2: 2: Defining
Defining quality
quality inspection
inspection process
process

The routine is automatically sent to DPV ETL for processing.

List of forms used


Tips for managing forms

Export the inspection device to DPV ETL


After you define the inspection device and configured DPV ETL, you export the inspection device
to DPV ETL for processing.
Once the Application Interface (AI) objects are downloaded, the following directory structure is
created:
DPVBASEPATH\<PlantName>\<DeviceParentName><DeviceName>

Example
D:\ETLDPV\RawData\FFX_ASM\000057_Perceptron\000001_X0_Perceptron

1. In Teamcenter, send the bill of resource to Manufacturing Process Planner.

2. Display the Attachments view.

3. From the main structure view, and not the Attachments view, select the device and its immediate
parent.

4. Choose File→New→Workflow Process.

5. From the Process Template list, select ExportDevice_To_AI.


The file names automatically fill in.

6. Verify that the targets specified in the New Process Dialog for Plant Name and Routine are
correct.

7. Click OK.
The device is automatically sent to DPV ETL for processing.

Check for all exported objects

Export the plant to DPV ETL


This workflow exports only the plant (of type MEPRPlantProcess) information (including forms) to
DPV ETL. This is particularly useful when there are changes to a forms associated with a plant after
you have exported the routines to DPV ETL.

Example
If you change the shift timings in the DPVShiftStartTime form attached to the plant, you
can use this workflow to export the plant information to DPV ETL.

2-134 Dimensional Planning and Validation Administration PLM00151 12.0


Defining quality inspection process

1. In Teamcenter, send the bill of process to Manufacturing Process Planner.

2. Select the plant of type MEPRPlantProcess to export.

3. Choose File→New→Workflow Process.

4. In the New Process dialog box, from the Process Template list, select ExportPlant_To_AI.
The file names automatically fill in.

5. Verify that the targets specified in the New Process dialog box are correct.

6. Click OK.

7. In the Information dialog box, click OK.


The plant is automatically sent to DPV ETL for processing.

Note
If a plant name exceeds 30 characters, the application interface (AI) objects exported for
that plant will not be downloaded to DPV ETL.

Managing AI objects created during export

About managing AI objects created during export

Application Interface (AI) objects are created in a user’s Newstuff folder when inspection devices,
common scripts, or routines are exported to DPV ETL through a Teamcenter workflow. The AI object
contains a PLM XML file with the information you exported.

Tip
You can view the status of an AI object by expanding the object.

DPV ETL periodically scans Teamcenter for AI objects (or modified AI objects), identified as belonging
to the plants to be downloaded, and downloads the PLM XML into the DPVDevice and DPVRoutine
folders under the FLINK/xmlcfg folder in the DPV ETL configuration:

PLM00151 12.0 Dimensional Planning and Validation Administration 2-135


Chapter
Chapter 2: 2: Defining
Defining quality
quality inspection
inspection process
process

It translates the PLM XML into a common XML format for uploading. PLM XML files that fail to
translate are placed into DevicePLMXMLFailed or RoutinePLMXMLFailed folders.

Tip
You can monitor this process using the using the DPV Error Viewer. For more information,
see Viewing DPV ETL status in the DPV help collection.

When the DPV ETL consumes the contents of an AI object, it sends a message back to Teamcenter
confirming it. On a daily basis, it removes any consumed AI objects that are more than 24 hours
old. It removes them at a hard-coded time of 0:00:00 (the time is the local time on the DPV ETL
installation) or when the DPV ETL is restarted.
The DPV ETL user account must have been set up with access to remove AI objects.

Note
• The DPV ETL does not delete the AI objects. It just removes them from the Newstuff
folders. The AI objects are still in the Teamcenter database.

• Only automatically created DPV AI objects are removed from Newstuff folders.

• If an AI object appears in more than one user’s Newstuff folder, the AI object is
removed from all users’ Newstuff folders.

• The automatic removal of DPV AI objects only occurs fromNewstuff folders.

Set access to remove AI objects

To provide the DPV ETL account with access rights to remove Application Interface (AI) objects from
Newstuff folders, add the following ACL to the Teamcenter installation:
Has Type (Newstuff Folder)

2-136 Dimensional Planning and Validation Administration PLM00151 12.0


Defining quality inspection process

It sets the rules that grant AI object removal privileges. Add the ACL to your Teamcenter installation
using the CreateAIRuleInACL executable. If the Teamcenter installation’s rule tree is different than
the default rule tree or it has write restrictions, you need to set up the rule manually.
For information about adding the rule, see Creating the application interface (AI) rule in the access
control list (ACL) in the Installing the Dimensional Planning and Validation Solution guide in the
DPV help.
For information about setting up rule trees manually, see the Teamcenter Upgrade.

Check for exported objects and ignore the date-time filter

The first time you start DPV ETL, it downloads all pending exported objects: measurement
routines, inspection devices, and plants. The exported objects are application interface (AI)
objects and were created using the export to AI workflows. The objects are downloaded and
translated as routine/device configuration files in the %DPVETLENTAPP%\DPVRoutine and
%DPVETLENTAPP%\DPVDevice folders.
After exporting any pending objects, DPV ETL sets a date-time filter of either:

• The last successfully downloaded object.

• The current date-time if there are no objects to be downloaded.

It applies the date filter to all queries so it only downloads objects exported after the last successfully
downloaded object.
(Optional) To have DPV ETL check for all objects and ignore the date-time filter, do the following to
remove the CreatedAfterFilter from the registry key. The CreatedAfterFilter value only needs to be
deleted if you have AI objects pending to be downloaded prior to the last successfully downloaded
AI object.

1. Stop DPV ETL.

2. Using the registry editor (regedit), delete the CreatedAfterFilter value from the registry key. :
The registry key is located here:
HKLM\Software\Siemens\DPVETLENT

3. Start DPV ETL.

PLM00151 12.0 Dimensional Planning and Validation Administration 2-137


Chapter 3: Administering measurement database

Administering the measurement database


The Dimensional Planning and Validation solution provides a set of utilities for archiving and purging
measurement data that you no longer need and to help you limit the requirements for database size.
• dpv_archive
Removes unneeded records from the database based on a set of selection criteria and creates a
data file for restoring the data.

• dpv_restore
Loads deleted data back into the database using the data file that dpv_archive created.

• dpv_purge
Deletes records permanently based on the set of selection criteria. It does not create a data
file for restoring the data.

The selection criteria are stored in the database and read whenever the utilities are run. You use
Teamcenter to enter the criteria and the Teamcenter command window to run the utilities.

Note
• You should also perform all the basic administrator tasks for the database you are
using for dimensional planning and validation as you do for any database, such as
adding users and backing up the data.

• Learn about activating/deactivating measurement data.

Set the selection criteria


Set the criteria for archiving or purging data.
1. In My Teamcenter, choose Edit→Options.

2. Click the Advanced tab, and select Dimensional Planning and Validation Archive Criteria.

3. Select the selection criteria by which to automatically archive or purge the database. You can
specify one set of criteria per plant and inspection device type.

For the option Do the following


Plant ID Enter the ID of the plant (not its name).

PLM00151 12.0 Dimensional Planning and Validation Administration 3-1


Chapter
Chapter 3: 3: Administering
Administering measurement
measurement database
database

For the option Do the following


Device Type Enter the type of inspection device, such as
CMM or vision (not the individual device).
Unit of Time Set to the unit of time either months or days.
No of Days/Months Enter the number of months or days of data,
such as 30, to archive or purge, depending on
the time setting above.
No of Records Enter the number of records required for the
archive or purge to begin. That number of
records must remain in the database after the
archiving occurs.

4. Click OK.

5. Click Close.

Note
• If you use the same plant ID and inspection device type combination in a second set of
selection criteria, it overwrites the earlier criteria (that is, the number of months/days
and minimum number of records).

• You can add any number of plant and inspection device pairs to the criteria list, each
with its own time and records criteria. All pairs are archived or purged. The number
of records criterion, described next, is evaluated, and the decision whether or not to
archive or purge is performed independently for each plant and inspection device pair.
All data archived from running dpv_archive is written to a single output file.

• Time and minimum number of records work together to specify the criteria for
archiving or purging, so you need to specify both time and number of records. When
dpv_archive or dpv_purge is run, the program first determines if the number of
records criterion is satisfied.

Example
In this example, if in a six-day period only 50 records were created, the records would not
be archived because the archiving would result in fewer records remaining in the database
than was specified for the given plant ID and inspection device type pair.

If Has the following


Plant ID 8340
Device Type vision
Unit of Time days
No of Days/Months 6

3-2 Dimensional Planning and Validation Administration PLM00151 12.0


Administering measurement database

No of Records 100

If Has the following


Plant ID 4022
Device Type handheld
Unit of Time days
No of Days/Months 6
No of Records 100

In this example, when either dpv_archive or dpv_purge is run, the program first
determines if the number of records criterion is satisfied. If it is, it deletes all the records in
the database belonging to the Taipei plant that are from any CMM device and are greater
than six months old. If dpv_archive had been run, all records would be written to a data
file from which they could later be restored. For the number of records criterion to be met
in this scenario, there must be 101 or more records for the Taipei and CMM combination
that are six months or younger.

If Has the following


Plant ID 8832
Device Type CMM
Unit of Time months
No of Days/Months 6
No of Records 100

Archive the data


The records that dpv_archive utility archives are events, feature actuals, and trace codes. You set
the criteria for archiving the data in Teamcenter. The set of criteria you can specify is the same as
that for purging.
You archive the data manually through the Teamcenter command window. The archived data is
stored in a file with tab-separated values whose name and location to be stored are user-defined.
The file may contain data belonging to more than one plant because the utility runs for each selection
criteria set.
1. Access a Teamcenter command window.

PLM00151 12.0 Dimensional Planning and Validation Administration 3-3


Chapter
Chapter 3: 3: Administering
Administering measurement
measurement database
database

Tip
• On a Windows system, click the Start button and choose
Programs→Teamcenter→Command Prompt.

• On UNIX or Linux system:


a. Set the TC_DATA environment variable to your TC_DATA directory.

b. Set the TC_ROOT environment variable to your TC_ROOT directory.

c. Run source tc_profilevars.

2. At the Teamcenter command prompt, run dpv_archive <filename>, where filename is the name
of the file to contain the archived data. The file must include an extension, such as .dat.

Example
dpv_archive measdata_Jan-15–2012.dat

3. View and save the file containing the archived data.

Note
If you want a regular process, you can use cron or other system tools to set up a regular
running program.

Purge the data


Set the criteria for purging the data to free up database space. You manually purge the data once
you set up the criteria using the Teamcenter command window. You set the criteria for purging in
Teamcenter. The set of criteria you can specify is the same as that for archiving.
1. Access a Teamcenter command window.

Tip
• On a Windows system, click the Start button and choose
Programs→Teamcenter→Command Prompt.

• On UNIX or Linux system:


a. Set the TC_DATA environment variable to your TC_DATA directory.

b. Set the TC_ROOT environment variable to your TC_ROOT directory.

c. Run source tc_profilevars.

3-4 Dimensional Planning and Validation Administration PLM00151 12.0


Administering measurement database

2. At the Teamcenter command prompt, run dpv_purge.

Restore data
To restore archived data, run the restore utility with the file name containing the archived data.
1. Access a Teamcenter command window.

Tip
• On a Windows system, click the Start button and choose
Programs→Teamcenter→Command Prompt.

• On UNIX or Linux system:


a. Set the TC_DATA environment variable to your TC_DATA directory.

b. Set the TC_ROOT environment variable to your TC_ROOT directory.

c. Run source tc_profilevars.

2. At the Teamcenter command prompt, run dpv_restore <filename>, where filename is the
archive file to be restored.

Example
dpv_restore measdata_Jan-15–2012.dat

PLM00151 12.0 Dimensional Planning and Validation Administration 3-5


Chapter 4: Using DPV measurements

Getting started

About DPV Measurements


Use the Teamcenter application, DPV Measurements, to view measurement data events based on
their date, JSN number, or routine name. You can also display the features associated with the
events and activate or deactivate selected events.

PLM00151 12.0 Dimensional Planning and Validation Administration 4-1


Chapter
Chapter 4: 4: UsingUsing
DPV DPV measurements
measurements

Before you begin


Enable DPV To enable DPV Measurements you must install the Dimensional Planning and
Measurements Validation solution during installation:
• Under Extensions, select:
o Manufacturing Process Management and then:
■ Database Configuration for DPV

■ Customization for eMServer integration


Configure DPV Before using DPV Measurements, be sure to:
Measurements
• Set up your quality process inspection process to have measurement
data events.

• Set up who can change the activation state of measurement data


eventsConfigure DPV Measurements using DPV Measurements.

Note
To view the time and date of measurement events in DPV
Measurements, after updating Dimensional Planning and
Validation (DPV) and Teamcenter to 10.1, you must update each
of your measurement databases.
See the Teamcenter Upgrade.

Start DPV
In the navigation pane, click DPV Measurements .
Measurements

DPV Measurements interface


The DPV Measurements interface is a single perspective in which to search and view measurement
data events.

4-2 Dimensional Planning and Validation Administration PLM00151 12.0


Using DPV measurements

1 Plant ID Use to select the plant whose measurement data events


you want to view.
2 Routines Use to select the routine whose data you want to view.
3 Measurement viewing options Use to select how you want to view and display the data.

Configure DPV Measurements


By default, all users can change the activation state of measurement data events. To protect your
data, define the preference DPVAdmin to hold the names of the groups of users who can change
the activation state. Groups not in DPVAdmin can read the events but they cannot change their
activation state. If no preference is defined, all users have the privilege to change the activation state.

Note
To view the time and date of measurement events in DPV Measurements, after updating
Dimensional Planning and Validation (DPV) and Teamcenter to 10.1, you must update
each of your measurement databases.
See the Teamcenter Upgrade.

View measurement data events


You can view measurement data events based on their date or JSN number.

PLM00151 12.0 Dimensional Planning and Validation Administration 4-3


Chapter
Chapter 4: 4: UsingUsing
DPV DPV measurements
measurements

1. In the Teamcenter rich client, click DPV Measurements in the navigation pane.

Note
If DPV Measurements does not appear in the navigation pane:
a. Beneath the navigation pane, select Configure Applications (>>) and choose
Navigation Pane Options.

b. From the list of available applications, select DPV Measurements and use the +
to place it in your list of primary or secondary applications.

c. Click OK.

2. From Plant ID, select a plant.

3. From the list of routines IDs that appears, select the routine whose data you want to display.

4. Select one of the following:


• Use dates from and enter the dates during which the measurement data was collected.

• Use JSN and enter the JSN (build label) of the data.

Note
The exact JSN is required. Wildcards are not supported.

5. Select one of the following to choose to display features along with the events:
• Display events and their features to display features with the events.

• Display events only to display only the events.

6. Click Get Data.


DPV Measurements displays the data that matches the criteria, as shown below. The first column
active indicates whether the data is active or inactive:

• 1 – Active

• 0 – Inactive

4-4 Dimensional Planning and Validation Administration PLM00151 12.0


Using DPV measurements

Note
In the event_type column, normal jobs are listed as N and duplicate jobs as D.

7. If you choose to view features, use the scroll bar to scroll to the right to view the features
in the last columns.

Note
The feature column headers consist of the feature name and feature attribute code.

Note
• Sort the data on any column by clicking the column header.

• To clear the data displayed, click Clear Contents.

Change the activation state of measurement data events


Activate or deactivate measurement data events based on their date or JSN number. When data
is deactivated, users cannot query for it and it does not appear in quality reports. It is not deleted
and can be restored by activating it.

Note
By default, all users can change the activation state of events. To protect your data, define
the preference DPVAdmin to hold the names of groups of users who can change the
activation state. Groups not in DPVAdmin can read the events but they cannot change
the activation state. If no preference is defined, all users will have the privilege to change
the activation state.

1. View the measurement data events to activate or deactivate.

2. Highlight the data you want to activate or deactivate. You can make multiple selections.

3. Click either:
• Activate

PLM00151 12.0 Dimensional Planning and Validation Administration 4-5


Chapter
Chapter 4: 4: UsingUsing
DPV DPV measurements
measurements

• Deactivate

Note
These options activate or deactivate all the selections even if some of the selections
are already activated or deactivated.

4-6 Dimensional Planning and Validation Administration PLM00151 12.0


Appendix A: Quality data preferences

PLM00151 12.0 Dimensional Planning and Validation Administration A-1


Appendix
Appendix A: A: Quality
Quality data data preferences
preferences

DPVAdmin

DESCRIPTION
By default, in DPV Measurements, all users can change the activation state of
measurement data events (deactivate or activate them). To protect your data, define
DPVAdmin to hold the names of the groups of users who can change the activation
state. Groups not in DPVAdmin can read the events but they cannot their activation
state. If no preference is defined, all users have the privilege to change the activation
state.

Note
This preference is not included in your Teamcenter installation. You must
add it to the database.

VALID
VALUES
String. Group or groups who can deactivate/activate data. Separate
each group with a comma.
DEFAULT
PROTECTION
SCOPE
Site preference.

A-2 Dimensional Planning and Validation Administration PLM00151 12.0


Quality data preferences

DPVClusterGroup Revision_DefaultChildProperties

DESCRIPTION
Specifies whether a specific relationship between two item revisions is listed
when you select the Paste Special command. For DPV, the relationship
DPVCLUSTERGROUPCONTENT is defined between clusters and cluster groups.
Therefore, select this value to have this relationship appear in the Paste Special
command in Teamcenter.
VALID
VALUES
One of the following relationships. To show the DPV cluster/cluster group relationship,
select DPVClusterGroupContent.
IMAN_master_form_rev
TC_Generic_Architecture
structure_revisions
IMAN_specification
IMAN_requirement
IMAN_manifestation
IMAN_reference
IMAN_UG_udf
IMAN_UG_altrep
IMAN_UG_scenario
IMAN_Simulation
IMAN_Rendering
IMAN_Motion
IMAN_3D_snap_shot
view
release_status_list
IMAN_external_object_link
TC_WorkContext_Relation
representation_for
IMAN_MEWorkInstruction
TC_ProductManua
BOM_Rollup
TC_Is_Represented_By
TC_Attaches
TCEng_rdv_plmxml_configured
TCEng_rdv_plmxml_unconfigured
TC_sst_record
ProcessSimulate_Details
KinematicsRelation
DPVClusterGroupContent

DEFAULT
VALUES
The values listed under Valid Values.

PLM00151 12.0 Dimensional Planning and Validation Administration A-3


Appendix
Appendix A: A: Quality
Quality data data preferences
preferences

DEFAULT
PROTECTION
SCOPE
Site preference.

A-4 Dimensional Planning and Validation Administration PLM00151 12.0


Quality data preferences

DPVClusterGroup Revision_shown_relations

DESCRIPTION
Specifies whether a specific relationship between two item revisions is listed
when you select the Paste Special command. For DPV, the relationship
DPVCLUSTERGROUPCONTENT is defined between clusters and cluster groups.
Therefore, select this value to have this relationship appear in the Paste Special
command in Teamcenter.
VALID
VALUES
One of the following relationships. To show the DPV cluster/cluster group relationship,
select DPVClusterGroupContent.
PSBOMViewRevision
IMAN_specification
IMAN_requirement
IMAN_manifestation
IMAN_reference
IMAN_UG_udf
IMAN_UG_altrep
IMAN_UG_scenario
IMAN_Simulation
IMAN_Rendering
IMAN_Motion
IMAN_MEMfgModel
IMAN_snapshot
IMAN_3D_snap_shot
IMAN_external_object_link
IMAN_MEWorkInstruction
TC_ProductManual
BOM_Rollup
TC_Attaches
TCEng_rdv_plmxml_configured
TC_Is_Represented_By
TCEng_rdv_plmxml_unconfigured
ProcessSimulate_Details
IMAN_MEFeature
Site Specific
Corporate Specific
DPVClusterGroupContent

DEFAULT
VALUES
The values listed under Valid Values.
DEFAULT
PROTECTION
SCOPE
Site preference.

PLM00151 12.0 Dimensional Planning and Validation Administration A-5


Appendix
Appendix A: A: Quality
Quality data data preferences
preferences

DPVClusterGroupContent_relation_primary

DESCRIPTION
Specifies whether a specific relationship between two item revisions is listed
when you select the Paste Special command. For DPV, the relationship
DPVCLUSTERGROUPCONTENT is defined between clusters and cluster groups.
Therefore, select this value to have this relationship appear in the Paste Special
command in Teamcenter.

Note
All <relation_business_object>_relation_primary preferences are obsolete
and are replaced by relation properties. Use the Business Modeler IDE to
create and manage relation properties.
For more information about relation properties, see Configure your business
data model in BMIDE.

VALID
VALUES
DPVClusterGroup
DPVClusterGroup Revision
DEFAULT
VALUES
DPVClusterGroup
DPVClusterGroup Revision
DEFAULT
PROTECTION
SCOPE
Site preference.

A-6 Dimensional Planning and Validation Administration PLM00151 12.0


Quality data preferences

DPV_ccuaservice_url

DESCRIPTION
Specifies the URL for the Custom Cache Updating Application (CCUA) Service used in
creating triggered reports.
For more information, see Working with triggered reports in the DPV online help.
VALID
VALUES
Set the URL, such as http://pni6w032/CCUATrigger/CCUA.asmx.
DEFAULT
VALUES
None.
DEFAULT
PROTECTION
SCOPE
Site preference.

PLM00151 12.0 Dimensional Planning and Validation Administration A-7


Appendix
Appendix A: A: Quality
Quality data data preferences
preferences

DPV_logdatapurge_days

DESCRIPTION
Sets the number of days to retain log data.
For more information, see Modify Teamcenter Preferences in the Installing Dimensional
Planning and Validation Solution guide in the DPV help collection.
INTEGER
Specify the number of days to retain the log data. If it is set to x, log data that is more
than x days old is deleted automatically (no other user action is required).
DEFAULT
VALUES
None.
DEFAULT
PROTECTION
SCOPE
Site preference.

A-8 Dimensional Planning and Validation Administration PLM00151 12.0


Quality data preferences

DPV_rawdata_location

DESCRIPTION
Specifies where the measurement data is stored, either in Teamcenter or an external
measurement database.
For more information, see Defining measurement databases in the Installing
Dimensional Planning and Validation Solution guide in the DPV help collection.
VALID
VALUES
0 The measurement data is stored within Teamcenter.
1 The measurement data is stored in an external measurement
database.
DEFAULT
PROTECTION
SCOPE
Site preference.

PLM00151 12.0 Dimensional Planning and Validation Administration A-9


Appendix B: Glossary

Application Interface object


Stores parameters required to share data in PLM XML format, allowing you to repeatedly share data
with other sites without defining the parameters each time you export data. Also limits the data to be
downloaded so only the measurement routine information is downloaded.

bill of process
Positions measurement routines within the structure of the overall manufacturing process and acts
as a mechanism for relating the product data to the measurement routines. The measurement
routines are operations within the plant.

bill of resource
Defines the items on the plant floor used to measure a routine, including stations, inspection devices,
remote transfer agents, and scripts. The top level is a plant of the type of MEPrPlant.

cluster
A logical subset of feature attributes that organize result set data related to a specific task, report, or
analysis. Clusters and cluster groups are used to filter data, compare correlation coefficients, perform
Principal Component Analysis (PCA), and run profile and summary reports.

correlation coefficient
A number between -1 and 1 that measures the linear relationship between two feature attributes.
A correlation coefficient of 1 indicates a perfect linear relationship; -1, a perfect linear relationship
with negative slope between the two; and 0, no linear relationship.

covariance
A measure of how great the correlation is between two or more sets of random features. In
3-dimensional terms, covariance measures the distance between feature attributes to determine how
X, Y, and Z dimensions vary from the mean with respect to each other.

Cp
A short-term indicator of process capability, Cp = (USL - LSL) / 6 * Standard Deviation. Cp indicates
how cohesive a group of values is without referencing the variability of the process.

Cpk
An adjustment of Cp for the impact of non-centered distribution, Cpk measures how close a process
is to its specification limits, relative to the variability of the process. Although data can exist outside
the specification and can still have a positive Cpk value, in general the larger the index, the less
likely that any item will be outside specifications.

PLM00151 12.0 Dimensional Planning and Validation Administration B-1


Appendix
Appendix B: B: Glossary
Glossary

dataset
Datasets manage data files created in other software applications. When you double-click a dataset
to open it, Teamcenter launches the software application associated with the dataset.

datum transformation
A subset of features you transform into a new datum scheme. In addition to providing more exact
measurement data, datum transformations allow more data to be collected from fewer measurement
device setups.

derived feature
A feature that is not measured and therefore does not actually exist in a data source, but instead
derives its value from the mathematical calculation of two or more existing, measured feature
attributes. For example, a derived feature midpoint can be calculated from the variation of two
feature attributes. The classification accuracy of tolerances based on derived features is typically
higher than that of the original features.

DPV Parser
DPV ETL task that reads the raw data in a measurement data file using a device-specific parsing
script. This data is then passed in a common XML format (DML) to DPV Validate.

DPV Validate
DPV ETL task that validates the measurement data it receives from DPV Parser. The correct
data is inserted into the SQL database for DPV Reporting & Analysis and Teamcenter community
collaboration to access for viewing and analysis.

engineering data
Defines what products are to be measured and what should be measured on them. You define the
engineering data using the Manufacturing Process Planner.

feature
A group of feature attributes that together define the geometric location, vector direction, and other
measurement characteristics of a point on the 3D model. Features can define different types of
geometry, including holes, tabs, or slots.

feature attribute
Feature attributes define a feature's specific measurement characteristics, based on such criteria
as x, y, and z location, anchor and vector coordinates, and specification limits. You can define
your own feature attributes.

hierarchical navigation
Method of locating measurement routine data on the Web Part, by navigating down to the item you
want to view, one level at a time, from a broad level down to a specific routine.

B-2 Dimensional Planning and Validation Administration PLM00151 12.0


Glossary

historical summary reports


Access measurement data stored in the DPV SQL Server Analysis Services (DPV-SSAS) cube. The
reports can include information about measurement data, as well as standard statistical summary
charts for different time ranges (daily, weekly, and monthly). The data is based on the latest revision
of the routine in Teamcenter, and you can view your revisions within the report.

Job Serial Number (JSN)


An alphabetic and/or numeric combination that identifies a collection of measurement data resulting
from a specific analysis job or assembly build. Such data generally records the measured location of
holes, pins, slots, tabs, and surface planes for each manufactured part or assembly.

measurement data
Data obtained from inspection devices as a part is being measured and is processed and analyzed
to create Statistical Process Control (SPC) information. It includes the value of a feature or the
date at which the measurement was performed.

non-hierarchical navigation
Method of locating measurement routine data on the Web Part, by selecting a free-form navigational
structure with access to multiple items at once.

outlier
Any feature attribute value located outside the distribution range specified by a given mean and
standard deviation (in other words, any value that is markedly smaller or larger than other values).

parsing script
Translates the raw measurement data from inspection devices to the standard loading format
(Document Markup Language) so the data can be stored in Teamcenter for analysis and backup.
DPV provides standard scripts for translating data from the most common inspection devices. DPV
administrators can also create custom parsing scripts.

Pp
A long-term indicator of process performance as it applies to specific samples of feature attributes.

Ppk
A process performance index usually used for long-term analysis to indicate how your process has
performed in the past rather than how it will perform in the future. Ppk basically tries to verify that
samples generated from the process are capable of meeting customer requirements.

PLM00151 12.0 Dimensional Planning and Validation Administration B-3


Appendix
Appendix B: B: Glossary
Glossary

RDL (Report Definition Language)


An XML representation of a report definition. A report definition includes data retrieval and layout
information for a report. The standard file extension for report definition files is .rdl.

routine
Method or procedure devised to collect measurement data from a specific program and part using
a specific type of measurement device, such as a vision, Coordinate Measuring Machine (CMM),
or handheld measurement system.

rules
Conditions that specify how to determine the name of the feature attribute code if it is not explicitly
specified in the raw data measurement file. Rules are stored in the attributes rules XML file.
You can add rules to match your company's measurement data or modify existing ones. You edit
them in the Attribute Rules XML Editor.

saved location
On the Navigation page of the Web Part, a saved path to a frequently-used folder or routine in the
navigation structure. This is used for quick access without using a hierarchical or non-hierarchical
navigation.

Six Sigma
A disciplined, data-driven approach to eliminate defects, driving towards six standard deviations
between the mean and the nearest specification limit in any process. This measure of quality offers
a simple and straightforward indicator of process performance as it applies to specific samples
of feature attributes.

SSRS (SQL Server Reporting Services)


A Microsoft server-based reporting platform used to author, publish, and manage reports, based on
Structured Query Language (SQL).

standard deviation
Expressed by the Greek letter sigma σ, this value is obtained by mathematically adjusting the data.
It is the square root of the mean average of the squares of the deviations of all of the individual
measurements from the mean average value X.

summary calculation
Calculations performed on measurement data to determine such statistics as the percentage that
is out of tolerance and Six Sigma. You view the calculations when you navigate to a measurement
routine in the DPV Viewer Web Part. See also Six Sigma.

variance
A measure of the spread of data in a data source closely related to standard deviation (the average
squared deviation of a value from its mean).

B-4 Dimensional Planning and Validation Administration PLM00151 12.0


Glossary

VisAutomationApp
Configuration of Teamcenter lifecycle visualization, similar to Teamcenter lifecycle visualization
mockup, but has no menus or toolbars. It processes graphical reports created in Visualization
Illustration.

Visualization Automation Server


Often referred to as the Graphical Report Server (GRS), reads graphical report templates (VSD and
VTP) and measurement data from Teamcenter. It updates the DPV Reporting & Analysis charts in
templates using the latest measurement data and publishes it to the Web.

PLM00151 12.0 Dimensional Planning and Validation Administration B-5


Siemens Industry Software

Headquarters
Europe
Granite Park One
Stephenson House
5800 Granite Parkway
Sir William Siemens Square
Suite 600
Frimley, Camberley
Plano, TX 75024
Surrey, GU16 8QD
USA
+44 (0) 1276 413200
+1 972 987 3000

Asia-Pacific
Americas
Suites 4301-4302, 43/F
Granite Park One
AIA Kowloon Tower, Landmark East
5800 Granite Parkway
100 How Ming Street
Suite 600
Kwun Tong, Kowloon
Plano, TX 75024
Hong Kong
USA
+852 2230 3308
+1 314 264 8499

About Siemens PLM Software

© 2018 Siemens Product Lifecycle Management


Siemens PLM Software, a business unit of the Siemens
Software Inc. Siemens and the Siemens logo are
Industry Automation Division, is a leading global provider
registered trademarks of Siemens AG. D-Cubed,
of product lifecycle management (PLM) software and
Femap, Geolus, GO PLM, I-deas, Insight, JT, NX,
services with 7 million licensed seats and 71,000 customers
Parasolid, Solid Edge, Teamcenter, Tecnomatix and
worldwide. Headquartered in Plano, Texas, Siemens
Velocity Series are trademarks or registered trademarks
PLM Software works collaboratively with companies
of Siemens Product Lifecycle Management Software
to deliver open solutions that help them turn more
Inc. or its subsidiaries in the United States and in other
ideas into successful products. For more information
countries. All other trademarks, registered trademarks
on Siemens PLM Software products and services, visit
or service marks belong to their respective holders.
www.siemens.com/plm.

You might also like