Create Sample Definition | Defining Data Collection Parameters
Let's create a Sample Definition with three Sample Attributes, using the SPC Sample Definition Manager window we created on the previous page. We'll utilize it in an upcoming section, to collect some sample data values.
Create a Sample Definition Class
- Launch a client to the Sample Definition page previously created, click
in the toolbar of the SPC Sample Definition Manager component. - Click Add Sample Definition Class > Set As Standalone Class

- Name it SPC Tutorial Samples and click Save
. The new Sample Definition Class will be at the top of your hierarchy tree, as shown.

Create a Sample Definition
- With the new Sample Definition Class highlighted, click
and Add Sample Definition --> Make Selected Definition Class The Parent

Define the Sample: Within the new class, add a new Sample Definition. Name it Dimension Sample A, set its Interval Type to Every Value Change—which is ideal for manual data entry workflows where samples are generated on-demand rather than at fixed time intervals—and enable the Auto Approve property.
- Name: Dimension Sample A
- Interval Type: Every Value Change
- Auto Approve: true
- Click Save
. The new Sample Definition will be a child element to SPC Tutorial Samples.

Create Sample Attributes
- With Dimension Sample A highlighted, click Sample Attributes in the Selected Definition section.
- Click Add
to create a new Attribute. - Enter the following properties:
- Name: LocationX
- Datatype: Real
- ChartType: Individual
- Sample Size: 1
- MaximumValue: 100.0
- Format: #0.00
- Unit: mm
- Click Save
. The new Attribute will be visible in the list. - Repeat steps 2-3 above to create the remaining two attributes, LocationY and Diameter with the same properties.
Name | Datatype | ChartType | Sample Size | MaximumValue | Format | Unit |
LocationX | Real | Individual | 1 | 100.0 | #0.00 | mm |
LocationY | Real | Individual | 1 | 100.0 | #0.00 | mm |
Diameter | Real | Individual | 1 | 100.0 | #0.00 | mm |
You should end up with three Sample Attributes in the list.

- Click Save
to save and exit editing Attributes.
Assign Location
- With Dimension Sample A highlighted, select Location in the Selected Definitions section.
- Click to place a checkmark to the left of Test Location under Line 1. This assigns the Location to to Sample.
- Enter the following properties under Location Settings on the right:
- Interval Type: Every Value Change (should already be set)
- Auto Approve: true (should already be true)

- Click Save
to save and exit editing Locations.
Assign Rules
Finally, link the sample definition to the production model and establish its analytical rules.
- With Dimension Sample A highlighted, click Rules in the Selected Definition section.
- Click the checkbox next to Individual Nelson Rule 3 to select it.

- Click Save
to save and exit editing Rules.
Assign Control Limits
- With Dimension Sample A highlighted, click Control Limits in the Selected Definition section.
- Click the checkboxes next to Individual LCL and Individual UCL to select them.

- Click Save
to save and exit editing Control Limits.
Now that the data structure is fully defined, the next step is to build the user interface for operators to enter this data.