Compare Mean and Tolerance

Comparing result data to tolerances is done in a DataSet. For more on creating a DataSet and getting points and characteristics and samples in the DataSet, see DataSet Properties. After a DataSet exists that has the desired data, and has been verified by viewing it in the grid, the next step is to create a trigger. The event tab of the DataSet lists a set of criteria that one can choose to trigger on, whether the data does, or does not meet the conditions selected. The list includes being between certain values, within tolerances, out of control, etc. If the tolerances in the database are available, "out of tolerance” can be selected. Variables can also be used, as well as functions, such as the 1.5 more than the tolerance.

{(~ ut~)+1.5} or {(~ lt~)-1.5}

Comparing the mean of a point to the tolerances requires two steps. The first is creating a DataSet as above. You can even use the same DataSet, although the trigger will not be set up as it was for tolerance. After a DataSet has been created and viewed in the grid to verify the desired information is in it, a new DataStack must be created.

Name the DataStack and right click on it to access the DataSource Properties dialog. On the DataSource tab, on the right hand side of the page in the DataStack section, click the arrow menu next to 3D math. Select Mean from the list. Click the DataSet button, select the DataSet from the list, and press the arrow to put it on the left side of the screen. This will take each individual row of the DataStack and perform 3D math on that row (it will calculate the mean of those values). The tolerance associated with each point will be retained. Click the Event tab. From the Trigger menu select “out of tolerance”. Click Ok.

Now there is a DataStack that compares the mean of each point with the tolerance in the database for the point. This information can be used in a variety of annotations- in tables, text boxes, and charts. In order to show when these values are not inside of the tolerance, setup a trigger in the Event tab of the DataSet Properties. Then, in the annotation's properties Event Operations section, select either the Draw only if triggered or the Use style radio button. Calculations can also be performed based upon this information, in tables, by asking for percent conformers or non-conformers.

Can we improve this topic?