---
title: "SPC:Perspective:Tag:Configure MES Analysis Selector and Live Analysis"
id: "spc-perspective-tag-configure-mes-analysis-selector-and-live-analysis"
project: "Tutorials"
url: "https://docs.sepasoft.com/articles/mes-module-tutorials/spc-perspective-tag-configure-mes-analysis-selector-and-live-analysis"
updated: 2026-07-23T18:14:02Z
---

# SPC:Perspective:Tag:Configure MES Analysis Selector and Live Analysis

### Configure MES Analysis Selector and Live Analysis
 In this section we will explore two ways to perform analysis, one on screen ([Perspective MES Analysis Selector)](/smart/project-imported-manual/mes-analysis-selector-perspective), the other through the MES Tag provider using [Live Analysis](/smart/project-imported-manual/live-analysis).

The MES Analysis selector is an engineering tool for creating custom analysis calls. By simplifying SQL type queries in the UI, the MES Analysis Selector opens up the analysis engine (and in so doing, lots of SPC data) for dashboards, reports, and other uses. To learn about the MES Analysis Selector, we'll build a simple screen with the component and a table to show results.

After we have configured the MES Analysis Selector, we'll set up tag output of SPC data through Live Analysis. Once analysis values for SPC are present in the tag server, we can bind on-screen display to tags or utilize other Ignition features, such as the Alarm System, for those tags.
 ### Configure MES Analysis Selector​

* Create a new view named MES Analysis.
* On the view , place the [MES Analysis Selector](/smart/project-imported-manual/mes-analysis-selector-perspective)(from the Production section of the component pallet).
* Note the properties of the component, specifically the start and end timestamps for analysis calls and the message/warning features. If there is a problem with the analysis, a message will appear there.
* Place an [MES Analysis Table](/smart/project-imported-manual/mes-analysis-table-perspective)on the screen.
* Bind the data property of the table to the data property of the MES Analysis Selector so that analysis result data is displayed on screen in the table.
* Place two date time selectors on the View for start and end date.
* Bind the startDate and endDate parameters of the MES Analysis Selector to the corresponding dateTime input components.
 ### Configure an SPC Analysis within the MES Analysis Selector

The MES Analysis Selector provides for the creation of new analysis calls as well as the editing and execution of previously configured calls. Follow these steps to configure a new Analysis Setting.

* Selecting the plus icon, create a new Analysis Setting. Give it a meaningful name, giving care to the fact that other users may access the settings. As a best practice, prepend the name indicating the point of use, e.g. "Report pH Testing" or "Dashboard pH Testing". Go ahead and use "Dashboard pH Testing" for the present example. Be sure to add Permissions for the user.
* ![](/resources/Storage/mes-module-tutorials/spc-perspective-tag-configure-mes-analysis-selector-and-live-analysis/spc-perspective-tag-configure-mes-analysis-selector-and-live-analysis-2025-08-15-9.png)
* Next, select the Data Points from the data point edit dialogue. Navigate to the pH Sensor folder under SPC, expanding the pH folder, and Functions, before selecting "pH Sensor-pH.Sample Value". You will also need to select the timestamp of collection, "pH Sensor-pH.SampleTakenDateTime", which is not under the Functions folder. Continue with this process for the Control Limits utilized in the sample as well as the Spec Limits configured for the example.
* Next, edit the Filter By criteria. This feature tells the analysis engine the search criteria for the data we wish to return. Always start with an equipment path filter. For this example type or use the selection interface to achieve this filter clause: Equipment Path = 'New Enterprise\Site\Area\Line 1\Sample Location'
* Next, edit the Group By criteria. Group By determines the logic within the analysis engine for when a new row is returned in the analysis results. For every value of the Group By item (or items), a new row of data will be calculated. For this example select "pH Sensor-pH.SampleTakenDateTime". Therefore this analysis will have a new row for each sample.
* Optionally configure the Order By field, using the SampleTakenDateTime is suggested.

Example screenshot of Analysis setting and result data after execution ![](/resources/Storage/mes-module-tutorials/spc-perspective-tag-configure-mes-analysis-selector-and-live-analysis/spc-perspective-tag-configure-mes-analysis-selector-and-live-analysis-2025-08-15-7.png)

![](/resources/Storage/mes-module-tutorials/spc-perspective-tag-configure-mes-analysis-selector-and-live-analysis/spc-perspective-tag-configure-mes-analysis-selector-and-live-analysis-2025-08-15-6.png)
 ### Configure Live Analysis

The MES Equipment Manager allows for the configuration of [Live Analyses](/smart/project-imported-manual/live-analysis) on equipment. The selection interface for data is very similar to the MES Analysis Selector data point selection interface. The major difference is that Live Analysis returns current values to tags relative to the Time Period selected (Shift, Day, etc.).

Tag values will be published to the MES tag provider in the equipment hierarchy according to the name of the Live Analysis configured. In the present scenario, the Live Analysis is called "Day".

* Navigate to the Equipment Manager
* Drill-down to the Location Equipment
* Select Live Analysis in the General section
* Create a new Live Analysis ![](/resources/Storage/mes-module-tutorials/spc-perspective-tag-configure-mes-analysis-selector-and-live-analysis/spc-perspective-tag-configure-mes-analysis-selector-and-live-analysis-2025-08-15-1.png)
* Select Day(midnight) period.

![](/resources/Storage/mes-module-tutorials/spc-perspective-tag-configure-mes-analysis-selector-and-live-analysis/spc-perspective-tag-configure-mes-analysis-selector-and-live-analysis-2025-08-15-3.png)

* Select Data points relevant to the sample as shown:

![](/resources/Storage/mes-module-tutorials/spc-perspective-tag-configure-mes-analysis-selector-and-live-analysis/spc-perspective-tag-configure-mes-analysis-selector-and-live-analysis-2025-08-15-2.png)

* Make sure to save the data points selection ![](/resources/Storage/mes-module-tutorials/spc-perspective-tag-configure-mes-analysis-selector-and-live-analysis/spc-perspective-tag-configure-mes-analysis-selector-and-live-analysis-2025-08-15-4.png)
* Once back on the main screen, save the settings collection ![](/resources/Storage/mes-module-tutorials/spc-perspective-tag-configure-mes-analysis-selector-and-live-analysis/spc-perspective-tag-configure-mes-analysis-selector-and-live-analysis-2025-08-15-5.png)

View MES tag provider in the designer:

![](/resources/Storage/mes-module-tutorials/spc-perspective-tag-configure-mes-analysis-selector-and-live-analysis/spc-perspective-tag-configure-mes-analysis-selector-and-live-analysis-2025-08-15-8.png)
 [Next](/articles/mes-module-tutorials/spc-perspective-tag-configure-spc-driven-report)