Lean MES Open Source Manufacturing Execution System
Flexible Manufacturing Solutions through Open Standards and Free Software....
Trending PI data in web application without SharePoint/WebParts or VantagePoint.

Welcome. If the following questions ever cross your mind, it's time to consider an alternative:

 - Why to install, configure and support SharePoint with PI WebParts or VantagePoint in order to have trends?
 - What if my clients are not using Microsoft Internet Explorer/operating system? 
 - Why additional cost and maintenance overheads for SharePoint, SQL Server?
 - Is there a way to plot PI Archive point(s) using client neutral extensible server side web application?

I'm not going to answer the first 3 questions, in some cases it is quite obvious, but if there a chance for
the last question, the answer is: yes.


The following information presents an opportunity for development guidelines:

Objective: Trend batch/event PIBaGen related data(points), Enable multiple dual Y-axis charts with 
optional configuration of point[i] to chart[j], series[k output.

Tools: Microsoft VisualStudio 2008/2010 (free)
Microsoft Chart Controls for .NET 3.5 Framework (free)

Environment: OSI PI Historian Server (OEM) with PIBaGen configured to track digital events. 


Typical scenario: Set of batch related PI points added to PI server.
Batch(Process) configured and identified by unique name.
Batch configuration and related PI points linked through "Descriptor" field.
PI points configured to output to a specific chart, although it is possible to configure 
broadcast of point data to all available charts (total 4).

Prototype Example:

Flow, Flow SetPoint, Temperature and Temp.SetPoit configured output to the same chart, thus having superimposed trends over the same time period. UserInt1 = ChartID, UserInt2 = SeriesID. In this case having Flow to Chart[0], Series[0],
FlowSP to Chart[0], Series[1], Temp to Chart[0], Series[2], TempSP to Chart[0], Series[3] (Fig.1).
Fig.1 (Only Temp configuration shown)

The following chart is generated (Fig.2). (samples generated by simulation program in SoftLogix5800).
Now lets reconfigure Temp and TempSP to output to Chart[1], same series (Fig.3). There is also some pulse trend, for now please disregard it.
Fig.3

Now the output for exactly the same batch will receive this look (Fig.4). 
Fig.4

Please note there is no changes in web application code, just PI SMT configuration. 
And finally the production variant of batch trending web application for PI historian. (Fig5).
Fig.5

And example of the prototype tests in iPhone (Fig.6)
Thank you for your time. Please contact incoming@leanmes.net should you have further interest regarding source code, consultation, and/or business opportunities or job offerings.