DevNet Unplugged 2002 “Express Your Innovations” Explore The Future PI Application Framework...

69
DevNet Unplugged 2002 “Express Your Innovations” Explore The Future PI Application Framework Richard Beeson Software Engineering Group Leader San Leandro, CA

Transcript of DevNet Unplugged 2002 “Express Your Innovations” Explore The Future PI Application Framework...

Page 1: DevNet Unplugged 2002 “Express Your Innovations” Explore The Future PI Application Framework Richard Beeson Software Engineering Group Leader San Leandro,

DevNet Unplugged 2002 “Express Your Innovations”

Explore The Future

PI Application Framework

Richard Beeson

Software Engineering Group Leader

San Leandro, CA

Page 2: DevNet Unplugged 2002 “Express Your Innovations” Explore The Future PI Application Framework Richard Beeson Software Engineering Group Leader San Leandro,

DevNet Unplugged 2002 “Express Your Innovations”

Presentation Topics

• Introduction

• Key Concepts

• Conceptions and Misconceptions

• Developer Roadmap

• Digging In– Programming the PI Application

Framework

Page 3: DevNet Unplugged 2002 “Express Your Innovations” Explore The Future PI Application Framework Richard Beeson Software Engineering Group Leader San Leandro,

DevNet Unplugged 2002 “Express Your Innovations”

PI Application Framework Introduction

• What is it?– Extenstion to the PI System

• Topology and Models• Data Aggregation and Organization• Business Logic Infrastructure

– Time Rules, Data References, Analysis• Rich Set of Supporting Functions

– Fully Programmable• New Software Development Kit (AF-SDK)

– Client Integration• Data and Modeling for Process Book• Data Add In for Excel• ICE Integration

Page 4: DevNet Unplugged 2002 “Express Your Innovations” Explore The Future PI Application Framework Richard Beeson Software Engineering Group Leader San Leandro,

DevNet Unplugged 2002 “Express Your Innovations”

Topology / Model

Page 5: DevNet Unplugged 2002 “Express Your Innovations” Explore The Future PI Application Framework Richard Beeson Software Engineering Group Leader San Leandro,

DevNet Unplugged 2002 “Express Your Innovations”

Data Aggregation

PI Application Framework Element

Historian Maintainance

Calculation Financial

LevelVolume,

MassProduct,Material

InventoryValue

ServiceHistory

Data References

Elements

Attributes

Page 6: DevNet Unplugged 2002 “Express Your Innovations” Explore The Future PI Application Framework Richard Beeson Software Engineering Group Leader San Leandro,

DevNet Unplugged 2002 “Express Your Innovations”

Business Logic Plug-Ins

• Data References– Aggregation– Data Source and Store– Calculation

• Analysis Rules– Operations on Topology/Models

• Time Rules– Logic for Time Context

Page 7: DevNet Unplugged 2002 “Express Your Innovations” Explore The Future PI Application Framework Richard Beeson Software Engineering Group Leader San Leandro,

DevNet Unplugged 2002 “Express Your Innovations”

PI Application Framework SDK

Page 8: DevNet Unplugged 2002 “Express Your Innovations” Explore The Future PI Application Framework Richard Beeson Software Engineering Group Leader San Leandro,

DevNet Unplugged 2002 “Express Your Innovations”

Client Integration

• ProcessBook– AF Modeler/Data Set Add-In

• DataLink– AF Add-Ins to Excel (Admin, Analysis)

• Utilities– AF Explorer– TRU

• ICE Integration

Page 9: DevNet Unplugged 2002 “Express Your Innovations” Explore The Future PI Application Framework Richard Beeson Software Engineering Group Leader San Leandro,

DevNet Unplugged 2002 “Express Your Innovations”

Client Integration (ProcessBook)

Page 10: DevNet Unplugged 2002 “Express Your Innovations” Explore The Future PI Application Framework Richard Beeson Software Engineering Group Leader San Leandro,

DevNet Unplugged 2002 “Express Your Innovations”

Client Integration (Excel)

Page 11: DevNet Unplugged 2002 “Express Your Innovations” Explore The Future PI Application Framework Richard Beeson Software Engineering Group Leader San Leandro,

DevNet Unplugged 2002 “Express Your Innovations”

PI Application Framework Runtime

AF CommonControls

AF SDK

PI Data Access

PI SDK

Client Applications andPresentation Layer

PI Application FrameworkServer

PI System

PI ProcessBook

PI DataLink

PI ICE

OEM/CustomApplications

Utilities

Plug Ins

AF DatabaseManagement

Module Database

Page 12: DevNet Unplugged 2002 “Express Your Innovations” Explore The Future PI Application Framework Richard Beeson Software Engineering Group Leader San Leandro,

DevNet Unplugged 2002 “Express Your Innovations”

PI Application Framework Introduction

• What does PIAF Do For Us?– Provides Infrastructure

• Implements Infrastructure Common to Most Applications• Shares Aggregation• Shares Business Logic• Promotes Reuse (across facilities and industries)

through n-tier architecture

– Separates Development from Configuration • PI Point Paradigm

– Implement / Manages Features Needed by All Applications in this Problem Space

Page 13: DevNet Unplugged 2002 “Express Your Innovations” Explore The Future PI Application Framework Richard Beeson Software Engineering Group Leader San Leandro,

DevNet Unplugged 2002 “Express Your Innovations”

Key Concepts

• Next, we look at many of the key concepts behind the PI Application Framework

Page 14: DevNet Unplugged 2002 “Express Your Innovations” Explore The Future PI Application Framework Richard Beeson Software Engineering Group Leader San Leandro,

DevNet Unplugged 2002 “Express Your Innovations”

PI AF Server

Page 15: DevNet Unplugged 2002 “Express Your Innovations” Explore The Future PI Application Framework Richard Beeson Software Engineering Group Leader San Leandro,

DevNet Unplugged 2002 “Express Your Innovations”

PI AF Database

Page 16: DevNet Unplugged 2002 “Express Your Innovations” Explore The Future PI Application Framework Richard Beeson Software Engineering Group Leader San Leandro,

DevNet Unplugged 2002 “Express Your Innovations”

Source Control Paradigm

Page 17: DevNet Unplugged 2002 “Express Your Innovations” Explore The Future PI Application Framework Richard Beeson Software Engineering Group Leader San Leandro,

DevNet Unplugged 2002 “Express Your Innovations”

Element Templates

Page 18: DevNet Unplugged 2002 “Express Your Innovations” Explore The Future PI Application Framework Richard Beeson Software Engineering Group Leader San Leandro,

DevNet Unplugged 2002 “Express Your Innovations”

Element Types

Page 19: DevNet Unplugged 2002 “Express Your Innovations” Explore The Future PI Application Framework Richard Beeson Software Engineering Group Leader San Leandro,

DevNet Unplugged 2002 “Express Your Innovations”

Ports

Page 20: DevNet Unplugged 2002 “Express Your Innovations” Explore The Future PI Application Framework Richard Beeson Software Engineering Group Leader San Leandro,

DevNet Unplugged 2002 “Express Your Innovations”

Catagories

Page 21: DevNet Unplugged 2002 “Express Your Innovations” Explore The Future PI Application Framework Richard Beeson Software Engineering Group Leader San Leandro,

DevNet Unplugged 2002 “Express Your Innovations”

Catagories

Page 22: DevNet Unplugged 2002 “Express Your Innovations” Explore The Future PI Application Framework Richard Beeson Software Engineering Group Leader San Leandro,

DevNet Unplugged 2002 “Express Your Innovations”

Elements

Page 23: DevNet Unplugged 2002 “Express Your Innovations” Explore The Future PI Application Framework Richard Beeson Software Engineering Group Leader San Leandro,

DevNet Unplugged 2002 “Express Your Innovations”

Element Attributes (Values)

Page 24: DevNet Unplugged 2002 “Express Your Innovations” Explore The Future PI Application Framework Richard Beeson Software Engineering Group Leader San Leandro,

DevNet Unplugged 2002 “Express Your Innovations”

Transfers

Page 25: DevNet Unplugged 2002 “Express Your Innovations” Explore The Future PI Application Framework Richard Beeson Software Engineering Group Leader San Leandro,

DevNet Unplugged 2002 “Express Your Innovations”

Units of Measure

Page 26: DevNet Unplugged 2002 “Express Your Innovations” Explore The Future PI Application Framework Richard Beeson Software Engineering Group Leader San Leandro,

DevNet Unplugged 2002 “Express Your Innovations”

Tables

Page 27: DevNet Unplugged 2002 “Express Your Innovations” Explore The Future PI Application Framework Richard Beeson Software Engineering Group Leader San Leandro,

DevNet Unplugged 2002 “Express Your Innovations”

Models

Page 28: DevNet Unplugged 2002 “Express Your Innovations” Explore The Future PI Application Framework Richard Beeson Software Engineering Group Leader San Leandro,

DevNet Unplugged 2002 “Express Your Innovations”

Layers

Page 29: DevNet Unplugged 2002 “Express Your Innovations” Explore The Future PI Application Framework Richard Beeson Software Engineering Group Leader San Leandro,

DevNet Unplugged 2002 “Express Your Innovations”

Connections

Page 30: DevNet Unplugged 2002 “Express Your Innovations” Explore The Future PI Application Framework Richard Beeson Software Engineering Group Leader San Leandro,

DevNet Unplugged 2002 “Express Your Innovations”

Cases

Page 31: DevNet Unplugged 2002 “Express Your Innovations” Explore The Future PI Application Framework Richard Beeson Software Engineering Group Leader San Leandro,

DevNet Unplugged 2002 “Express Your Innovations”

Managed Code (.NET)

• AFSDK and Server Code base developed in C#– Remoting– Robustness– Development Efficiency– COM Interoperability

• Used by Common Controls, ProcessBook, etc.

Page 32: DevNet Unplugged 2002 “Express Your Innovations” Explore The Future PI Application Framework Richard Beeson Software Engineering Group Leader San Leandro,

DevNet Unplugged 2002 “Express Your Innovations”

Plug-Ins

Page 33: DevNet Unplugged 2002 “Express Your Innovations” Explore The Future PI Application Framework Richard Beeson Software Engineering Group Leader San Leandro,

DevNet Unplugged 2002 “Express Your Innovations”

Data References

• Demo

Page 34: DevNet Unplugged 2002 “Express Your Innovations” Explore The Future PI Application Framework Richard Beeson Software Engineering Group Leader San Leandro,

DevNet Unplugged 2002 “Express Your Innovations”

Time Rules

• Demo

Page 35: DevNet Unplugged 2002 “Express Your Innovations” Explore The Future PI Application Framework Richard Beeson Software Engineering Group Leader San Leandro,

DevNet Unplugged 2002 “Express Your Innovations”

Analysis Rules

• Demo

Page 36: DevNet Unplugged 2002 “Express Your Innovations” Explore The Future PI Application Framework Richard Beeson Software Engineering Group Leader San Leandro,

DevNet Unplugged 2002 “Express Your Innovations”

Context

• Time Context– Batch*– Case– Time Range– Time– None

• Model Context• Analysis Context• Presentation Context (UOMs)

Page 37: DevNet Unplugged 2002 “Express Your Innovations” Explore The Future PI Application Framework Richard Beeson Software Engineering Group Leader San Leandro,

DevNet Unplugged 2002 “Express Your Innovations”

Common Conceptions and Misconceptions

• The PI Application Framework Replaces Prior Development Toolkits– Misconception: The PI Application

Framework complements the PI SDK (and PI Server) adding new functionality and behavior in the realms of information organization (aggregation), topology and shared business logic

Page 38: DevNet Unplugged 2002 “Express Your Innovations” Explore The Future PI Application Framework Richard Beeson Software Engineering Group Leader San Leandro,

DevNet Unplugged 2002 “Express Your Innovations”

Common Conceptions and Misconceptions

• The PI Application Framework is Built on .NET Technology– Conception: The PI Application Framework

is built from the ground up as a managed class library.

Page 39: DevNet Unplugged 2002 “Express Your Innovations” Explore The Future PI Application Framework Richard Beeson Software Engineering Group Leader San Leandro,

DevNet Unplugged 2002 “Express Your Innovations”

Common Conceptions and Misconceptions

• The PI Application Framework Replaces the Module Database– Misconception: The PI Application

Framework uses the Module Database just as any other application might use the Module Database.

Page 40: DevNet Unplugged 2002 “Express Your Innovations” Explore The Future PI Application Framework Richard Beeson Software Engineering Group Leader San Leandro,

DevNet Unplugged 2002 “Express Your Innovations”

Common Conceptions and Misconceptions

• The PI Application Framework is THE PI Development Environment– Misconception: The PI Application

Framework provides services and an SDK for solving specific problems in specific problem domains.

Page 41: DevNet Unplugged 2002 “Express Your Innovations” Explore The Future PI Application Framework Richard Beeson Software Engineering Group Leader San Leandro,

DevNet Unplugged 2002 “Express Your Innovations”

Common Conceptions and Misconceptions

• The PI Application Framework is Sigmafine 4.0– Misconception: The next major release of

Sigmafine, 4.0, is a solution built on the PI Application Framework, implementing solution specific schema (templates), business logic in the form of many plug ins,

Page 42: DevNet Unplugged 2002 “Express Your Innovations” Explore The Future PI Application Framework Richard Beeson Software Engineering Group Leader San Leandro,

DevNet Unplugged 2002 “Express Your Innovations”

Developer Roadmap

• Methodology for Developing with the PI Application Framework

• Developing Sigmafine 4.0

• Resources for Developing with the PI Application Framework

Page 43: DevNet Unplugged 2002 “Express Your Innovations” Explore The Future PI Application Framework Richard Beeson Software Engineering Group Leader San Leandro,

DevNet Unplugged 2002 “Express Your Innovations”

Developing with the PI Application Framework

• Define Aggregation Schema– Create Element Templates

• Define Logic– Time Rules, Data References, Analysis Rules

• Define Presentation– Process Book, Data Link, ICE Integration– Custom Reports– Custom Applications

Page 44: DevNet Unplugged 2002 “Express Your Innovations” Explore The Future PI Application Framework Richard Beeson Software Engineering Group Leader San Leandro,

DevNet Unplugged 2002 “Express Your Innovations”

AF Plug-InsSchema

(Templates)

PI ApplicationFramework Clients

Displays

AF SDK

Building an Application Framework Solution

PI ApplicationFramework Server

Reports

Analysis RulesData ReferencesTime Rules

Page 45: DevNet Unplugged 2002 “Express Your Innovations” Explore The Future PI Application Framework Richard Beeson Software Engineering Group Leader San Leandro,

DevNet Unplugged 2002 “Express Your Innovations”

Using the PI Application Framework

• Configure Elements• Configure Models

– Configure Element Connectivity/Topology– Configure Analysis

• Run Cases– Run Analyses

• Configure Presentations– Build Reports, Displays, etc.

Page 46: DevNet Unplugged 2002 “Express Your Innovations” Explore The Future PI Application Framework Richard Beeson Software Engineering Group Leader San Leandro,

DevNet Unplugged 2002 “Express Your Innovations”

AF Plug-InsSchema

(Templates)

PI ApplicationFramework Clients

Displays

AF SDK

Using an Application Framework Solution

PI ApplicationFramework Server

ReportsConfigure Elements and ModelsConfigure AnalysisCustomize/Build

ReportsCustomize/Build Displays

Page 47: DevNet Unplugged 2002 “Express Your Innovations” Explore The Future PI Application Framework Richard Beeson Software Engineering Group Leader San Leandro,

DevNet Unplugged 2002 “Express Your Innovations”

PI Application Framework Developers Roadmap

• The following section outlines the requirements and resources for PI Application Framework Development Early Adopters and Beta Users

Page 48: DevNet Unplugged 2002 “Express Your Innovations” Explore The Future PI Application Framework Richard Beeson Software Engineering Group Leader San Leandro,

DevNet Unplugged 2002 “Express Your Innovations”

PI Application Framework Development Dependencies

• Development PI Server 3.3 SR1

• PI SDK (minimum or exact version dependent on PIAF)

• PI Application Framework Beta– Open beta begins in December 2002

Page 49: DevNet Unplugged 2002 “Express Your Innovations” Explore The Future PI Application Framework Richard Beeson Software Engineering Group Leader San Leandro,

DevNet Unplugged 2002 “Express Your Innovations”

PI Application Framework Development Dependencies

• PI Client Application Integration– Process Book 3.0 Beta (availability TBD)– PI AF Data/Modeler Add In for PB– PI AF Add In for Excel

Page 50: DevNet Unplugged 2002 “Express Your Innovations” Explore The Future PI Application Framework Richard Beeson Software Engineering Group Leader San Leandro,

DevNet Unplugged 2002 “Express Your Innovations”

PI Application Framework Development Resources

• What’s Installed in the Developer Version?– AF Server– AF SDK

• Interoperation DLL’s and Public Assemblies• AF Common Controls

– Online Help– Reference for PI Application Framework

Object Model

Page 51: DevNet Unplugged 2002 “Express Your Innovations” Explore The Future PI Application Framework Richard Beeson Software Engineering Group Leader San Leandro,

DevNet Unplugged 2002 “Express Your Innovations”

PI Application Framework Development Resources

• What’s Installed in the Developer Version? (Continued)– Utilities– Wizards– Tutorial

• Chocolate Milk Factory

– Samples• Time Rules• Data References• Analysis Rules

Page 52: DevNet Unplugged 2002 “Express Your Innovations” Explore The Future PI Application Framework Richard Beeson Software Engineering Group Leader San Leandro,

DevNet Unplugged 2002 “Express Your Innovations”

Digging In

• Developing Plug-Ins– Plug-In Wizards– Installing Plug-Ins– Sample Plug-Ins

• CMF Tutorial– See Code?

• Graphical Model Building– PI ProcessBook 3.0 Demo

Page 53: DevNet Unplugged 2002 “Express Your Innovations” Explore The Future PI Application Framework Richard Beeson Software Engineering Group Leader San Leandro,

DevNet Unplugged 2002 “Express Your Innovations”

PIAF Plug In Wizards

• The PI Application Plug In Wizards for Visual Studio.NET jump start the development of Time Rules, Data References and Analysis Rules.

• Wizards are available for both C# and VB.NET.

Page 54: DevNet Unplugged 2002 “Express Your Innovations” Explore The Future PI Application Framework Richard Beeson Software Engineering Group Leader San Leandro,

DevNet Unplugged 2002 “Express Your Innovations”

PI AF Plug In Wizards (Demo)

Page 55: DevNet Unplugged 2002 “Express Your Innovations” Explore The Future PI Application Framework Richard Beeson Software Engineering Group Leader San Leandro,

DevNet Unplugged 2002 “Express Your Innovations”

Installing a Plug In (Demo)

• The PI Application Framework Server “listens” for changes to the Plug-Ins directory and dynamically adds conforming Plug Ins to the list of known plug ins.

Page 56: DevNet Unplugged 2002 “Express Your Innovations” Explore The Future PI Application Framework Richard Beeson Software Engineering Group Leader San Leandro,

DevNet Unplugged 2002 “Express Your Innovations”

Time Rule Sample

• The Time Rule Sample covers the basic steps required to implement a custom Time Rule Plug In for PI Application Framework.

• Covered in Chapter 4 of the PI Application Framework Users Guide

Page 57: DevNet Unplugged 2002 “Express Your Innovations” Explore The Future PI Application Framework Richard Beeson Software Engineering Group Leader San Leandro,

DevNet Unplugged 2002 “Express Your Innovations”

Data Reference Sample

• The Data Reference Sample covers the basic steps required to implement a custom Data Reference Plug In for PI Application Framework.

• Covered in Chapter 4 of the PI Application Framework Users Guide

Page 58: DevNet Unplugged 2002 “Express Your Innovations” Explore The Future PI Application Framework Richard Beeson Software Engineering Group Leader San Leandro,

DevNet Unplugged 2002 “Express Your Innovations”

Analysis Rule Sample

• The Analysis Rule Sample covers the basic steps required to implement a custom Analysis Rule Plug In for PI Application Framework.

• Covered in Chapter 4 of the PI Application Framework Users Guide

Page 59: DevNet Unplugged 2002 “Express Your Innovations” Explore The Future PI Application Framework Richard Beeson Software Engineering Group Leader San Leandro,

DevNet Unplugged 2002 “Express Your Innovations”

CMF Tutorial

• The Chocolate Milk Factory Tutorial covers most of the basic aspects of programming the PI Application Framework.– Covered in Chapter 3 of the PI Application

Framework Users Guide (included in the handout.)

– Separate CMF Simulator Available*

Page 60: DevNet Unplugged 2002 “Express Your Innovations” Explore The Future PI Application Framework Richard Beeson Software Engineering Group Leader San Leandro,

DevNet Unplugged 2002 “Express Your Innovations”

CMF Tutorial

Page 61: DevNet Unplugged 2002 “Express Your Innovations” Explore The Future PI Application Framework Richard Beeson Software Engineering Group Leader San Leandro,

DevNet Unplugged 2002 “Express Your Innovations”

CMF Tutorial

• DEMO– Create PI AF Database– Create CMF– Run the CMF– Look at CMF via ProcessBook and

AFExplorer– Review Code Behind CMF

Page 62: DevNet Unplugged 2002 “Express Your Innovations” Explore The Future PI Application Framework Richard Beeson Software Engineering Group Leader San Leandro,

DevNet Unplugged 2002 “Express Your Innovations”

CMF Tutorial

• Create– Create Units of Measures– Create Categories– Create Templates (Schema)– Create Derived Elements– Create Model– Add Elements to Model– Add Element Connectivity– Create Model Analysis

Page 63: DevNet Unplugged 2002 “Express Your Innovations” Explore The Future PI Application Framework Richard Beeson Software Engineering Group Leader San Leandro,

DevNet Unplugged 2002 “Express Your Innovations”

CMF Tutorial

• Run– Create Case– Run Case

Page 64: DevNet Unplugged 2002 “Express Your Innovations” Explore The Future PI Application Framework Richard Beeson Software Engineering Group Leader San Leandro,

DevNet Unplugged 2002 “Express Your Innovations”

CMF Tutorial

• Remove– Remove Model– Remove Transfers– Remove Element Templates

• Removes Derived Elements

– Remove Categories

Page 65: DevNet Unplugged 2002 “Express Your Innovations” Explore The Future PI Application Framework Richard Beeson Software Engineering Group Leader San Leandro,

DevNet Unplugged 2002 “Express Your Innovations”

Configuration Utilities

• What About Configuration Utilities?– Much of what is demonstrated in CMF will typically

be accomplished using bulk and/or interactive configuration utilities.

– Bulk configuration will be through XLM documents– Interactive configuration will be through Excel (ala

Tag Configurator) or ProcessBook (Element Configuration and Model Building)

Page 66: DevNet Unplugged 2002 “Express Your Innovations” Explore The Future PI Application Framework Richard Beeson Software Engineering Group Leader San Leandro,

DevNet Unplugged 2002 “Express Your Innovations”

Building a Model Graphically

• ProcessBook 3.0 with the PI Application Framework Add-in (DEMO)

Page 67: DevNet Unplugged 2002 “Express Your Innovations” Explore The Future PI Application Framework Richard Beeson Software Engineering Group Leader San Leandro,

DevNet Unplugged 2002 “Express Your Innovations”

Call to Action• Application Developers

– Sign up for beta program– Begin porting or developing applications

on the PI Application Framework

• Corporate Developers– Sign up for beta program– Begin design process for integrating PI Application

Framework

• IT / Administrators– Plan resources - white papers to be provided on

beta website

Page 68: DevNet Unplugged 2002 “Express Your Innovations” Explore The Future PI Application Framework Richard Beeson Software Engineering Group Leader San Leandro,

DevNet Unplugged 2002 “Express Your Innovations”

Call to Action• All Users

– Start to think about and identify • Organizational / Structural Abstractions

– Equipment– Units– Physical/logical Models

• Data References– Business/Process/Manufacturing rules or logic– Integration with existing (non temporal) data

• Analyses– Time domain operations on organizational or structure

information

• Time Rules– Identify time scope relevant to your business

Page 69: DevNet Unplugged 2002 “Express Your Innovations” Explore The Future PI Application Framework Richard Beeson Software Engineering Group Leader San Leandro,

DevNet Unplugged 2002 “Express Your Innovations”

Questions / Discussion?