SPC Chart Options

The SPC Chart Options window lets you configure charts to display on the current sub-inspection. For information on opening this window, see Setting charts to display in inspections.

 

Contents  [Hide]

 

Step 1: Select SPC standards for the retrieval

If you want this sub-inspection to chart multiple standards with the same chart types and chart settings (date period, filter, statistical settings, etc.), you can use this step to select all those standards at once – beginning with the Part Number Source:

Note: If you copy and paste a sub-inspection that is configured to chart one or more numeric input standards, you will need to re-select the standards for these charts in the new copy of the sub-inspection. This is because the numeric input tests in the new sub-inspection will have different TestIDs from those in the original sub-inspection. A reminder message will be displayed when you copy and paste such a sub-inspection.

When finished selecting standards, click Next Step.

Step 2: Select chart types

Select the SPC chart types you want to display, and then click Next Step.

Step 3: Modify settings for the selected charts

Choose retrieval and statistical settings for the standards and charts you have selected. You can also specify a Chart skin (created in the GainSeeker Charts module) that changes display options for these charts. When finished, click Save and Close.

Note: If you display a Statistics List or Statistics Table, GainSeeker will use the default report name from the current Chart skin (if specified) or from the current GainSeeker configuration. If a default Statistics list or Statistics table report name is not specified in either of these areas, GainSeeker will simply display system default statistics on these charts.

Tip: If desired, you can configure the charts with a special filter for data that matches traceability values in this inspection:

Filtering for inspection traceability values

In some cases, you may wish to filter the chart for a traceability value that was entered in this inspection – by a Traceability test in a previous sub-inspection or the current sub-inspection, a Planned Inspection, or a Formula test (using inspect.cursubi.trace(idx).value  or inspect.settracevalue Python commands).

For example, you might wish to filter for:

      • a Lot number that the user enters during data entry

      • a Machine ID that you preset with a Planned Inspection or Formula test

To filter for such a traceability value – which may vary from one data entry session to the next – you must create a saved filter that looks for a blank value in that traceability field, such as this example which filters for the current Cavity number:

If this traceability value is not set before the sub-inspection with the filter is opened, the charts that use this filter will not be drawn until a value has been set for this traceability field.

When new charts are opened during an inspection

When you use the ChartOptionsSPC property of a sub-inspection to set up charts, the timing for creating those charts depends on how the standard for those charts is defined.

Preset SPC standards

When a standard is selected using one of these methods, the corresponding chart will be created immediately when the sub-inspection opens:

      • When setting the sub-inspection property ChartOptionsSPC, the Part Number Source is set to Select standard from list

      • When setting the sub-inspection property ChartOptionsSPC, the Part Number Source is set to Use numeric input standard, and the selected Numeric Input test meets one of the following criteria:

        • The Numeric Input test has the SPCStandardSelection property set to PickAheadOfTime and the SingleSPCStandard property set to a particular standard

          Please note: If the SingleSPCStandard property contains a value that does not match an existing SPC standard, the inspection will still create a chart with no data found for that standard

        • A Planned Inspection is used to select a different standard for the Numeric Input test

        • The sub-inspection also contains a Formula test with the FormulaMode property set to Pre and the PythonScript property set to a script that uses the inspect.cursubi.ni(idx).partno command to set a different standard

SPC standards selected by the data entry user

When all of the following criteria are met, the chart for a standard will be created immediately after the inspector selects the standard:

      • When setting the sub-inspection property ChartOptionsSPC, the Part Number Source is set to Use numeric input standard

      • The Numeric Input test you select to be charted has the SPCStandardSelection property set to PickAtRuntime

If the inspector later selects a different standard for the same Numeric Input test, a new chart will be added for the new standard without removing the chart for the previous standard.

When charts are updated (refreshed) during an inspection

Any of the following events will update the side panel charts for the current sub-inspection:

Note: Refreshing a chart means that the chart's data is re-retrieved from the database and statistics are recalculated. If the sub-inspection has multiple charts or charts containing a lot of data, this could prove time consuming.

When charts are closed during an inspection

Any of the following methods will close all charts that are currently open in an inspection:

Sending emails with charts during an inspection