Building PI System Assets & Analytics w PI AF v2010

133
Building PI System Assets and Analytics with PI AF Version 2010

Transcript of Building PI System Assets & Analytics w PI AF v2010

Building PI System Assets and Analytics with PI AF Version 2010

 

OSIsoft, L

777 DavisSan Leand

Tel: (01) 5Fax: (01) Web: http

OSIsoft A

OSIsoft E

OSIsoft A

OSIsoft C

OSIsoft, L

OSIsoft Ja

OSIsoft M

OSIsoft d

OSIsoft F

Copyright: ©

No part of thmeans, mec OSIsoft, theFramework BatchView,RLINK, RtAAll other tra U.S. GOVEUse, duplicalicense agreapplicable. O

LLC

s St., Suite 25dro, CA 9457

510-297-5800510-357-813

p://learning.os

Australia • Per

Europe GmbH

Asia Pte Ltd. •

Canada ULC •

LLC Represen

apan KK • To

Mexico S. De

do Brasil Siste

France EURL

© 1992-2011 OS

his publication mhanical, photoco

e OSIsoft logo an(PI AF), IT Mon PI Data ServiceAnalytics, RtBasademarks or trad

ERNMENT RIGHation or disclosu

eement and as prOSIsoft, LLC.

50 77 USA

0 6

sisoft.com

rth, Australia

H • Frankfurt,

• Singapore

• Montreal &

ntative Office

okyo, Japan

R.L. De C.V

emas Ltda. • S

• Paris, Franc

SIsoft, LLC. All

may be reproducopying, recordin

nd logotype, PI Anitor, MCN Heaes, PI Event Framseline, RtPortal, de names used he

HTS ure by the U.S. Govided in DFAR

Germany

Calgary, Can

e • Shanghai,

. • Mexico Ci

Sao Paulo, Br

ce

l rights reserved.

ced, stored in a reng, or otherwise,

Analytics, PI Proalth Monitor, PI mes, PI Manual RtPM, RtRepor

erein are the prop

Government is suRS 227.7202, DF

nada

People’s Rep

ity, Mexico

razil

.

etrieval system, without the prio

ocessBook, PI DSystem, PI ActivLogger, PI Profi

rts and RtWebPaperty of their res

ubject to restrictiFARS 252.227-7

public of Chin

or transmitted, ior written permis

DataLink, ProcesveView, PI ACE

fileView, PI Webarts are all trademspective owners

ions set forth in 7013, FAR 12.21

na

in any form or bssion of OSIsoft

ssPoint, PI AssetE, PI AlarmViewbParts, ProTRAQmarks of OSIsof.

the OSIsoft, LL12, FAR 52.227,

P

by any t, LLC.

t w, PI Q, ft, LLC.

LC , as

Page i

Building P

 Page ii    

How t

User manfrom http:required.

PI System Asset

to Use th

uals, Learnin://techsupport

ts & Analytics w

his Wor

ng workbookst.osisoft.com

with PI AF

rkbook

, and other m. Login to an

Ede

Np

Thryouwitcha

Thtimleahanith

Icons helthemes, ltools, tipdoc men

materials used n OSIsoft tech

ach Main Heaescribes a higl bl l i

New conceptpresented as lh di

Your objectskills you cal i hi

roughout the u will be preseth questions aallenges to he

e majority of me will be spearning new sknd-son exercih i ll

lp you identiflike exercisess, or

ntation

in class can bhnical suppor

ading gh-level i i

ts are level 2

tives are an expect to

class ented

and lp you

f your ent kills via ises,

fy ,

be downloadert account is

ed

 

SoftwareThe list be

Software

PI System

e Versions Uelow describe

m

Used in this es the softwar

Documentre versions ussed in this verrsion of the coourse.

Version

2010

Pa

age iii

 

Table1. 

2. 

3. 

4. 

5. 

e of ConPI S

1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 1.9 1.101.11

PI A

2.1 2.2 2.3 2.4 

PI S

3.1 3.2 3.3 3.4 3.5 

3.6 3.7 

PI N

4.1 4.2 4.3 4.4 4.5 4.6 

PI A

tents System Basic

What is a PAssets andDirected EDirected EConnectinDirected AExercise –Time and PDirected E

0  Finding Da  Exercise –

Asset Framew

Key featurDirected AWhere are PI AF Units

Server Based

PerformanDirected ASolo / GrouDirected ASolo / GrouExpressioThe PI TotaSolo / Grou

Notifications

PI NotificaDirected ANotificatioDirected ADirected ASolo / Grou

ACE ...............

cs ..................

PI System? ..d PI Points–

Exercise – AsExercise – Da

g to a PI SysActivity – Con– Create a NePI ..................

Exercise – PI ata ................– Finding Dat

works (PI AF

res of the PI AActivity – Tan

my Assets?s of Measure

d Calculation

nce EquationActivity – Cheup Exercise

Activity – Conup Exercise ns ................alizer............up Exercise

– Triggering

tions QuestiActivity – Inst

n State GrouActivity – TrigActivity – Notup Exercise

.....................

......................

......................The Basic B

ssets Definedata Types......stem ..............nnections .....ew Connectio......................Times ..........

......................ta ..................

) ....................

AF System: .nks ................? – A Discusse ....................

Engines ......

Syntax & Peecking out P– Applying P

nfiguring the– Building P............................................– Build Com

& Filtering ..

ons (Group)tallation of Pups & Statesggering and Stifications Te– Another Ta

......................

.....................

.....................Building Blocd ..................................................................................on to a PI Se....................................................................................

.....................

.....................

.....................sion, Part 1 ......................

.....................

erformance EEReference.PI PE Syntaxe PIPESchedPI PE tags fro..........................................

mmonly Used

.....................

) ....................PI Notification

(& Global CScheduling .

emplates ......ank Notificat

.....................

.....................

.....................cks in the PI ....................................................................................

erver..................................................................................................

.....................

.....................

.....................

.....................

.....................

.....................

Equation Sc.CHM ............x .....................Bat file with

om your PI P..........................................

d PI Totalizer

.....................

.....................ns (optional)

Configuration..........................................tion ..............

.....................

PI System B

P

......................

......................System .................................................................................................................... 1.................... 1.................... 1.................... 1.................... 2

.................... 2

.................... 2

.................... 2

.................... 4

.................... 4

.................... 4

heduler ...... 4.................... 4.................... 4h the PI-ICU 4PE .................... 5.................... 5r Tags ......... 5

.................... 6

.................... 6) .................. 6n) ................. 6.................... 6.................... 7.................... 7

.................... 7

Basics

Page v

. 1 

. 1 

. 3 

. 4 

. 6 

. 7 

. 8 12 13 15 16 21 

22 

24 25 43 44 

45 

45 46 47 49 

50 53 54 

60 

62 63 65 67 72 75 

76 

Building P

 Page vi    

6. 

7. 

8. 

PI System Asset

5.1 5.2 5.3 5.4 5.5 5.6 

Noti

6.1 6.2 6.3 6.4 6.5 6.6 6.7 

Mor

7.1 7.2 7.3 7.4 7.5 7.6 7.7 

Fina

ts & Analytics w

Why use ADirected ADirected AThe PI ModSolo / GrouGroup Que

ifications PaGroup QuePI NotificaPI NotificaPI NotificaSubscriptiMyPI and PAcknowled

re PI AF ........PI AF ObjeDirected EPI AF VersDirected EPI AF AdvaGroup ExeGroup Discmanageme

al Exercise –

with PI AF

ACE? What aActivity – PreActivity – Simdule Databasup Exercise estions – Wh

rt 2 ...............

estions – Chtions Delivertions Contentions Contacons – applyiPI Notificatiodgements, C

.....................

ect Security .Exercise – AFsioning .........Exercise – Eleanced Tempercise: Speedcussion – Went. ...............

– A Wind Farm

are its limitatparing for th

mple PI ACE Cse – Context– PI ACE wit

hich Calculat

......................

ecking on oury Channelsnt and Messacts, Active Dng this to yo

ons in PI ClieComments, &

......................

......................F Objects Se......................ement Versiolate Design ..dy’s Pizza – A

Where are my ......................

m in PI AF ....

tions? ..........he ExercisesCalculation .t Before PI-Ath Context ...tion Should I

.....................

ur tank notif....................

age FormattiDirectory, & Sour notificatients ..............& Escalation T

.....................

.....................curity ...............................oning ................................Advance Temassets, part

.....................

.....................

..................... ..........................................

AF .......................................I Use? (Disc

.....................

ications ............................ing ................

Subscriptionions ...................................Teams .........

.....................

.....................

.....................

.....................

.....................

.....................mplate Desigt 2 / PI AF sy.....................

.....................

.................... 7

.................... 8

.................... 8

.................... 8

.................... 8cussion) ..... 8

.................... 9

.................... 9

.................... 9

.................... 9s ................. 9.................... 9.................... 9.................... 9

.................. 10

.................. 10

.................. 10

.................. 10

.................. 10

.................. 10gn ............. 11

ystem project.................. 11

.................. 11

78 80 82 84 86 89 

90 

90 90 93 95 97 97 97 

00 

00 05 06 07 09 10 t 13 

14 

 

1. PI S

1.1 W

Objective

• D• D

1.1.1 T

The PI Syyour data your data with clien

These are

Data is coThe data ifrom the P

System

What is a P

es

Define the comDraw a diagra

The PI System

ystem collectssources to onsources and s

nt tools.

generally the

ollected from is sent to the PPI/AF Servers

Basics

PI System

mponents of aam of the arch

m Described

s, stores, and mne or more PI send it to the

e parts involv

the source byPI Server (Ass by the Clien

?

a PI System hitecture of a

manages dataInterface NoPI Server. Us

ved in a PI Sy

y the PI Interfsset data can bnt tools.

PI System

a from your podes. The Intesers get data f

stem:

face program be contained

lant or proceserface Nodes gfrom the PI S

hosted by thein the PI AF

ss. You conneget the data frerver and dis

e Interface NoServer). It is

PI System B

P

ect from play it

ode. s read

Basics

Page 1

Building P

 Page 2    

1.1.2 A

Sometimeinterfaces

The PI Se

In many clevels.

PI System Asset

Architecture o

es the architec feeding data

erver = PI D

cases there are

ts & Analytics w

of a Typical

cture can be vto a PI Serve

ata Archive

e many PI Ser

with PI AF

PI System

very simple. er. Everyone

+ PI Asset F

rvers in an or

Some customreads that PI

ramework

rganization, a

mers have as feServer for th

aggregating da

few as one or heir data.

ata from lowe

two

er

 

1.2 A

Objective

• D• D• D• D

1.2.1 W

The PI As“metadatamonitoredfamiliar wtechnical associated

 

Assets and

es

Define an AF Define the fouDefine a Tag aDefine the dif

What is an As

sset Framewoa” that is usuad. Assets canwith tags. Usidetails of eac

d with a speci

PI Points

Asset and itsur attribute typand the attribu

fferent data ty

sset?

ork (AF) Servally organizedn be helpful toing assets theych piece of eqific piece of e

Tag

s– The Bas

s components pes: Static (Nutes Tag Nam

ypes that can b

ver is a part ofd according too users of the y can find the

quipment. Assequipment.

s

sic Buildin

the element aNone), PI Poime, Descriptobe stored in P

f the PI Systemo the assets coPI System whe data they nesets are also h

Asse

ng Blocks

and the attribuint, Formula, or, and Point SPI Tags

m. It containontaining the ho do not knoeed without unhelpful in find

ets

in the PI S

utes and Table LoSource.

ns asset or tags being

ow or are not nderstanding ding all of the

PI System B

P

System

ookup

the e tags

Basics

Page 3

Building P

 Page 4    

1.3 D

Problem

Identify th

There are

PI System Asset

Directed E

Yostepcha

Description

he type of obj

four types of

ts & Analytics w

xercise – A

u are invited ps at the sameapter or sectio

jects in the PI

f Attributes, li

with PI AF

Assets Def

to watch whae time to explon.

I AF Server.

ist them here:

fined

at the instructlore the differ

:

tor is doing orrent concepts

r perform the presented in

same this

 

1.3.1 W

It is a uniqmeasurem

1.3.2 S

The answ

Across

3. Discret

6. Floatin

8. Integer

Down

1. Any Ti

2. Binary

4. Integer

5. Scaled

6. Floatin

7. Text va

What is a PI T

que storage pment. It has b

o What Type

er is pretty m

te value (On/O

g Point numb

value, 16 bit

me/Date in th

large object u

value, 32 bit

Floating Poin

g Point numb

alue up to 976

Tag?

oint for data ieen the tradit

es of Data Ca

much everythin

Off, Red/Blac

ber, 32 bits (si

s (0 to 32767

he range 1-Jan

up to 976 byt

s (-21474508

nt number, 16

ber, 64 bits (d

6 characters

in the PI Dataional unit in t

an PI Store?

ng. Below ar

ck/Green)

ingle precisio

, acc: 1/3276

n-1970 to 1-J

es

880 to 214748

6 bits (1/3276

double precisio

a Archive. It the PI Server.

(Point Type

re the valid da

on)

7)

Jan-2038

83647)

7 times range

on)

is simply a si.

es)

ata types:

e)

ingle point of

PI System B

P

f

Basics

Page 5

Building P

 Page 6    

1.4 D

Problem

Identify th

Example

A switch p

A Batch I

Operator c

The result

Memory a

Current ph

Current pr

1.4.1 S

Each PI taare often upurposes.

Tag Nam

Unique naconventioFor examp

M03_E1P

________Descripto

This is theplace of thsort of abb

PointSou

All tags arThis meanby searchipoint sou

PI System Asset

Directed E

Yostepcha

Description

he type of dat

: a Temperatu

position:

ID: ______

comments:

ts of a calcula

available on a

hase of the re

roduct count:

ome Basic Po

ag has a set ofused in client

me

ame of the PIon. Sometimple, try to det

P2_MOTDR

____________or

e human-frienhe tag name wbreviation con

urce

re related to tns that in maning for all tag

urces in use a

ts & Analytics w

xercise – D

u are invited ps at the sameapter or sectio

ta that might b

ure Sensor __

_________

___________

_________

ation: ___

a server: ___

eaction:

___

oint Attribut

f attributes tht tools. Most o

point used toes knowing thtermine what

V1202_RUN

___________

ndly descriptiwhen the tag nnvention and

their interfaceny cases you cgs of a certainand that will

with PI AF

Data Type

to watch whae time to explon.

be associated

__a floating p

____________

___________

____________

___________

___________

_______

___________

tes and Why

hat define it. Tof these attrib

o search for tahe naming cothe following

NSTAT

___________

ion of the PI Tname is not inthe descripto

es that collectcan find all o

n PointSourcenot be true i

es

at the instructlore the differ

d with each of

oint value___

___________

____________

___________

____________

____________

___________

____________

They are Im

There are sombutes are used

ags. Most tagonvention cang tag may refe

____________

Tag. It is oftentuitive. Veryor is used to c

t the data by af the tags assoe. This assumn most situat

tor is doing orrent concepts

f the following

_

__________

___

__________

___________

___________

___________

___________

mportant to Y

me common td for display o

gs are built usn be helpful iner to:

_______

en used as a sy often the taapture the “fu

an attribute caociated with ames that the tions.

r perform the presented in

g:

______

____

___________

____

You

ag attributes tor information

sing a local nan searching fo

search criteriag name is somull name.”

alled PointSoa particular duser knows

same this

that nal

aming or tags.

ia in me

ource. device

the

 

1.5 C

Objective

• D• C• E• C• C• C

1.5.1 W

You will eFramewor

 

Connecting

es

Describe the dConnect to a PExamine yourConnect to a PCreate a New Cleanup Conn

What do we c

either be lookrk (AF) Serve

g to a PI S

different waysPI AF Server r connected crPI Server Connection t

nections in the

onnect to?

king for data ier or for tag d

System

s we can conn

redentials

to a PI Servere Known Serv

in the PI Systdata in a PI Se

nect to a PI Sy

r ves Table

tem that is experver.

ystem

posed throughh the PI Asse

PI System B

P

et

Basics

Page 7

Building P

 Page 8    

1.6 D

Problem

You may Archive a

Approach

Credentia

User: __

Password

Open PI S

Start > P

Open Abo

Start > P

PI System Asset

Directed A

In tconinstor h

Description

follow along and PI AF Ser

h

als for PI Syst

___________

: ______

System Explo

rograms > P

out PISDKUt

rograms > P

ts & Analytics w

Activity – C

this part of thncepts presenttructor is doinhold a quiz. Y

as your instrurvers.

tem Explorer:

___________

___________

orer:

PI System > P

ility:

PI System > P

with PI AF

Connection

he class you wted in this chang or performYour instruct

uctor shows y

____________

___________

PI System Ex

PISDKUtility

ns

will perform a apter or sectio

m the same steor will have d

you how to va

_____

____________

xplorer

y

a learning action. You mayeps at the samdirections.

alidate conne

_____

ivity to explory be invited tome time. You

ctions to PI D

re the differeno watch whatmay play a g

Data

nt t the game

 

1.6.1 C

When yousoftware iof the serv

You can supper left

The Selecdown alon

To connecAF Server

When con

Connecting to

u install the Pinstallation (sver (hostname

see which PI At.

ct Database ding the top).

ct to a differer……..

nnecting to an

o a PI Asset F

PI System Cliesome programe or IP addres

AF server you

ialog box will

ent PI AF Serv

nother PI AF

Framework S

ent, either as ms install the Pss) and creden

u are connect

l show you w

ver click the e

Server you w

Server

a new installaPI AF Client)ntials.

ted to by selec

which server y

ellipsis button

will be prompt

ation or as pa), you will be

cting the data

you are conne

n (…) to searc

ted for creden

art of a larger asked for the

abase button i

cted to (the d

ch for anothe

ntials.

PI System B

P

e name

in the

drop

er PI

Basics

Page 9

Building P

 Page 10    

1.6.2 E

The only for examp

1.6.3 C

You can gthe dialogthat machwhat it loo

Note: Thehave neve

PI System Asset

Examining Cr

way to determple) and look

Connecting to

get to the PI Cg box is invokhine. PI Connoks like.

e first time a Per configured

ts & Analytics w

redentials for

mine your conto the status b

o a PI Server

Connection Mked it will dispnection Mana

PI applicationa PI Server a

with PI AF

r the PI AF S

nnected credebar.

r

Manager fromplay all of theager is part of

n is installed aat least one sh

Server

entials is to cr

m any numbee PI Servers thf the applicati

a default PI Should appear i

reate somethin

er of places inhat have beenion PI SDK U

Server is selecin your PI Co

ng (a new ele

n the system. n configured f

Utility. Below

cted. This is wonnection Ma

ement

When from

w is

why, even if yanager.

you

 

What is mused. Exa

Note: Th

1.6.4 C

Unless dirPI3 and 5

most useful is actly how you

his is particula

MosPlea

Create a New

rected otherw5450. Other s

which PI Seru are connecte

arly useful if y

st user guidesase consult the

Connection

wise leave the selections are

rver(s) you areed is displaye

you are havin

have a sectioe user guide f

to a PI Serv

Connection Tfor legacy sy

e currently coed in two plac

ng permission

on describing for your appli

er

Type and the ystems.

onnected to ances.

ns issues.

connection toication for det

Port Number

nd the creden

o the PI Servetails.

r respectively

PI System B

Pa

ntials

er.

y to

Basics

age 11

Building P

 Page 12    

1.7 E

Problem

You are nthe corpor

Your Instr

Network N

Default U

Password

Approach

Using theabove cre

Write in t

PI System Asset

Exercise –

Yostepcha

Description

new to the PI rate PI Server

ructor will giv

Node: _____

User Name: __

: _________

h

About PI-SDdentials using

he space belo

ts & Analytics w

Create a N

u are invited ps at the sameapter or sectio

System and nr.

ve you the cr

____________

___________

____________

DK item fromg the PI Conn

ow how you k

with PI AF

New Conn

to watch whae time to explon.

need to famili

edentials to u

___________

___________

___________

m your Windonection Man

know you are

nection to

at the instructlore the differ

arize yourself

use:

___________

____________

__________

ows Start Mennager.

connected:

a PI Serve

tor is doing orrent concepts

f with the me

____

_______

nu, create a co

er

r perform the presented in

ethods to conn

onnection usi

same this

nect to

ing the

 

1.8 T

Objective

• D• E• E• E

1.8.1 T

All data intimestamp“coordinaThe seconfloating ptimestampon exactlythe serverwhenever

1.8.2 T

When youtimes. Yowill be bethis sectio

1.8.3 T

Absolute

Absolute

• A• A• A• A

A date or for Micro

Note: If nassume m

Time and P

es

Define the timExplain AbsolExplain RelatiExplain how P

Time Defined

n PI is time-stp and the primate” time – thend part of the oint value whps in PI are boy the same rocr and used in or a timestamp

Time Choices

u search for dou should useetter than otheon.

The Absolute

Time (a spec

time refers to

A time aloneA date alone A date and timA PI Time abtime can be asoft Window

no date is spemidnight.

PI

me choices in lute Time in Pive Time in PPI handles tim

tamped in themary index foe number of stime stamp (w

hich reflects thoth quick andck-solid basisour client prois displayed –

data in the PI Se the one that ers. They are

Time Forma

cific point in

o a specific po

e

me combined bbreviation

a either the Ws) or the PI T

ecified the sys

PI: AbsolutePI

PI mes zones and

e interface wior time is a veseconds sincewhich is also he fractional

d precise and as. This two pograms and an– it is shown

System, you his easiest for easy to unde

at

n time)

oint or range i

Windows time Time format (d

stem will assu

e and Relative

d DST

th a two part ry fast integeJanuary 1, 19indexed whepart of the seall time data iart timestamp

nalytical progin a local for

have two choyou – althougrstand and rem

in time. This

format (confdd-mmm-yy H

ume today. If

e

timestamp. Fer which repre970 in Greenw

en used) is a vecond. In thisin PI servers p is maintainegrams directlyrmat of the en

oices: absolutegh you will dmember, and

s can be:

figured in the HH:mm:ss.00

f no time is sp

First part of thesents the UTwich Mean ti

very precise s way – all everywhere ied (not alteredy. However, nd user’s choo

e and relativediscover that sd are described

Regional Se0000)

pecified then t

PI System B

Pa

he TC or ime.

is kept d) by

osing.

e some d in

ttings

the system wi

Basics

age 13

ill

Building P

 Page 14    

What are

• *• T• Y• M

th

1.8.4 T

Relative T

A relative

• A• Y

These tim

They are u+ 8h :

Combinet + 8h

Relative T

SeconHoursDays Years

Note: Th+2.5h or

1.8.5 H

The short

When we called Greadjustmenmachine c

Also, becaviewed intool.

PI System Asset

e the Commo

* represents NT represents toY represents yMonday or Mhree letters)

The Relative T

Time (time is

e time is simp

A half hour frYesterday plu

mes all depend

usually expre+ 8 hours

ed Time (usin: today +

Time Units o

nds (s) s (h) (d)

s (y)

here is no defa-0.5m).

How does PI A

answer is, w

collect data weenwich Meants for time, sclock of the u

ause the clienn either Serve

ts & Analytics w

on PI Time A

NOW oday at midniyesterday at mon represents

Time Forma

s offset from

ply a time that

om now us eight hours

d on the situat

essed as a sign

ng Absolute a8 hours

of Measure:

Minutes (mWeeks (w) Months (m

ault time unit.

Adjust for tim

e don’t!

we convert it n Time (GMT

such as timezouser looking a

nts and PI Serr Time or Cl

with PI AF

Abbreviation

ight midnight s Monday at m

at

m another tim

t can be relati

tion.

n, a number, a

and Relative

m)

o)

. Hour, Minu

mezones and

to UTC (UniT). This meanone or Daylig

at the data.

rver know whlient Time. T

s?

midnight (or a

me)

ve to the pers

and a unit of m

Times toget

ute and Secon

d DST?

versal Coordins that each dght Saving Tim

hat timezone tThis is determi

another specif

son. For exam

measure.

her)

nd intervals c

inated Time),day has exactlme (DST), ar

they are in, thined by a sett

fied day or its

mple:

can use fractio

, or what usedly 24 hours. Are made by th

he data can beting in the clie

s first

ons (for exam

d to be Any e local

e ent

mple

 

1.9 D

Problem

Determine

Express th

How man

Directed E

Yosam

Description

e the “real” d

Abbrevia

* - 30m

y + 8h

T

Y

12 8:

Thursday

* + 1h (wuseful?)

Tuesday –

he following t

Abbrevia

Today at

Monday a

12 hours a

The first dmonth

The end o- Friday

7:00 am y

15 minute

ny ways can y

xercise – P

u are invited me time to exp

dates and time

ation

why is this

– 2d

times in valid

ation

6:00 AM

at 6:30 am

ago

day this

of the week

yesterday

es ago

you “PI Abbre

PI Times

to watch whaplore the diffe

es indicated by

Answer

d PI time abbr

Answer

eviate” 8 am t

at the instructferent concept

y the PI Time

reviations:

today?

tor is doing orts presented in

es in the table

r perform the n this chapter

e below:

PI System B

Pa

same steps ar or section.

Basics

age 15

t the

Building P

 Page 16    

1.10 F

Objective

• D• D• E

1.10.1 F

Most PI aAttributesvalue), or

Elements

Below are

PI System Asset

Finding Da

es

Demonstrate tDemonstrate tExamine Tag

Finding data i

applications ws. When you any other key

are Assets. E

e examples of

ts & Analytics w

ata

the ability to fthe ability to sAttributes an

in the PI Ass

will give you tdrill down toy information

Element Attri

f search result

with PI AF

find element search for tag

nd Current Va

set Framewo

the option of o an element yn.

butes reflect t

ts..

data within thgs alues

rk Server

searching foryou can inspe

the tags and a

he PI AF hier

r Elements or ct its Attribut

associated dat

rarchy

Element tes (like curre

ta.

ent

 

In the majhave look

The advanother data

jority of casesked at tag data

ntage to usinga is associated

s, you will bea.

g elements and with an asse

e looking at da

nd attributes oet – something

ata contained

over tags is thag you cannot

d in elements,

at you can cledetermine us

just as you w

early see whasing tags,

PI System B

Pa

would

at

Basics

age 17

Building P

 Page 18    

1.10.2 S

Tag Seartypes of s

• B

• A

• A

Basic and

• B

• A

They both

Note: Alasset structo find da

Most of th

Tag Mask

This can aor you areHowever,

Descripto

Descriptotags. For eread as Recomparing

Point Sou

Point Souand how tPoint Soutag names

Variation

PI System Asset

earch for Ta

ch is one of tearch:

Basic

Advanced

Alias

d Advanced do

Basic allows y

Advanced allo

h produce the

ias Search uscture for mostta.

he tag searche

k

also be callede very familia, most people

or

r is not a requexample, a teeactor 65 Opeg text strings,

urce

urce can be exthe interfaces

urce. So if yous are, you can

ns

ts & Analytics w

ags

the most comm

o the same th

you to search u

ows you to se

same results.

es the PI Modt applications

es will be filte

d Tag Name. ar with the tag

do not have t

uired tag attrimperature tagerating Temp, and so can b

xtremely helpfhave been se

u know what dn bring up a li

with PI AF

mon function

hing, just in di

using commo

arch using a S

.

dule Databases beginning w

ered in one of

If your organgs in your planthat luxury. M

bute, but it isg might be TC. The downsi

be fairly inten

ful, but it doeet up. Each dedevice you wst of all of the

ns that users w

ifferent ways.

on criteria thro

SQL like synt

e (MDB). Thwith PI Server

f three ways:

nization has a nt, then your

Most of us hav

the one that C365674A.pvde to searchin

nsive on your

es require certevice interface

want data frome tags that are

will perform.

.

ough a define

tax.

he PI MDB isr 2010. Users

convenient njob of search

ve to use som

many people v but the descng by Descripcomputer pro

tain knowledge will be labe

m, but you aree associated w

There are thr

ed menu

s no longer uss should use th

naming convehing will be eame other criter

use to find thcriptor might bptor is that it iocesses.

ge of the PI Seled with a spe not sure whawith that devi

ree

sed as the maihe PI AF Exp

ention asier. ria.

heir be is

System ecific at the ce.

in plorer

 

Remembe

Use * to r

fl

Use ? to r

ta

Search fo

Advancedneed. In c

Note: Onmanually.

Some appexample, different w

er that wildca

replace any n

low* = flow_m

replace one c

ank?_level = t

or Points, Ad

d Tag Search certain circum

nly the AND o.

plications willthe Tag Searweb architectu

rds can be us

number of ch

meter1, flow_

character like

tankA_level,

dvanced

allows those mstances it ca

operator is su

l use differentrch function oure and thus l

ed in any of t

haracters like

_meter2, flow

e in this exam

tankB_level

who prefer a an be more sp

upported by de

t formats, buton PI WebPalooks slightly

the above sear

e in this exam

w_meter3

mple:

SQL Query secific than th

efault. To use

t they all accoarts (formerlyy different

rches.

mple:

syntax to findhe Basic Searc

e the OR oper

omplish the say RtWebPart

d the tags theych.

rator select th

ame functionsts) is based o

PI System B

Pa

y

he text and en

s. For n

Basics

age 19

nter it

Building P

 Page 20    

1.10.3 L

The way wcalled tag

Simply op

PI System Asset

Look at Point

we collect, ag attributes. E

pen a tag sear

For Syst

ts & Analytics w

t Attributes U

ggregate, and Ever wondered

rch, find a tag

more informatem Managem

with PI AF

Using a Com

store data is ad how to actu

g, and click Pt

ation see PI Pment Guide, pp

mon Dialog W

all determineually see the ta

t.Attr.

Point Classes p. 21).

Window

d by a tag’s cag attributes?

and Attribute

configuration ?

es (PI Server 2

2010

 

1.11 E

Objective

• D

Problem

You need

Note: Yoinstructor

Approach

Answer thwill give y

What is th

Where is t

How man

How man

How man

How manClass is 'B

Which Da

Exercise –

Thitopassi

es

Discover Data

Description

d to familiariz

ou must use thwill give you

h

he following qyou appropria

he current hea

that asset loca

ny flow meter

ny seem to be

ny tags are the

ny tags appearBase' in the A

ata Search me

Finding D

is is a solo or ic area. Youristance during

a in the PI Sys

e yourself wit

he Training Su alternate det

questions usinate details):

ad pressure of

ated? ______

s do I have in

working at th

ere that begin

r where the CAdvanced Tag

ethod do you

Data

group activitr instructor wg the activity.

stem

th the princip

Sample AF Dtails for the e

ng either the P

f the asset YU

___________

n Montreal? _

he moment? _

with the lette

ompression DSearch?

prefer?

ty that is desigwill have instru

.

ples of searchi

atabase for thxercise below

PI AF Explor

UL Pump 009

____________

___________

___________

ers “BA:”?___

Deviation is g___________

___________

gned to maximuctions, and w

ing for data.

his exercise. w.

rer or tag sear

9? ________

___________

____________

___________

____________

greater than 1 ____________

____________

mize learningwill coach yo

If this is not

rch (your inst

____

_______

_

__

______

and the Point___

__________

PI System B

Pa

g in a specificou if you need

available you

tructor

t

Basics

age 21

c d

ur

Building P

 Page 22    

2. PI A

Many PI sthe instrumhave beenengineerinsources mthese sour

And now crews fromsites whicbeen instausing diff

PI System Asset

Asset Fr

sites have PI mentation is in rigorous tagng unites. PI

may not have brces.

many compam multiple sitch may have aalled on differferent units of

ts & Analytics w

ramewo

data based onintended for f

g naming standI is often usedbeen configur

anies want to ctes – they waa common prorent control / f measure – ev

with PI AF

orks (PI

n instrumentatfunctionality, dards, There d to integrate red consistent

compare perfant a collaboraocess. Howevautomation sven speaking

AF)

A dataObjecrepresassets

The e“middtransinform

tion. Often thnot quality omay be missinformation f

tly. The PI ta

formance of eative work enver, their instystems by difdifferent lang

abase of userct Models” casent the logics – in your pro

elements formdle layer” for forms PI datmation.

he configuratof informationsing descriptiofrom differenags are often

equipment, pronvironment betrumentation fferent engineguages

r configured “alled elementsal componentocess.

m a data directPI clients wh

ta into

tion informatin. There mayons and/or

nt sources andbuilt directly

ocedures, andetween a fleetsystems ofteneering system

“Process s which ts – the

tory hich

ion in y not

d these y from

d t of n have

ms,

 

What PI Amake cominstrumencomparabmore intu

A PI Syst

 

Asset Framewmparable thingntation data anbility in proceuitive, organiz

em that think

works (PI AF)gs comparablnd configuratsses from dis

zed access to p

ks more like y

) can offer is “e and correct ion. This allosimilar instruprocess data

you do…

“normalizatiothe inconsist

ows organizatumentation an

on” and contetencies and ditions and eng

nd control sys

PI Asset F

ext. The abiliiversity of gineers to see stems and allo

Frameworks (P

Pa

ty to

the ows a

PI AF)

age 23

Building P

 Page 24    

2.1 K

2.1.1 S

• upse

• hola

2.1.2 U

• Ada

• In

• Pca

• Inin

• M

2.1.3 E

• Sufl

• Pu

• Su

• Cda

2.1.4 R

• Pth

• V

• Tcl

• Aba

PI Asset Fthe next s

PI System Asset

Key featur

calable

p to ten milliervers

osted in 32 &arge scale SQ

Useable by ev

A flexible hierata multiple w

ntegrated easy

owerful temalculations

ntegrated to ontuitive ways.

Microsoft integ

Extensible – a

upported by lexible SQL &

ublished PI A

upports our P

Customers andata recipients

Reliable – a g

I AF –HA (hihere

Very compatib

The best of Mlass (& world

A disciplined ackup, detaile

Frameworks tep for all PI

ts & Analytics w

res of the P

ion assets wit

& 64 bit MicroLServer farm

veryone

rarchy and pways

y-to-use calcu

mplates suppo

our PI Proces.

grated and va

a platform fo

PI-OLEDB & XML stand

AF SDK & PI

PI Notification

d partners can (delivery cha

ood investme

igh availabili

ble with our p

Microsoft SQLd wide) suppo

store for youed integrated

(PI AF) is nousers and app

with PI AF

PI AF Syst

th reference t

osoft O/S’s &ms with mirror

owerful searc

ulations and lo

ort discipline

ssbook, PI Co

alidated securi

or other appli

Enterprise adards.

I Analytics SD

ns alerting an

n create custoannels) with M

ent for the lo

ty) assures th

proven PI Serv

LServer & OSort

ur enterprise’security, and

ot a special puplications. It

tem:

to up to a hun

& SQLServer, ring.

ch and index

ookup tools

e and main

oresight, PI D

ity

ications

and PI Webs

DK with train

nd event filteri

om calculatioMicrosoft Vis

ong haul

he AF director

ver HA techn

SISoft engine

’s process knrecord lockin

urpose add-onis the PI Syst

ndred PI tags

compatible w

xing support p

ntenance for

Datlink 2012

service query

ning and supp

ring applicatio

ons (data refersual Studio (C

ry and AF inf

nology.

ered software

nowledge thatng collaborati

n to the PI Setem all will u

s across multi

with SQLExpr

provide for f

relationship

2 & PI Webp

y capabilities

port on VCam

on

rences) and fCsharp or VB

formation is a

e quality and

t offers versiion.

erver. It repruse in the futu

iple PI

ress or

finding

ps and

parts in

s with

mpus

filtered B)\

always

world

ioning,

resents ure:

 

2.2 D

Activity O

• C

• Del

• C

• C

• E

• C

• C

• L

• Cm

• C

Approach

Follow yobut follow

 

Directed A

In tdiffinvthehav

Objectives

Create an elem

Define the valulement templa

Create and pop

Create an elem

Extend the tem

Create an enum

Create an AF e

Learn how to b

Create more elmethod

Create a PI Pro

h

our instructor w closely and

Activity – T

this part of thfferent concepvited to watch same time. Y

ve directions.

ment with PI p

ue types and uate.

pulate a new A

ment template

mplate with ne

meration set w

element from

build a basic h

lements with

ocessBook di

to perform thlisten to the i

Tanks

he class you wpts presented ih what the instYou may play

point, table lo

units of meas

AF table

from an elem

ew attributes

which and use

a template

hierarchy of e

the PI AF Bu

splay for you

he following sinformation in

will perform a in this chaptetructor is doiny a game or h

okup, and for

sure for attribu

ment

and see these

e it for data va

elements

uilder using th

ur elements

steps. You wn this initial e

a learning actier or section. ng or performhold a quiz. Y

rmula data ref

utes in the ele

e effect the ori

alidation in a

he template tr

will work indexploration of

PI Asset F

ivity to explorYou may be

m the same steYour instructo

ference attrib

ement and in

iginal elemen

template

ransposed attr

dependently laf PI AF.

Frameworks (P

Pa

re the

eps at or will

utes

the

nt

ributes

ater,

PI AF)

age 25

Building P

 Page 26    

Step 1 –

Open PI SServer) th

PI Systemprogram –in the librbutton barselected in

Create a lastname

If the sysbut ratherselection mDatabaseMyAFDB

PI System Asset

Configure a

System Explohat your instru

m explorer off– the upper lerary). The mirs are contextn the navigato

new databas.

stem explore or you get a popmenu below.

e or click on tB_first initial a

ts & Analytics w

an AF Datab

orer from the suctor indicate

fers many regeft browser wiiddle area, “Vt sensitive andor panel.

se in the PI Sy

opens, choosep-up – click o Right click a

the New Dataand lastname

with PI AF

base and ele

start menu ans.

ions: Use theill show your

Viewer” is thed will change

ystem Explor

e File Dataon the “Selectanywhere in tabase button o(example: M

ement

nd if need be c

e lower left “Nelements (or primary wor depending on

er named My

abase, If the st” option, andthe list of dataon the button

MYAFDB_JDo

connect to the

Navigator Panr templates anrk area. Bothn what you ar

yAFDB_first

system Explord you should sabases and chbar. Nameoe) and click

e PI System (

nel” to move nd other refereh the pull dowre doing and

t initial and

rer does not osee the databahoose New the database the OK butto

PI AF

around in theence items wh

wn menus andwhat you’ve

open ase

on.

e hen d

 

Make sureor double

About Da

For convefewer, larpossible tdatabase aAF.

The Confi

If you aredatabase i– it is only

Create a n

From the or select t

In the gen

e the databaseclick on it to

atabases

enience in ourger databaseso compare eleat the busines

figuration Dat

e an administrinstance in thy shown to ad

new element c

left hand menthe New Elem

neral tab whic

e is selected i open your da

r classes we ws – because reements and vss unit and no

tabase

rator, you wille PI AF Expldministrators

called Tank A

nu, select Elemment Button fr

ch opens, chan

n the list of aatabase.

will all have oeferences in Palues across dt the plant lev

l see by defauorer. This daand client too

A.

ments you carom the butto

nge the name

available datab

one database –PI AF are onlydatabases. Covel. Just reme

ult a database atabase is callols will not se

an right click on bar.

of the elemen

bases and clic

– but in practy within the companies maember: The d

available to yled Configuraee this databa

on this and se

nt to Tank A.

PI Asset F

ck the OK bu

tice it may be current databaay find it bettedatabase is t

you when creation. Do notase.

elect New Ele

.

Frameworks (P

Pa

utton

better to builase – it is not er to organizethe universe i

eating a new t use this data

ement

PI AF)

age 27

lt

e in PI

abase

Building P

 Page 28    

The elemerelationshElements

The elemeorganizatielements ton a temp

Elements named “Tunder “Sypossible, tnecessarycharacter.mark.

Click on tchoose Neelement.

With the API Point.

PI System Asset

ent is the basihips with othe

are generally

ents representions, sites… ethat represent

plate or made

in a PI AF DTransformer” uystem 2” but ythere is some

y. The name o Invalid char

the Attributesew Attribute t Configure th

Attribu

Level

Volume

Capacit

Attributes tabClick anywh

ts & Analytics w

ic building bler elements any organized hi

t physical or leven events lit the same piewithout a tem

atabase must under and eleyou can’t havsense in uniq

of the elemenracters includ

s tab and thento define attri

he attributes a

ute Name

e

ty

b selected, selhere on the scr

with PI AF

ock of PI AFnd search charierarchically,

logical entitieike batches orece of equipmmplate – altho

be uniquely nement named ve two elemenquely namingnt must start wde: the semico

n right click oibutes. We was described b

UOM

% (Ratio c

m3 (Volume

US Gallons

ect the Levelreen and then

– it is an orgracteristics –though this is

es in your pror transfers…

ment or event wough you will

named to thei“System 1” a

nts named “Trg all elements with an alphanolon, quotation

on the attribuwill be makingbelow:

lass)

e class)

(volume)

l attribute andn click the Set

No

In(othcli

Th

ganizing featubut it doesn’ts not required

ocess: equipmThere may bwithin an AF see that temp

ir path. That and another eransformer” uregardless of

numeric charans of any kin

ute pane (the wg three attrib

Value Type

Double

Double

Double

d change its dttings button.

ote the PI ser

n the Tag namor search for ithat looks like ick the OK b

his should ret

ure – like a folt have dynamd.

ment, lines, probe no reason tF database Tplates are high

is you can halement namedunder the samf hierarchy, buacter, the “%”

nd, brackets, a

white space) abutes in the n

Value

20,000

ata reference .

rver at the top

me field, entert with the taga magnifying

button

turn the value

lder. So it hamic values itse

oducts, systemto ever have twThey can be bhly recomme

ave an elemend “Transform

me element. ut this is not ” or the “_” and the questi

and new

0

to a

p of the panel.

r BA:Level.1g search buttong glass) and

e from PI

as elf.

ms, wo

based ended.

nt mer”

If

on

.

n

 

Select theReferenc

Assign tw

L = Level

C = Capameters fo

In the righ

L / 100 *

Click OK

Attributeshave a con

e Volume Atte When you

wo parameter

l (attribute)

acity (attribuor the purpose

ht panel, enter

C

K to close the p

s must also benfigured, con

tribute and frclick on the s

rs (letter varia

ute) when selee of the calcul

r the equation

panel, note th

e uniquely namnstant value or

rom the right settings button

ables) (click

ecting this – clation.

n;

he parameter d

med along ther can get a va

hand panel sen you’ll see th

Note: Whenreference, esmeasure conUOMs for thexplicitly. DconfigurationUOM from tthis also in th

on )

change the U

definition and

eir path withialue dynamica

elect the Formhe AF Formu

n configuring specially one nversion, it is he inputs and

Do this in the pn section by cthe Unit of Mhe Result sect

Unit of Measu

d equation in

in the elemenally from a da

PI Asset F

mula Data ula Wizard

a formula datinvolving uniusually best tresult are spe

parameters choosing the

Measure drop dtion at the bo

ure to cubic

the settings s

nt they belongata reference.

Frameworks (P

Pa

ta it of that the ecified

appropriate down. Do

ottom left.

string.

g to. Attribute

PI AF)

age 29

es can

Building P

 Page 30    

Press thefrom the

Saving Check i

PI System Asset

Refresh butmenus File

Work – in and Out

ts & Analytics w

tton on the bu Check In t

The PI holds cothers –When ypublishUntil y“lockedmarks ielemenchangeand set

with PI AF

The conattributePI databreferenc

utton bar anto save these

AF Server hachanges that y– saving themyou “Check Ihed sandbox ayou check in-d” and will noin the browse

nts which are es” button next your sandbo

nfiguration itee is intended tbase and willce.

nd then the Ce changes.

as a concept oyou make – evm even if you In” you take yand make it thother users wot be able to mer window whnot yet publis

xt to the checkox back to the

Attributes ara value typewith programyou can do wfor most anastring for evare interestineither a zeroa False (0) a

Attributes arof measure. into convertAF is very fUoM to anoimportant fe

em click box to be configunot be set pro

Check in butt

of “sandbox.”ven if you havexit and re-e

your changes he single publ

will be told thamake changeshich indicate tshed by “check in button w database as i

re generally “e which will bmming experwell enough calog/numeric verything elseng. A Boole

o or one – whand True (1).

re also genera These UoM

tible / comparflexible in conother as needeeature later.

and property ured by a userogrammatical

ton or select t

” The PI Systve not yet “punter PI Systemfrom the preslic version that you have ths to them. Nthat you havecking in”. T

will reset your it was before

“strongly typebe familiar to ience. In genchoosing a dovalues and a

e, but other typean, for exampich is represe

ally assigned Ms are organizrable classes. nverting fromed. More on t

indicates thar or designer olly or by a dat

this

tem / AF Servublished themm Explorer. served but no

hat others can his element Note the red ce changes on

The “undo all sandbox chanyou started

ed” to those

neral ouble

pes ple is

ented

a unit zed PI

m one this

at this of the ta

ver m” to

ot see.

check

nges

 

Step 2: Create a nbuilding a

In the Pto the lidatabasthe pan

Right clic

In the Gen

Select the2 new row

N

M

D

On the “TTable:

Simple AF new AF table a table in othe

PI System Expibrary in the se by clickinge at the bottom

ck on Tables a

neral tab, cha

e Define Tablws. Define th

Name

MaterialID

Density

Table” tab, ent

workin

Tables in thand name thi

er programs w

plorer navigatcurrent on Library inm left

and select Ne

ange the nam

le tab and prehe Table as fo

VT

S

D

ter the follow

Mater

WX12

HC15

AQ45

ng.

he Libraryis table Mater

which have sim

te

n

ew Table (or

me of the table

ess the Insert ollows:

Value Type

String

Double

wing fictional

rialID

200

00

00

rial Propertiesmple table bu

use the New

to Material

a row (table

Unit

<No

kilog(Kg/class

chemicals in

Dens

2100

3422

8943

s. Building thuilding capabi

Table button)

Properties

e column) but

t Of Measure

one>

gram per cubi/m3) (in the Ds)

the new Mate

sity

PI Asset F

he table is similities.

)

tton 2 times t

e

ic meter Density

erial Properti

Frameworks (P

Pa

milar to

to add

ies

PI AF)

age 31

Building P

 Page 32    

Tables areTable Looprocess enconfigura

Tables candata sourcinformatiouse in PI A

Create an“Materia

In the librEnter the

Check in

The enum“name” – digital stastate sets sets as a vknow wha

Step 3 – C

Select “TaConvert abut does s

PI System Asset

e held in the Pokup Data Rentities which tion informat

n be created ice or linked don in a mainteAF clients an

n AF enumeralIDs”.

rary, select EnMaterialIDs f

both newly c

meration set iswhich allows

ates sets used or maintain th

value type forat is in a given

Configure an

ank A” from and then “Conset it to the ne

ts & Analytics w

PI AF Databaeference to attthe elements

tion for PI AF

internally (as dynamically toenance, produ

nd application

ration set of t

numeration Sefrom the table

Valu

0

1

2

created tables

an ordinal liss us to refer toby PI digital hem in PI AFr PI AF attribun PI AF attrib

AF Element

the elements nvert to Tempew template).

with PI AF

ase and PI Systributes. Tabreference or t

F.

we have dono external relauction plannin

ns. More on th

the Material

ets and createe as values in

e

by selecting

st – a list of so either the ntags in the PI

F. It’s just a uutes which is bute value.

t Template

in the Systemplate” (note th

stem to providbles can provithey can be u

e above) – imational sourceng, or equipmhis later.

lIDs in your t

e a new enumn the set.

Name

WX1200

HC1500

AQ4500

File Check

equential inteame or the nuI Server, howuseful way to a handy way

m Explorer anhis does not d

de contextualide informatio

used to store ta

mported from e. In this way

ment database

table, call th

meration set na

k In

eger values wumber. This iever you donkeep informa to do data va

nd right mousedelete or chang

l information on about the eag names or o

an external rey – tables can and return th

he set

amed Materia

which can be ais very analog

n’t have rebuilation. You canalidation – to

e click and sege the elemen

through the Pequipment or other

elational or tan look up hat to PI AF f

alID.

assigned a strigous to the PIld your digitan use enumermake sure yo

elect nt –

PI

abular

for

ing I al ration ou

 

Locate yoTemplateits name tadd three it by rightselecting “template –Attribute

Then add by clickin

AN

D

M

P

In the temfollowing

our new Eleme in the libraryto Tank Temnew attribute

t mouse clicki“Add new att– or by using button on the

three new attng on the butto

Attribute Name

Density

Mass

Product

mplate, configg table to conf

Table

Result Co

Where

ment y and change

mplate. Then e templates toing and tribute the New

e button bar.

tribute templaon bar “New

UOM

kg/L (

kg (M

<None

ure a table lofigure the look

lumn

ates to it, by rAttribute”

(Density clas

Mass class)

e>

ookup data rekup value:

MateriaProper

Density

Materia@Prod

right mouse cl

Valu

s) Doub

Doub

Enumset: M

eference for t

al ties

y

alID = duct

lick in the att

e Type

ble

ble

meration Material ID

the Density a

PI Asset F

tribute templa

Data Ref

Table Loo

Formula

<None>

attribute. Use

Frameworks (P

Pa

ates or

ference

okup

the

PI AF)

age 33

Building P

 Page 34    

Configurethe formu

Check in y

Check on the enume

Create a n

PI System Asset

e a formula dula: V = V

your changes

Tank A in therated list. C

new element c

ts & Analytics w

data referencVolume D

s

he Elements seClick the refre

called Tank B

with PI AF

Select the Slist box. Sthe Result

In the Whethe Operato

Click the AOK button

Examine th

ce for the MasD = Density

ection of the esh button.

B based on the

Settings buttoSelect Materiacolumn

ere group boxor, and Produ

Add And butto to accept

he Configurat

ss attribute. U Form

System Explo

e Tank Templ

on beneath thal Properties

x, select Mateuct as the Attr

on to add the

tion settings.

Use the followmula = V * D

orer and selec

late element t

he Data Referes as the table a

erialID as the ribute or Valu

where clause

wing to configD

ct a Product fr

template

ence drop dowand Density a

column, = as ue

e and click the

gure

from

wn as

e

 

and assign

AN

L

V

C

D

M

P

Commit th

The Pow

The term templates alike – stain object o

When chaautomatic

If changesuniquely soverwritte

ned to its attri

Attribute Name

Level

Volume

Capacity

Density

Mass

Product

hese edits to t

wer of Temp

template suggdo this and m

ay alike. Theoriented prog

anges (in defacally update th

s are made to set values or cen if those de

ibutes the foll

Data

PI Poi

Formu

<Non

Table

Formu

<Non

the AF databa

plates

gests a cookiemore for elemy are what yo

gramming.

ault values, athe elements w

the elementsconfigurationfault values a

lowing values

Reference

int Reference

ula

ne>

Lookup

ula

ne>

ase by choosi

e-cutter like wments. PI AF tou might call

ttribute definiwhich are man

s they are not n strings in theare set in the t

s:

Value

e Sinusoid

n/a (willin the te

30000

n/a (will

n/a (willformula

Select a list.

ing File Ch

way to create templates hel“Strong” tem

tion, or structnaged by that

replaced by ce data referentemplates.

d

l be calculateemplate)

l be derived f

l be calculatein the templa

product from

heck In

new things inlp assure that

mplates – in co

ture) are madt template.

changes to thences of unique

PI Asset F

d based on th

from the AF t

d based on thate)

m the enumera

n a standard wthings that ar

oncept, simila

de to the temp

e template. The elements – t

Frameworks (P

Pa

he level

able)

he

ated set

way and PI Are intended toar to class libr

plate – they

hat is, if you they will not

PI AF)

age 35

AF o be raries

be

Building P

 Page 36    

This allowthat chang

And it alloprocess unhave the c

In this exain the navscratch th

Two inter

PI AF Tembe able tobut you w

Attributesremove anvalues est

Templatesapplicatio

Step 4 – Create a nand name

Select eacand dropp

Select a P

if you drabut it has this – noti

If you dradragging

If you draparent ele

Step 5 – Use the P

PI System Asset

ws you to not ges are applie

ows you to grnderstanding complete anal

ample we crevigation panelere.

resting notes a

mplates have make change

will no longer

s derived fromnd unique valtablished in th

s may be the ons in which i

Organize thnew element ( it Tank Farm

ch of your Tanping .. while h

Parent Child R

ag with no keytwo parent elice that the el

ag with the Ct Ctrl = Cop

ag with the SHement.

Create moreI-AF Builder

ts & Analytics w

only to createed to all appro

row your AF into the temp

lysis from the

ated our templ and select te

about PI AF t

an “allow exes to the struchave assuran

m a template hlue or configuhe template.

most powerfuit makes sense

he tanks into(in the elemen

m in the gener

nks and movholding the sh

Relationship f

y pressed youlements – the lement icon h

trl key pressedy

HIFT Key pre

e tanks within Microsoft

with PI AF

e, but to mainopriate like el

database as aplate and it wie beginning.

plate from an emplates and e

templates and

tensions” cliccture (namingce that your e

have a “reset uration string

ul and uniquee not to use te

o a tank farmnts section of ral tab of the c

ve them into thhift key down

for each of the

u create a linksame elemenas a “link” de

d you create a

essed you mov

the PI AF BExcel to con

ntain many, mements.

an analysis tooill be passed t

existing elemelement temp

d elements:

ck box on the g and number elements are t

to template” definition for

e feature in PIemplates whe

m f the PI systemcentral work a

he Tank Farmn.

em.

k and the elemnt is representesignator on i

a new elemen

ve (or “Shift”

Builder for Mnnect to your

many element

ol – you can ato all of the e

ment, but you plates and star

general tab. of attributes,

the same.

option on ther this attribute

I Asset Frameen building PI

m Explorer) warea.

m as Child ele

ments are in boted in two plait.

nt which is a c

”) the element

Microsoft EPI AF Server

s with the tem

add more calclements. You

can go directrt making you

If you click t, etc..) of indi

eir right click e and reset it

eworks. TherI AF elements

without a tem

ements by dra

oth places – iaces in the hie

copy of the on

t to under the

Excel r and Databas

mplate – know

culations and u don’t have t

tly to the Librur template fr

this box you wividual elemen

menu. This wto the default

re are few s.

mplate

agging

t is one elemeerarchy – if yo

ne you are

e destination /

se

wing

to

rary rom

will nts,

will t

ent ou try

/

 

Open MicDatabase

Import yand select

Select onlattributesattributes.

Select ImpSelect a Spress Searclick “OK

The next sconfigura

Then click

crosoft Excel,button and us

our tank elemt both of your

ly the Templas to select the.

port from AFSearch Root asrch your tank

K”.

screen selectstion item from

k on the butto

, note the PI Ase this to conn

ments, select tr tanks.

ate configurae configuratio

F and the Elems “Tank Farm

ks should appe

s the columnsm the element

on that says “

AF Builder ribnect to your A

the tank farm

ation for the eons and values

ments button am” and/or seleear. Hold the

s. Press “Clets submenu.

Transposed

bbon menu seAF Server and

as the root an

lement and ths of the level,

and select “Fect your temple Shif t Key d

ear All” and th

attributes”

elect it. Clickd database.

nd/or the tank

hen use the T, capacity, an

Find Elementslate “Tank Te

down , select b

hen select onl

PI Asset F

k on the AF

k template to

ransposed nd product

s” from the memplate” wheboth tanks, an

ly the “Temp

Frameworks (P

Pa

search

menu. en you nd

late”

PI AF)

age 37

Building P

 Page 38    

The resultproduct w

The res

Note in thindicated equal signreference attribute. or apostroset the valconfigura

Also notePI AF Bu

Alter yourcells. Be name and

Change

PI System Asset

t should list thwith the > Key

sult should be

he picture aboby the “|” cha

n indicates yopull down in Because the

ophe before thlue – but the vtion string. T

the “x” in thilder will igno

r tank recordssure that the

d that the prod

To

ts & Analytics w

he attributes fy and click “O

e a simple tabl

ove the “=” sigaracter), “=\\

ou wish to chaPI System Ex“=” character

hat “=” to prevalue of the lThis syntax o

e selected(x) ore this row a

s in the spreadPI server nam

ducts match th

with PI AF

from your temOK” (the othe

le of tanks in

gn in front of\server\tagnamange the confixplorer), withr is used by Eserve it in theevel attribute

only applies to

column / Coland not opera

dsheet. Just mme in front of he tables (and

Level

mplate. Selecers are set by

the spreadshe

f the Level attme…” but nofiguration strinhout the equalExcel for forme cell. Capac is set by the

o the template

lumn A (it muate on this elem

make the chanf your Level tad enumeration

ct the capacitythe template)

eet.

tribute (attribuot in front of tng of the attril sign you edi

mulas, you maity is a configPI Point Data

e Transposed

ust be Columnment or attrib

nges directly agname is then sets) you bu

Capacity

y, level, and ).

utes in columthe capacity vibute (the valuit or set the vaay have to entguration attriba reference, wAttribute me

mn A). If this bute.

in the spreade correct PI seuild in PI AF.

P

mn headers arevalue, 20000. ue below the alue of the ter a single qubute – we wanwe want to setethod.

is not selected

dsheet erver

Product

e The data

uote nt to t the

d, the

 

Tank 1

Tank 2

Please notproducts j

Export wi

Confirm ybutton or

In this exanot use thcolumn ancolumns. be circumtemplate –

Step 6: C

Open PI P(stand alo

From the the left. Tcomputer

Tan

Tan

te that the Projust as they ar

ith the create

your work by F5.

ample we usehis feature – Pn attribute wi For like elem

mstances wher– if so, many

Create a PI P

ProcessBook vone display do

View Menu There is a PI Sr / AF System

nk 3

nk 4

oduct field is re in the enum

or edit option

going to PI S

ed the powerfuPI AF Builderll import each

ments tied to are you want toof the princip

ProcessBook

v3.2 and use ocument) nam

select ElemeSystem Explom and Datab

=\\Server

=\\Server

validated to tmeration set (n

n to build the

System Explo

ful template T, instead of mh element anda template theo edit or creatples are the sa

k Display fo

the file\Newmed Tank Di

nt Relative D

orer icon, Selase from the

r\SinusoidU

r\CDT158

the enumeratinot case sensi

new tanks ba

orer to the Ele

Transposed Atmaking a tabled attribute to ae Transposed te elements aname.

r your Tank

menu or the “splay

Display and nlect this and sresulting “Ele

20000

30000

ion set so youitive).

ack into your

ements tab an

ttribute functie where each ra different rowAttribute me

nd attributes w

ks

“new” icon to

note the panelselect your Aement Search

PI Asset F

H

A

u must enter th

database.

d pressing ref

ion in PI AF Brow is an elemw with their p

ethod is far suwhich are not

o create a *.P

l which appeaAF Server h” dialog.

Frameworks (P

Pa

HC1500

AQ4500

he

fresh

Builder. If yoment and eachproperties in

uperior. Theret unified by a

PDI

ars on

PI AF)

age 39

ou do h

e may

Building P

 Page 40    

When youyour tankin the list

Select theon the PI inch on th

.

Select Tatanks.Clic

PI System Asset

u select Searcks and click oon the left.

e “hammer” EProcessbook

he screen

anks from theck “OK” to se

ts & Analytics w

ch it should shokay to select

Edit/Build mobutton bar.

resulting meee your tank i

with PI AF

how your tanyour tanks as

de tool and thDrag out a re

enu on the leftin the display

nks. Holdings elements of

hen Click on tctangular app

t and select a y

g the CTRL kef interest. The

the Symbol Lproximately 1

tank symbo

ey down, seleey should disp

Library tool 1 ½ inch by 1

ol to represent

ect play

icon 1 1/2

t your

 

Next to thpull/downmenu.

The selectpush it int

Back at thstart to ze

Select theand selectAs you dithe trend b

Select theof the tank

Select thetime clickelement a

Your disp

he tank – drawn fly-out menu

ted tank shouto the “selecte

he bar chart ero. Click “O

e hammer editt the element id with the levby clicking “O

e hammer toolk in the displa

e hammer toolk on the Add attribute. Just

play should lo

w a bar charu next to the T

uld appear wited attributes”

definition diaOK” on this d

t/build mode trelative opti

vel above, selOK”

l and click onay. Select ele

l and processElement Naclick “OK” t

ook something

rt, using the PTag Search b

th its attribute” list. Click “O

alogue, set thdialogue

tool and clickion from the flect mass from

n the process ment relativ

s value tool agame button atthis will displ

g like this:

PI Processbooutton and sele

es. Select LeOK”.

e upper to 10

k on the trendfly-out menu m the selected

value “123” e display aga

gain. From tht the bottom –lay the tank n

ok bar chart toect Element

evel and use

00, the lower

d builder. Dnext to the tad tank and cli

tool and clickain and select

he element re– you do not nname.

PI Asset F

ool. Select thRelative from

the down arro

r to zero and

raw out a recag-search buttick “OK” – ac

k above the pthe Product.

elative panelneed to select

Frameworks (P

Pa

he m the

ow to

the

tangle ton. ccept

icture .

, this t an

PI AF)

age 41

Building P

 Page 42    

Using theInterest l

Note that is the resudensity timThe mass it’s quick.zoom or pare all pre

This is the

 

PI System Asset

Arrow/Run mist on the left

Mass is our mult of looking mes the resultvalues are no

. If you look pan back befoesented consis

e power of PI

ts & Analytics w

mode select tot. Use the zoo

most derived vup the produ

t of the capacot stored anywfor values wi

ore we built thstently.

I AF to transfo

with PI AF

ool, switch taom and curso

value in this euct to a table tcity times everwhere (not in ith the trend che calculation

form PI data in

anks by selecr tools to exa

example… Wto find the denry level (fromPI tags) – the

cursor or bubbns they will ca

nto informati

cting Tank B amine the tren

We know hownsity and then

m a PI tag) in ey are calculable values yoalculate for yo

on.

in the Elemennd display.

w it is defined n multiplyingthe sample pe

ated on demanu get them – ou. And the

nts of

and it g that eriod. nd and if you tanks

 

2.3 W

Question

Based on / or PI ser

1. Whe

2. How

woul   

Later in ththis as the

 

Where are

Thenewyou

s

this experienrver in your w

re would I fin

w many (estimld be required

he class we’lle week progre

my Asset

e following quw insight. Your own or hav

nce with PI AFworklife, perha

nd the assets,

mate) assets wod to reflect the

l return to theesses to prepa

s? – A Dis

uestions are iour instructor ve the group a

F and your exaps a few que

equipment, lo

ould I likely ne commalities

se questions aare for the late

scussion, P

intended to remay choose t

answer them t

xperiences witestions are sug

ogical proces

need to get stas?

as learn moreer discussion.

Part 1

einforce key into have you trtogether out lo

th your proceggested:

ss units to form

arted using P

e about PI AF

PI Asset F

nformation, ory to answer toud.

ess informatio

m into elemen

PI AF? How m

F. Think abo

Frameworks (P

Pa

or to discoverthe questions

on and

nts in my faci

many templat

out

PI AF)

age 43

r a on

ility?

tes

Building P

 Page 44    

2.4 P

Units of Munique to equivalenconversio

Demonstr

Even thoucases, the unlikely tthem all insame logihaving thedemonstraSystem, fo

1. OMMan

2. NUR

3. N“NCse

4. C

 

From any Measure.

PI System Asset

PI AF Unit

Measure (UoMeach PI Data

ncies and relatns on demand

ration – crea

ugh individuaclass is likely

o be able to sn the same plc and relationem. So, unlesate creating a

follow the sim

Open PI SystemMeasure from Measure Classnd set it’s abb

Now right mouUnit-of-MeasuReference UoM

Byte =

Kiloby

Now right mouNew Unit of M

Change the Reet:

Kiloby

Megab

Check in you

database on 

ts & Analytics w

ts of Meas

Ms) in the PI abase). It is intionships betwd between the

ating a new U

al students may sharing a PIuccessfully cace and to ha

nships on the ss you have anew Unit of

mple steps belo

m Explorer, cthe navigatio

ses in the browbreviation to b

use click on “ure” set the naM as Byte and

= KB * 1024

yte = Byte/10

use click agaiMeasure” and

eference UoM

yte = MB * 10

byte = KB/10

ur work.

the PI System

with PI AF

sure

AF system arntended to hoween engineerem.

Unit of Measu

ay have createI System for treate the sam

ave the class csame PI Syst

a private PI AMeasure andow.

connect to an on panel in thewser panel abbyte and click

“Computer Mame to Kilobyd select formu

24

in on “Compud set the name

M to Kilobyte

024

24

m you should 

re kept in a seld “rules of pring units to p

ure and UoM

ed unique datathe class. For

me Units of Mcreate unique tem would som

AF server, pleaUoM class.

appropriate Pe lower left ha

bove. For the k on Apply.

emory” in theyte and the abula for the me

uter Memory”e to Megabyteand select for

now be able 

erver-wide daphysics” whicpermit logica

M class

abases in the r this reason, easure withouUnits of Meamewhat undease allow the If you have y

PI System andand corner. Ncanonical UO

e browser panbbreviation toethod and the

” in the browse and the abbrmula for the

 to see and u

atabase (it is nch create al, dynamic

PI System, ineveryone is

ut trying to crasure stating termine the poinstructor to

your own PI

d select Unit Note the UnitOM: specify B

ne and select o KB. Leave ten set:

ser pane and sbreviation to M

method and t

se the new U

not

n most

reate the int of

of t of Byte

“New the

select MB. then

Unit of 

 

3. PI

3.1 P

3.1.1 P

PI Performfiltering oPerformanfiltering aSyntax th

..\

.

 

Server

Performan

Performance

mance Equatiof data in mulnce Equation and expressionat is always a

\program file

or

..\program fil

Based C

nce Equati

Equation Sy

ion (PE) syntatiple client anScheduler on

ns in PI Datalavailable wher

s (x86)\pipc\h

es\pipc\help\p

Calculat

ion Syntax

yntax

ax is an algebnd server prodn a PI Server,link for Microrever PI prod

help\pereferen

perference.ch

tion Eng

x & Perfor

braic syntax uducts in the PDataset Calc

osoft Excel. ducts are insta

nce.chm

hm

PI

gines

rmance Eq

used to performPI suite includculations in PI

To see a refealled find the

I Server Based

quation Sc

m calculationding the PI I Processbookerence for thefile:

Calculation En

Pa

cheduler

ns and

k, and PI PE

ngines

age 45

Building P

 Page 46    

3.2 D

Activity O

• L• E

Approach

Find this u

..\

.

With the i

Note that strings to

PI System Asset

Directed A

Objectives

Learn where tExplore PI Pe

h

useful help fi

\program file

or

..\program fil

instructor, exa

the functionsthe notepad o

ts & Analytics w

Activity – C

In this part ofconcepts presthe instructorgame or hold

o find and horformance Eq

le:

s (x86)\pipc\h

es\pipc\help\p

amine the hig

s and other paor other tool.

with PI AF

Checking o

f the class yousented in this r is doing or pd a quiz. You

ow to use PERquation Synta

help\pereferen

perference.ch

ghlights of the

ages have “ex

out PERef

u will performchapter or se

perform the saur instructor w

Reference.CHax.

nce.chm

hm

e Syntax and

xamples” and

ference.CH

m a learning aection. You mame steps at t

will have direc

HM

functions ava

you can copy

HM

activity to expmay be invitethe same timections.

ailable.

y and paste th

plore the diffeed to watch we. You may p

hese example

ferent what play a

 

3.3 S

Exercise

Learn to aPEReferen

Problem

You may space beloto build P

Prob

1 AddSinuSinu

2 Get “rollthe C

3 Get ttotaltag fbut ogoodthe t

Solo / Grou

Thispeyou

Objectives

apply PI Perfonce.chm as a

Description

want to constow so you can

PI tags in just

blem

the PI tags usoid and usoidU togeth

a ten minute ling” average CDT158 tag

the time weigl for the CDTfor the last hoonly if the vald at least 80%time.

up Exercis

is is a solo or ecific topic areu if you need

ormance Equareference.

and Approa

truct your equn cut and pasta minute…

Yo

her

of

ghted 158

our, lue is

% of

se – Apply

group activitea. Your instassistance du

ation Syntax

ch

uations in Note from the he

our solution…

ying PI PE

ty that is desigtructor will hauring the activ

to different ca

tepad or anotelp file – also

PI

E Syntax

gned to maximave instructiovity.

alculation and

ther editor rao we’ll be usin

I Server Based

mize learningons, and will c

d filtering pro

ather than in thng these form

Hints

Tags aapostrquotes

use thfuncti

If .. th

with P

& Tagcheck properTagTo

Calculation En

Pa

g in a coach

oblems using

he mulas

are wrapped irophes/ singles

e TagAvg on

hen .. else

PCTGood()

gTot() - or- out the

rties of the ot() function

ngines

age 47

the

in e

Building P

 Page 48    

4 Howin thhas tbeenbut l

3.3.1 T

The PI Peresemblescan idention the PI startup scrstarts. Twhich is ithe PI PE Managemfrom with

The PI PEEquation archive of

 

PI System Asset

w much of thehe last day (inthe tag sinuson greater than less than 70 ?

The PI Perfo

erformance Eqs a standard Pify it as SysteServer. As wript PIPESCH

This file can binstalled with Scheduler sy

ment Services hin the PI-ICU

E Scheduler reTags with thef those tags.

ts & Analytics w

e time n %) oid

30

rmance Equ

quation SchedPI Interface. Im Service. Twith many PI HED.bat whicbe readily con

the PI Serverystem service console, from

U).

eads the calcue Point Sourc

with PI AF

ation Schedu

duler is a PI SIt is installed The executabl

Interfaces thch is never runnfigurable usinr. However cis restarted (w

m the PI Syste

ulations from e of “C” and

uler

Server based cas a system see is PIPESche PI PE Schen, but rather rng the PI-ICUchanges to thewhich you caem Managem

the tag confiwrites the res

calculation enervice with aled.exe in the duler is confiread when the

U interface coe file are onlyan do from the

ment tools serv

igurations fromsults into the

TimeGreturnyou’llthese

There second

ngine which ll PI Servers –PI\Bin direct

igured with a e system serv

onfiguration uy recognized we Computer vices console,

m PI PerformPI snapshot a

GT function ns seconds, l need two of

are 28800 ds in a day.

– you tory

vice utility when

, or

mance and

 

3.4 D

Activity O

• I• C• R

Approach

Open the

From the icon, naviServer reg

At the bot(by defaul

Add two s

and

Save yourbar of the

 

Directed A

In tconinstor h

Objectives

ntroduce the Configure an aRestart the PI

h

PI-ICU (Inter

Interface menigate to PI\Bingisters the int

ttom of the PIlt new PI Sys

scan classes,

r work and reICU)

Activity – C

this part of thncepts presenttructor is doinhold a quiz. Y

PI PE Scheduadditional scaPE Schedule

rface Configu

nu, select “Nen\PIPESchd.berface).

I-ICU “generastems have 1 m

a one hour s

a ten secon

start the inter

Configurin

he class you wted in this chang or performYour instruct

uler to the PI-an class for scr service…

uration Utility

ew Interface Ibat and select

al” tag screenminute, 2 min

scan class

d class class

rface. (there a

ng the PIP

will perform a apter or sectio

m the same steor will have d

-ICU cheduling cal

y) from the St

Instance fromt it. (there ma

n, note the listnute, and 30 s

01:0

00:0

are icons for t

PI

PESched.B

a learning action. You mayeps at the samdirections.

culations

tart Menu

m a bat file” oray be a pause

t of scan classsecond classe

00:00,00:00:00

00:10,00:00:00

these operatio

I Server Based

Bat file wit

ivity to explory be invited tome time. You

r the open folwhile the PI

ses (and offses established)

0

0

ons on the bu

Calculation En

Pa

th the PI-I

re the differeno watch whatmay play a g

lder

ets). ).

utton

ngines

age 49

ICU

nt t the game

Building P

 Page 50    

3.5 SExpres

Exercise

• A• B

Problem

Open the

Select theupper left

Select Poi

Configureinstructor identify th

TagN

1 XXS

2 XXC

3 XXC

4 XXS

PI System Asset

Solo / Grousions

Thispeyou

Objectives

Apply PI PerfBuild PI PE ta

Description

PI-SMT ( P

e PI Server yot corner

ints and then

e four new PI requests it - b

hese tags as y

Name

ineSum

CDT15810MA

CDT1581HTo

ineInMid

ts & Analytics w

up Exercis

is is a solo or ecific topic areu if you need

formance Equags in the PI S

and Approa

I System Man

ou have or tha

Performanc

Performancebefore each ta

yours. All tag

Prob

AddSinutoge

Avg Get “rolCDT

ot Get totatag only80%

Howin thhas beenless

with PI AF

se – Buildi

group activitea. Your instassistance du

uation Syntax Server

ch

nagement Too

at your instruc

ce Equations

e Equations fragname, subsgs are Point

blem

d the PI tags usoid and Sinether

a ten minute lling” averageT158 tag

the time weigl for the CDTfor the last hoy if the value

% of the time

w much of thehe last day (inthe tag sinuson greater thanthan 70 ?

ing PI PE

ty that is desigtructor will hauring the activ

to the PI PE

ols) from the

ctor indicates

from the nav

rom your for Pstitute your sSource “C”

S

nusoidU E

e of the ECsn

ghted T158 our, but is good

E

e time n %) oid n 30 but

ESsn

tags from

gned to maximave instructiovity.

Scheduler

Start Menu

by clicking o

vigation menu

PI PE formulstudent numband Pointtyp

Scheduling

Every 1 minut

Event based –CDT158 tag cnapshot

Every 1 hour

Event based –Sinusoid tag cnapshot.

m your PI P

mize learningons, and will c

on the box in

u in the lower

las – if your ber or initialpe of Float32

te

– every time thchanges in the

– every time thchanges in the

PE

g in a coach

the

r left..

ls to 2.

he e

he e

 

After a fewPoint valuthey wait

3.5.1 T

The RecalPerformantags if thesignificanstart the re

3.5.2 L

Although scheduler

• Tidpeve

• Tvafr

• Ttehudo

• Tna

• Tdisa

• CfosiE

• Yth

• Pth

w minutes, chues to see theifor an hour to

The PI PE Re

lculator is an nce Equation ere are changent performancecalculator by

Limitations of

the PI Perforhas many lim

The PI Performdentify the PI erformance dery efficient.

There is no peralues from onrom the archiv

The syntax forext. Because undreds of chocumenting, v

The tags in theame, if the tag

The calculationifferent membame they may

Calculations caor these calcuimilar assets o

Excel)

You can’t introhe PIPESCHD

I Performanchey are runnin

heck your tagir current valuo pass or Sinu

ecalculator

interface liketags in order

es to the inpute equations, ty default on s

f the PI Perfo

rmance Equatmitations…

mance EquatioTags every ti

disadvantage w

rsistent memone calculationve every time

r the calculatiotag names are

haracters, espeverifying, and

e PI Performag name is cha

ns are performbers of PI HAy not be ident

annot be easilulations – youor tag assets.

oduce a new cD.bat and rest

e Equations cng on and can

gs by searchinues. Note thausoid to get a

e service whicthat it can re

t tags in the athis has been system startup

formance Equ

tions Syntax i

on Scheduler ime it calculawhen compar

ory for PI PE n event to the e, this is also a

on is stored ae explicit thesecially if ‘if ..d modifying c

ance Syntax inanged – the ca

med independA collectives –ical due to di

ly re-used agau must rebuild

(if you must

calculation frtarting the cal

can never readnnot write to a

ng for them inat tags 3 & 4 m

new value.

ch signs up focalculate PI P

archive. In opa serious serv

p.

uations Sche

is flexible and

must parse thates – it is fulled to compile

Calculations next – they ma performanc

and entered onse formulas c. then..’ syntacalculations d

n the tags are alculation bre

dently from th– although thefferences in th

ainst differentd the formula t do this – use

equency / scalculations.

d a value fromanother PI Ser

PI

n tag search anmay not upda

or updates to tPerformance Eperation, for mver performan

eduler

d readily unde

he entire calcly interpreteded calculation

– they cannomust reassembe/efficiency d

n one line – oan be very lo

ax is employedifficult.

specified expeaks.

he same confiey should be the server cloc

nt tag sets – thevery time yoe the PI SMT

an class witho

m any PI Servrver.

I Server Based

nd selecting tate for a while

the archive evEquation (Pomany customence drain. Th

erstood, the

culation stringd. This is a sen options. It is

ot carry calculble all of the vdisadvantage.

one single string – many

ed. This mak

plicitly by the

igurations on materially thcks.

here is no conou use it again

T Tag Builder

out reconfigur

ver except the

Calculation En

Pa

the e as

vents of all int Source “Cers who have herefore we d

g and erious s not

lation values .

ng of

kes

eir

e

ntext nst for

ring

e one

ngines

age 51

C”)

do not

Building P

 Page 52    

• Ctrfo

• Asuinby

• Tan

All oflater i

3.5.3 P

TagN

1 XXS

2 XXC

3 XXC

4 XXS

PI System Asset

Calculations carigger event bormula.

Although the Pupport runninnterfaces – they moving it to

The PI PE recand can be cha

f these limitatin the course.

PI Performan

Name

ineSum

CDT15810MA

CDT1581HTo

ineInMid

ts & Analytics w

annot be schebased calculat

PI PE Schedung more than oereby you cano another com

alculator as deallenging to co

tions are resol

nce Equation

Solu

'sin

Avg even

ot if pctagt

Tag

eventime

with PI AF

eduled on mulions on, even

uler seems to bone PE Schednnot increase mputer or hav

escribed abovonfigure effic

lved in PI AC

s Exercise So

ution

nusoid' + 'sinu

nt=CDT158,

ctgood('CDTtot('CDT158',

- Or -

gTot(‘CDT158

nt=Sinusoid, egt('sinusoid'

ltiple triggersn if multiple ta

be based on aduler against athe PI PE Sching more than

ve, can be prociently.

CE, which is a

olutions

usoidU'

Tagavg('CD

158','*-1h','*')'*-1h','*') else

8’,’*-1h’,’*’,

(timegt('sinu, '*-8h' , '*' ,

s – you must sags are used a

an interface Oa PI Server asheduler’s calcn one schedul

oblematic if g

a calculation

T158' , '*-10m

) > 95 then e 0

80)

usoid' , '*-8h' 70)) / 28800

select one tagas inputs into

OSIsoft does ns you can witculation capaler.

generally appl

option covere

m' , '*')

,'*' , 30) -

g to the

not th acity

lied

ed

 

3.6 T

The PI TototalizatioThe totaliminimumis true andEquation totalizer taused onlyhelp you b

 

 

 

The PI Tot

otalizer is a poons and other zer can aggre

ms or maximumd it can countsyntax. The ag which use

y by the totalizbuild these ta

talizer

owerful and fsimple calcul

egate totals, avms. It can alst events. The results of the

s a unique Pozer engine. Tgs and config

 

flexible post-plations from averages, rangso be used to calculations

e aggregationsoint Class – thThere is a wizagure them pro

processor enga single PI tagges, and standcalculate the can be filteres are stored in

he totalizer poard in the PI S

operly.

PI

gine that you cg’s stream of

dard deviationamount of tim

ed using simplnto a differenoint class whiSystem Mana

I Server Based

can use to cresnapshot valu

ns or identify me that a conle Performan

nt PI tag – the ich has attribuagement tools

Calculation En

Pa

eate ue.

dition ce

utes s to

ngines

age 53

Building P

 Page 54    

3.7 S

Exercise

• L

• B

Problem

We’d like

1. A6p

2. Aen

3. Ava

Approach

We’ll use

Your instrinitials to

For the fiweighted at 6 a.m.

For the seweighted ba:Activeflow of g

For the thweighted

PI System Asset

Solo / Grou

Thitopassi

Objectives

Learn how to b

Build three typ

description:

e to build thre

A shift averagpm

A batch averagnds

A moving avealues

h:

the PI Sys M

ructor may asidentify them

irst totalizer, average, with Post the valu

econd totalizetotal with na

e.1 goes to zegallons per mi

hird totalizer, moving avera

ts & Analytics w

up Exercis

is is a solo or ic area. Youristance during

build Totalize

pes of useful t

ee Totalizers

ge for the tag

ge for the tag

erage for the t

Mgt 3 plug too

sk you to precm as yours.

CDT158.SA h natural sampue at the end a

er, CDEP158.atural samplinro. Post theinute to total g

CDEP158.Mage. We’ll cl

with PI AF

se – Build

group activitr instructor wg the activity.

ers with the P

totalizations o

CDT158 – w

g CDEP158 –

tag CDEP158

ol Totalizer Ed

cede the tagna

– based on pling. We’ll at the beginni

BT from the ng. We’ll cl

e value at the gallons.

MA from the lose the total e

Common

ty that is desigwill have instru

.

I Sys Mgt 3 p

often used by

with twelve h

– when ba:acti

8 - smoothing

ditor

ames with a p

source tag Cclose the aveing of the shif

source tag CDlose the totalend and the

source tag CDevery five sou

nly Used PI

gned to maximuctions, and w

plug-in Totali

y PI customers

hour shifts ch

ive.1 turns to

g this volatile

prefix of your

CDT158 – weerage every twft.

DEP158 – wel whenever thbeginning. W

DEP158 – weurce tag value

I Totalize

mize learningwill coach yo

izer Editor

s

hanging at 6a

o zero and the

e data flow e

r student num

e’ll select an welve hours s

e’ll select an he batch acti

We are conver

e’ll select an es.

r Tags

g in a specificou if you need

am and

e batch

very 5

mber or

event-tarting

event-ive tag rting a

event-

c d

 

Step-by-S

Open theinstructor

CDT158.S

Here’s the

in the seco

Here’s the

Step Solution

PI System ) and select t

SA – the shift

e first panel o

ond panel, se

e third panel o

n

Mgt 3 Toolthe Points\PI

ft average – cr

of the Totalize

lect Natural s

of the Totaliz

, Connect to Totalizer Ed

reate a new T

er Editor:

sampling

zer Editor:

o your PI Seditor

Totalizer tag

PI

erver (or that

I Server Based

t suggested b

Calculation En

Pa

by the

ngines

age 55

Building P

 Page 56    

Be sure an

now, for C

1) Here’s

select Nat

Here’s the

PI System Asset

nd save your

CDEP158.BT

s the first pan

tural sampling

3) Her

e fourth panel

ts & Analytics w

work with the

T, the batch to

el of the Tota

g from the sam

re’s the third p

l of the wizar

with PI AF

e diskette ico

otal

alizer Editor:

mpling panel

panel of the T

rd:

n.

Totalizer Edittor:

 

Don’t forg

finally C

1)

Select the

Here’s the

get to save yo

CDEP158.MA

Here’s the f

e Natural Sam

e Third panel

our work with

A – a moving

first panel of t

mpling from th

of the wizard

h the diskette

average – sm

the Totalizer E

he second pan

d:

icon

moothing volat

Editor:

nel

PI

tile data flow

I Server Based

w

Calculation En

Pa

ngines

age 57

Building P

 Page 58    

The totaliYou can eat the Pointotalizer m

3.7.1 L

• OPlim

• TfowacHal

PI System Asset

zer engine shevaluate the rent Values. If

may not have

Limitations of

Of course the berformance Emited numbe

The PI Totalizor its source d

with similar fuccurate than a

However, this lgorithm para

ts & Analytics w

hould pick up esults by sear

f you get “conenough time

f the PI Tota

biggest limitaEquation Scher of aggregati

er uses PI snadata. Therefounction, it maya Performanceshould not be

ameters.

with PI AF

your calculatrching with Pnfigure” as the

or values to g

alizer / Comp

ation of the PIeduler or PI Aion functions

apshot data, bore when comy see a richere Equation tae material if t

tions and begiI Tag Search e value or pergive you a res

parison to PI

I Totalizer coACE schedule

on a single ta

before it may mpared to a Per set of data ang which uses ags have well

in to process (point source

rhaps “point csult yet. Chec

I Performanc

ompared with er is that it canag.

be filtered byerformance Eqnd therefore bcompressed

l configured c

them immedie “T”) and loocreated” yourck back later.

ce Equation T

the PI n only perform

y data comprequation calcube marginallyarchive data. compression

iately. oking r .

Tags

m a

ession ulation y more

 

• Thad

• Twfi

• Athshse

• Cth

• Lex

• Ycom

• Tpe

The PI Totalizas persistent meal more effi

The PI Totalizwill not break ilters will brea

As with Perforhe same confihould be mateerver clocks.

Calculations cahe configurati

Like the PI PExcept the one

You can only romputer – so

moving it to an

There is no reeriods – it has

er does not hamemory to hoicient than th

er holds the sit. Changes tak the totalize

rmance Equatigurations on erially the sam

annot be easilion every time

E Scheduler, thit is running

run one Totalyou cannot in

nother compu

ecalculator fos no way to re

ave to interprold the runninhe PI PE Sch

source tag by to tag names uer.

tions, the calcdifferent mem

me they may n

ly re-used agae you use it a

he Totalizer con and canno

lizer per PI Sencrease the PI

uter or having

or the PI Totestore those c

ret strings as tng summary theduler when

its tag numbeused in the Pe

culations are pmbers of PI Hnot be identic

ainst differentgainst similar

can never readot write to ano

erver and youI PE Schedule

g more than on

talizer – if thecalculations.

PI

the PI PE Schtotals – therefn applied to s

er, not its namerformance E

performed indHA collectivescal due to diff

nt source tags r tags.

d a value fromother PI Serve

u cannot run iter’s calculatione scheduler.

e totalizer mi

I Server Based

heduler does afore it is a gresimilar probl

me, so tag renEquation synta

dependently fs – although tferences in th

– you must re

m any PI Server.

t on another on capacity b

isses calculati

Calculation En

Pa

and it eat lems.

naming ax

from they

he

ebuild

ver

by

ion

ngines

age 59

Building P

 Page 60    

4. PI N

PI NotificServer.

As the PI events of PI Server of all Notto them (a

In the aveentered ininclude th

Very oftenNotificatibecomes. recipientsNotificatimay be tea dozen ev

As you deelements ttwenty thotwo dozenalmost a t

This will noise – yoand the pr

It is very ionly apprshould be

PI System Asset

Notifica

cations is an e

Notification multiple PI (dwhich holds ifications instacknowledgem

erage PI Servento the PI Snahe interaction

n in work we ons alerts you This is becau of the alerts ons implemen

en billion if thvents per day

evelop your Pthat have sevousand PI Non users don’t thousand alert

make your PIour recipientsrogram for fil

important theopriate alerts done as a tw

ts & Analytics w

ations –

event filter an

Service is basdata archive) its history (catances/eventsments and com

er of tens of thapshot every d

of several of

measure succu produce, veuse if you procannot give tntations shou

hey are evaluay.

PI Notificationeral PI Notifi

otification (rulget alerts fromts per day!

I Notification will not only

lling their inb

erefore to care. And this su

wo-step proces

with PI AF

Trigger

nd alerting app

sed on the PI Servers. Ho

alled the histo, when they smments as re

housands of tday. Intelligef these tags, an

cess by how mery often the lovide too manthem appropriuld be taking tating for sever

ns implementications rules les). If each rm every notif

n implementaty ignore the aloxes.

efully filter youggests that thss:

ring & F

plication that

System – it cowever every ory PI Server)started and enquired or app

tags there are ent PI Notificand other cond

many things wess successfuny alerts – theiate attention those billions ral PI Servers

tation you maagainst most rule “fires” onfication each r

tion useless aslerts but they

our PI Notifiche creation of

Filtering

is based on th

can provide alPI Notificatio). This PI Ser

nded and the eplied).

often billionsation rules caditions.

we produce –ul your use of ey become “nor response. of new value

s and reducin

ay wind up wiof them. Thince per day –recipient will

s all of the ale may have ho

cations rules sf all PI Notifi

g

he PI System

lerts from theons server harver keeps a rend user respo

s of values bean sometimes

– but the moref PI Notificatinoise” and the Most PI

es per day – wg them to less

ith ten thousais could resul

– even if all ol still be gettin

erts will becoostility toward

so as to produications rules

m/ AF

e as one record onses

eing

e PI ons e

which s than

and lt in f your ng

ome ds you

uce

 

1. C

2. Acointh

And this iand later,

Create the No

After some timontent and assnstances or evhe Notificatio

is how we’ll lwe’ll look at

tification (rul

me passes, evasign subscript

vents), re-evaln again.

learn about PIcontent, subs

le)

aluate the ruletions, if it is pluate the filter

I Notificationscriptions, de

e and if it stillproducing toors and wait an

ns. First we’lllivery channe

PI Not

l seems approo many alerts nother interva

l look at triggels and recipie

tifications – Tr

opriate, create(Notification

al before qual

gering and filtent response.

riggering & Fil

Pa

e n lifying

tering

ltering

age 61

Building P

 Page 62    

4.1 P

Question

1. Let’swhen

2. Now

Wou

3. Wha

4. Procecan sevenreaso

5. WhabatchEquialerts

 

PI System Asset

PI Notifica

Thenewyou

s

s say you havnever they we

w instead of onuld you still w

t if you had s

esses can be vseem reasonabtually we hav

onable?

t types of thinh changes? Npment or subs that occur re

ts & Analytics w

ations Que

e following quw insight. Your own or hav

e a teen-age dere driving it.

ne teenager, lewant all of the

ix thousand d

very complexble from a Nove 600. Is 600

ngs in a proceNon-compliansystem or sysegularly in th

with PI AF

estions (Gr

uestions are iour instructor ve the group a

driver and you What kind o

et’s say you hsame alerts?

delivery vehic

x, if we start motification. B0 alerts a wee

ess you are fance (governmstem or unit fe control room

roup)

intended to remay choose t

answer them t

u could have of alerts woul

have six hund

cles? Would

making NotifiBut what if staek still reason

amiliar with wmental) eventsfailures? Is thm?

einforce key into have you trtogether out lo

the family cald you like to

dred delivery v

this have an i

ications, someart building mnable? Even i

would make gs? SQC/SPC he e-mail inbo

nformation, ory to answer toud.

ar send you e-o get?

vehicles in la

impact?

etimes gettingmore Notificatif each rule se

ood alerts? out of contro

ox a good pla

or to discoverthe questions

-mail or text a

arge region.

g an alert a wtions and eems individu

Grade / prodl violations? ce for the sor

r a on

alerts

week

ually

duct

rt of

 

4.2 D

Activity O

Although PI NotificNotificati

Identify wClient or bPage).

Identify th2010 R3 oNotificati

Install the

The instal

PI Notifichost, you

Directed A

In tconinstor h

Objectives

almost all PIcations installons to continu

which componboth (general

he appropriateor later serveron which is e

e required PI N

ller contains t

cations Clienconfigure, su

Activity – I

this part of thncepts presenttructor is doinhold a quiz. Y

classroom seations. Folloue.

nents will neely the class w

e “History PIr, it will requienabled.

Notifications

the following

nt: This featurubscribe to or

Installation

he class you wted in this chang or performYour instruct

ettings will haow your instru

ed to be instalwill not requir

Server” for tire one PI tag

software on t

features:

re includes adunsubscribe f

n of PI No

will perform a apter or sectio

m the same steor will have d

ave installed Puctor’s guidan

lled PI Notificre the PI Notif

the installation license and s

the student’s

dd-ins to PI Syfrom, and vie

PI Not

otification

a learning action. You mayeps at the samdirections.

PI AF serversnce if you are

cations Servefications Ack

n. If this servseven PI tags

computers.

ystem Explorew the archive

tifications – Tr

s (optiona

ivity to explory be invited tome time. You

s and clients, e required to i

er, PI Notificaknowledgeme

ver is a PI Serfor every

rer. Within thed or active e

riggering & Fil

Pa

al)

re the differeno watch whatmay play a g

not all will hanstall PI

ations ent

rver

his events

ltering

age 63

nt t the game

ave

Building P

 Page 64    

of notificaNotificatithe PI AFthe PI NoSystem Ex

PI Notificreal time, escalationgenerally other serva given PIthough it

PI Notificthe email message oNotificatiinstalled oconfigura

Note: conspecified

A note coNotificatibackup SMto receiveInternet Ininstall an and manageneral it and coordis not requ

PI AF SerPI System

History PIServer:

PI System Asset

ation rules. Thons Desktop Client. Notetifications Clxplorer or the

cations Servisend out noti

ns, and recordinstalled on a

ver function oI System (AFcan trigger an

cations Acknmessage; a su

or to commenons Acknowlon the same mtion compatib

nfigurations ofdatabase.

oncerning SMons settings mMTP server. e and forward nformation SeSMTP mail s

agement to stais always goo

dinate the appuired for the c

rver / m:

I

ts & Analytics w

he client alsoAlert. The PIe that if even ient is not inse PI clients to

ice: This featuification mess

d the history ina server class r be a dedicat

F Server) and nd read data f

nowledgmentubscriber can

nt on a notificledgement Pamachine. For Mbility option m

f the PI Notif

MTP (mail) Smenu) you wi This is genethe e-mail ba

ervice that coserver, it is rarart such a “rogod practice tolication of PIclass.

with PI AF

enables you I Notificationif the class is

stalled – the n complete the

ure runs a sersages, processn the history Pcomputer, wh

ted server. Thas a specifie

from any PI se

t Page: This n click directlyation instance

age requires MMicrosoft IISmust be enabl

fications are s

Servers. In thill be requesterally a corporased alerts froomes with anyrely received gue” mail servo identify the I Notification

to receive newns client will r using a comm

necessary come other instruc

rvice instances acknowledgPI Server. Inhich may be s

The PI Notificed history PI Server which th

page providey on this link e. (this is not

Microsoft IIS 5S 7.0, the IIS Mled.

stored in the P

he installationed to submit arate sponsoreom PI Notificy Microsoft se

well by Inforver for a specmanagement

ns with them.

w events throrequire (and imon PI Notif

mponents willctional sets.

e to evaluate ngment requestn practice - theshared with thcation ServiceServer to recothe PI System

es a link whicto acknowled

t used in class5.0 or greaterMetabase and

PI System (AF

n (or subsequean SMTP servd mail serverations. Noteerver operatiormation Techcific purpose of your estab Installation

ough PI install if needfications Servl not appear in

notification ruts and/or e server is he PI AF serve is associatedord its history

m recognizes.

h is embeddedge a notificas) The PI r and ASP.NEd IIS 6

F Server) in a

ently in the ver and an opr that will be ue that althoughon system kit hnology policisuch as this.

blished mail sof an SMTP s

ded) ver – if n PI

ules in

ver or d with y –

ed in ation

ET 2.0

a

ptional used h any can ies In

servers server

 

Note: by your compOSIsoft’s

4.3 N

Notificatiessential tfor groupsEnvironmnon-comp

Demonstr

Like Unitthis reasonif you are dedicated

1. Selec2. Selec

Notif3. Click4. Click

“Tan5. Enter

This shou

Global Co

While weSettings. installatioNotificatihere if it wthe docum

default the Nputer right mPI-SMT prog

Notification

on States are type of alert. s include Ope

mental Alerts. pliance alert, c

ration – State

ts of Measuren all studentson a shared sPI AF and PI

ct Notificationct Tools fromfications are sk on the New k on the New nk Alerts” as tr another new

uld be visible

onfiguration

are here – w Cited here is

on). Also is aons content awas not enterementation for.

otification insouse click / Mgram/Operati

n State Gr

“reason codeThese can be

erational Aler Possibilitiescritical equipm

e Groups and

, State Group in a class canserver watch yI Notification

ns from the Lm the Menu an

selected in theState Group State Tab an

the Group. w State “Empt

to all users of

e could checks the PI Servea PI Webpartsand messages.ed in the insta

stallation doeManage optionons/PI Servic

roups & S

es” that provide grouped intorts, Complians for States inment failure,

d States

ps and States cnnot build theyour instructo

ns for yourself

Lower Left Nand Select Statee navigation pButton/Tab ad enter a new

ty” and assign

f any database

k out the Glober for History s server so tha. The acknowallation. The

es not start then or use the seces applet), fin

States (& G

de priority ano state groupsce alerts, Qua

nclude tank ovetc..

cross all databe same State Gor build this gf you should b

avigation Pane Group Confpanel)

and it will popw alert “Overf

n it to the “Ta

e on the PI Sy

bal Configurastorage (calle

at instant trenwledgement Were are other o

PI Not

e PI Notificatervices applend the PI Not

Global Co

nd a classificas for organizaality Alerts, Sverflow/spill

bases on a givGroups and Sgroup and statbuild these as

nel figuration (T

p up a State Gflow”, leave th

ank Alerts” gr

ystem.

ation tab in Ned the History

nds can be incWeb Page pathoptions which

tifications – Tr

tions system set in the contrtifications ser

nfiguratio

ation of the ation. PossibiSystem Alertsalert, six min

ven PI SystemStatess. As betes. If you has described be

This will not a

Group – enter he priority as

roup as well.

Notification y PI server included in our h can be enteh you can con

riggering & Fil

Pa

service. Selecrol panel (or rvice and start

on)

ilities s, and nute

m. For efore, ave a elow.

appear unless

“Tank Alerts Normal and

n

red nsult

ltering

age 65

ct

t it.

s” select

Building P

 Page 66    

 

PI System Assetts & Analytics w

with PI AF

 

4.4 D

Activity O

• C• A• A

Approach

We’ll conif it has Hit spills, walmost ful

Follow thbit later. .

1. Opr

2. WNm

3. O

4. Oel

5. U

6. F

7. T

We couldit make mhere and rsay “Yes”

8. Inte

9. Sse

10. TL

Directed A

In tconinstor h

Objectives

Create a new nApply triggeriApply filtering

h

nfigure a NotiHC1500 in it. we’ll have an ll. The other

he instructor d

Open PI Systemreviously (if t

With NotificatNotifications tmenu.

On the Overvie

On the Triggerlements

Under Conditi

or the input, c

This is an over

d select value more sense to dreturn to the t”, we’ll be rig

n the Library emplate

elect the attribelect “New C

This should creLimit – set the

Activity – T

this part of thncepts presenttructor is doinhold a quiz. Y

notification oing options g options

fication for o Tanks get alenvironmentar chemicals ar

during this sec

ms Explorer (this is unavail

tions selected itle in the bro

ew tab title th

r tab click on

ons, select a N

click on the s

rflow alert, so

here and specdo this in the tank templateght back.

(Navigation P

butes tab andhild Attribute

eate a hierarc value type to

Triggering

he class you wted in this chang or performYour instruct

on an existing

ur tanks. Trlmost full preal reporting mre not dangero

ction, we’ll ha

(if needed) anlable ask you

in the navigaowser and sele

his: “Tank Ov

select Target

New Conditio

earch icon an

o select > from

cify the limit template? S. The System

Panel) under E

d right mouse e Template.

chical child ato double and t

g and Sche

will perform a apter or sectio

m the same steor will have d

PI AF eleme

iggering whetty regularly,

mess on our haous.

ave the oppor

nd connect to ur instructor fo

ation pane, cliect Notificatio

verflow”

t and select Ta

on and then C

nd select the le

m the operato

over which wSo let’s leave m Explorer wi

Element temp

click on the

ttribute under the default U

PI Not

eduling

a learning action. You mayeps at the samdirections.

ent

enever Tank A but HC1500 ands, so we w

rtunity to wor

the database or help).

ick on the Neon from the r

ank A from y

Comparison

evel under att

or

we’ll send the this unfinisheill ask you ab

plates – locate

Level attribu

Level. Call t-o-M to Ratio

tifications – Tr

ivity to explory be invited tome time. You

A is over 95%is a caustic a

want to know

rk independen

of tanks you

ew button undresulting pull

your PI AF

tributes.

alert – but doed and click “out this, but j

e your tank

ute. From this

this Overflowo/Percent. Th

riggering & Fil

Pa

re the differeno watch whatmay play a g

% full and if if it is

ntly a

built

der the down

oesn’t “OK” ust

s

w hen

ltering

age 67

nt t the game

Building P

 Page 68    

ena O

11. Rnowyo

12. Tit

The deadband recrosIn order tonotificatiofilter even

In our tanconsidereand re-op

13. Tprcose

To preventhe notificof the Tim

The Clockspecified time that t

PI System Asset

nter a default look at your

Overflow Limi

Return to Notiotification an

where it says “our new Over

The next optio’s an importa

band preventssses the limit o generate a non, then if it cnts.

nks case – if thd to have enden a new aler

The next optirevents alertondition be “econds.

nt false alarmcation rule. Thme True value

k option for Ttime, indepenthe condition

ts & Analytics w

value of 95. tanks – all of it with this de

fications (in tnd select the tr“Compare to:”rflow Limit a

on is a “Deadbant filter. Let’

s the level fro– even thoug

new event, wecrosses the lim

he deadband ided. If a deadrt event.

ion is a Timets from being“true” for a g

s, use Time The Time True:

Time True caundently of themust be true

with PI AF

Check in youf their levels sefault value)

the navigationrigger tab aga” select Attri

attribute

band” limit –’s set this for

om exceeding gh we essentiae have to go bmit again that

is set for 5 sodband is not se

e True filter.g sent on mogiven amoun

True to specifue Option def

uses an alert te Time Rule s

to trigger the

ur work. (If yshould now ha

n pane) and seain. Double cibute and then

you can also 5.

the limit andally do not habelow the deawill be a new

if the value det then every

This optionomentary annt of time be

fy the length fines how the

to be sent as setting. Thus,

e notification.

you return to ave a child at

elect your Taclick on the con use the sear

consider this

d then sendingave a new eveadband to closw event. This

drops below 9time the leve

n is also an iomalies or “efore it gene

of time the conotification T

soon as the cothe Time Tru

.

elements andttribute for

ank Overflow omparison anrch button to f

s a reset limit

g the alert eveent – the valuese the first evs is a very imp

90, the first evel crosses the

important fil“spikes”. It arates an aler

ondition mustTime Rule af

ondition has bue value repre

d take

nd find

and

ery time it croe is just still h

vent and reset portant way t

vent will be limit it will c

lter because asks that a rt. Set this

t be true to triffects the mea

been true for tesents the exa

osses high. the

to

close

it

for 3

igger aning

the act

 

The Natuspecified condition reference,still true a

Note that latency. Tcan take l

14. Tco

15. WtaCtr

16. SlethteC

17. AT

The time rwill be evattributes based on P

The Periominutes oThis optioof servicemaintenanupdates.

18. TT

ural option forby the Time Rmust be true

, for exampleand the time tr

while the TimThe alert cannonger as the t

The next optionfigured th

We wanted ouank containe

Conditions mrue to trigger

elect the Proeave value sehe deadbandest. We can

Click “OK”.

At the bottomThe first is th

rule establishvaluate whene

calculated froPI Point data

odic Time ruleor hours, or seon is handy we which is connce system), o

The next optiThis is an imp

r Time True cRule setting. to trigger the, it will wait frue time has p

me True filternot be sent untrigger waits o

ion sets the shese – we sho

ur alert onlyed HC1500.

menu again anr) and select

oduct attribuelect and ent

d condition dagain select

m of the Trighe Time Rule

hes how often ever there is aom other attrireferences ar

e allows you tet it to evaluatwhen the triggnnected to a Tor when PI N

ion is “Notifyportant filter

causes an alerIn this case, t

e notification for the next Ppassed then th

r can be very until the specifion another va

state group aould select T

y to be sent if So we’ll ne

nd select “anComparison

ute as the Inpter “HC1500

does not applt the Tank A

ger tab panee. Let’s leav

the trigger wany change to ibutes). This ire attributes b

to set how oftte daily or moering input is

Table Lookup otifications is

fy only on chr as well. L

rt to be sent othe Time Truerule. If the c

PI value on thahe condition w

useful in elimfied time elapsalue from the

and state for Tank Alerts &

f there is a aeed another cnd Conditionn.

put and “In” 0” as the Comly and we’ll lerts state gr

el there are sve this set fo

will be evaluatany of its inp

is usually howased on PI Po

ten the triggeronthly (even s not based ondata referenc

s being used f

hange in statuLet’s leave th

PI Not

only after the e value represondition is evat tag to arrivwill contribut

minating falseses. If the “Ntriggering so

this conditio& Overflow

an overflow ccondition. Sns” (both co

as the operampare to valnot need to

roup and the

everal morer Natural.

ted. If this opput values (evw Notificationoint data refer

r is evaluatedselecting whicn PI (i.e. a piece to a table lifor reporting –

tus” and it is his option sel

tifications – Tr

condition is rsents the minivaluated on a ve at the snapste to the trigg

e alerts, it neceNatural” optioource (often a

on. As we’vw and click o

condition anSelect the Neonditions mu

ator and thenlue. Of courapply a time

e Overflow s

filtering opt

ption is “Natuven if those inns are triggerrences.

d. You can sech days and w

ece of equipminked to a vie– to send peri

usually selelected.

riggering & Fil

Pa

re-evaluated aimum time thPI Point data

shot and if it iger.

essarily introdon is selected

PI tag).

ve recently ok.

nd the ew ust be

n rse e true state.

tions.

ural” the triggnput values ared if they are

et this in seconwhich months

ment going in oew of the iodic status

ected.

ltering

age 69

as hat the a is

duces this

ger re e

nds, s). or out

Building P

 Page 70    

Normally trigger onevent is clNotificatialerts. AEmissionsthe last vabox (of co

19. AN

The resenif combinnotificatiowould gen

The Non-more oftesense). (r

Both of threceived.

20. Fththgr

PI System Asset

PI AF triggen subsequent hlosed by somon alert will b

A case where ts Monitoring alue was in exourse this is o

At the very boNon-repetitio

nd interval is ration of condon alert even nerally only b

repetition inten than …” I

remember – 1

hese are absol

inally we hahen click on he Notificatirey it’s likel

ts & Analytics w

rs when (usinhigh values une other condibe sent for evthis might be data and you

xcess of the lionly six minut

ottom there on interval. L

related to the ditions resultinif you clicked

be used for ale

erval is a stroIf you notice, 0 minutes is

lute time cloc

ave our triggthe Tank Ovons bar abov

ly your PI No

with PI AF

ng our currentnless the valution (like the

very trigger thappropriate is

u are required imit – you stilte data so ther

are two morLet’s set bot

“Notify only ng in triggers d the “Notify erts so import

ong filter that you can’t setstill 144 poss

cks – there is n

gers and filteverflow alertve it. Click totifications s

t example) theue dips below

Product chanhat meets the cs say you are to report everll have to repore is a limit to

re filtering/trth of these fo

on change inis still true afonly on chantant they shou

says “No matt it for less thaible alerts per

no “natural” s

rs configuret – Note the that to start yservice is no

e level exceedw the limit or dnging). If yoconditions. Ttriggering onry value whicort the next. o how many a

riggering optor 10 minute

n status” box. fter this perio

nge..” box. Thuld not be ign

atter what – doan the resend r day).

setting to mak

ed. Check ingreen triangyour notifica

ot running).

ds the limit, bdeadband / reou unclick thisThis can genen six minute Cch exceeds thSo you’d nee

alerts can be g

tions. Resenes.

The resend iod of time – shis generates nored. If they

on’t trigger aninterval (that

ke sure anoth

n your work gle “go” buttation. (If tha

but does not eset value or ts option a

erate quite a feContinuous he limit. Evened to unclick tgenerated her

nt Interval an

interval says end another more alerts a

y persist.

nother alert ant wouldn’t ma

her event has b

and ton on at is

the

ew

n if this re).

nd

that

and

ny ake

been

 

21. Gprevth

Of coursecontent or

If we’ve cgenerating

 

Go back to throduct and cvaluate whethe Notificati

e there is mucr the subscrip

constructed oug notification

he Elements check it in. Ither / when yon.

h more we cotions (we’ll lo

ur triggers ann alerts?

Notechanand schanby ho

and take a loIt’s not likelyyou get a trig

ould do with took at that lat

nd filters well,

e the start and ge the configstart it again fges. To startolding down t

ook at Tank y the value iggered even

this Notificatiter).

, should we b

stop buttons uration of a Nfor the Notifict and stop muthe shift or co

PI Not

A. Select His high, is it?

nt – look at th

ion. We’ve n

be concerned t

on the NotifiNotification, ycation serviceultiple notificaontrol keys.

tifications – Tr

HC1500 as th? If you’d lhe History ta

not established

that we aren’t

ications bar. you’ll need toe to realize yoations select t

riggering & Fil

Pa

he ike to ab on

d the

t

If you o stop our them

ltering

age 71

Building P

 Page 72    

4.5 D

Activity O

• C• A

te• S

in• L

Approach

We have mtemplates allow us t

Follow thbit later. .

1. Ow

2. S“CN

3. LLco

4. Inop

Every notThese opt

Automaticnotificatioexisting e

Automaticelement thmanually.

PI System Asset

Directed A

In tconinstor h

Objectives

Convert our NApply this Noemplate

Set the Notificn the template

Learn a about

h

more than onapply the sam

to generate m

he instructor d

Open PI Systemwith that has o

elect our TanConvert to No

Notification te

Locate the TanLook at the trigonditions and

n the middle option: Autom

tification is tietions determin

cally create a on rule for eaclements from

cally create a hat you create.

ts & Analytics w

Activity – N

this part of thncepts presenttructor is doinhold a quiz. Y

Notification inotification tem

cation templae and set this Notification

e tank. We shme great tempany Notificat

during this sec

m Explorer anour tanks datab

nk Overflow Notification Template and p

nk Overflow Tgger tab. Not

d rules should

of the screen, matically creat

ed to an elemne what happe

notification fch new eleme

m the element

notification fe from the tar

with PI AF

Notificatio

he class you wted in this chang or performYour instruct

nto a templatemplate to othe

ate rules for ge

browser optio

hould create oplate functiontions very effi

ction, we’ll ha

nd select the base and our

Notification aemplate” As wlace this Noti

Template in thte that since Tapply as wel

find the Create a notificatio

ment template ens when a ne

for each element that you crtemplate mus

for each elemrget element t

ons Templ

will perform a apter or sectio

m the same steor will have d

e r like elemen

enerating new

ons.

overflow evennality from eleiciently and r

ave the oppor

same PI AF dtank overflow

nd from its riwe did with eification unde

he Library unTank A was bll to any other

ation and Staron for each el

(through the ew element is

ment and start reate from thest be created m

ment: This optemplate, but y

ates

a learning action. You mayeps at the samdirections.

nts which have

w Notification

nts for all of tements to Norapidly

rtunity to wor

database we’vw notification

ight mouse clelements – thier its managem

nder Notificatbased on the tr tank.

rtup Options. lement and st

template desis created usin

it: This optioe target elememanually.

tion creates a you must star

ivity to explory be invited tome time. You

e the same ele

ns for new ele

them. Notificotifications an

rk independen

ve been workn.

ick menu seleis will generament.

tion Templatetemplate these

Select the fart it.

ignated in theng that elemen

on creates andent template.

notification rrt each notific

re the differeno watch whatmay play a g

ement

ements

cations nd

ntly a

king

ect ate a

es. e

first

e target element template.

d starts a Notifications

rule for each ncation rule

nt t the game

ent).

s for

new

 

Do not crenotificatiothe eleme

Note: Forthat you cmanually.

These optmay resul

5. C

6. RNO

7. InTseotW

8. ROct

9. ItthhiseN

10. Grilothin

11. Bta

eate a notificaon rule for eacnt template, y

r the automaticreate from th.

tions can verylt in many new

Check in your

Return to the NNotifications mOverflow Tem

n the bottom pTemplate). Noelect box is a ther tanks (ele

When you clic

Returning to thOverflow Notitrl to select ea

t can be a littlhe correspondidden on the felect to show

Notification.

Go to the Elemight click menower part of thhe attributes tan the Level co

Back on Notifiank? Did it st

ation automatch element thyou must crea

c options, PI he target elem

y convenientlyw notification

work.

Notifications omenu bar, sele

mplate from th

part of the scrotice that Tanmenu and if yements witho

ck OK it will g

he Browse meifications nowach or shift to

e difficult to tding trigger – far right of ththe target nam

ments in the nanu select Newhe next screenab select a ch

onfiguration s

ications appletart?

tically: If youhat uses the taate the notific

Notificationsment template.

y, automatican alerts.

option in the ect “New Not

he top part of

reen you shounk A has “Yesyou explore t

out an existinggenerate Noti

enu under Now. You can sto select a rang

tell them aparto avoid this

hat Notificatiomes it will be

avigation panw Child Elemen. From the G

hemical for thstring. Refre

et – is there an

u choose this oarget element cation rule ma

s creates the nNotification

ally generate m

navigation patification fromthe resulting

uld see your ts” under “Hasthat you’ll fing notification ifications for

otifications yotart them by sge) and then p

rt as you haveproblem, ther

on bar and it se clearer whic

nel. Click on ent. Select thGeneral tab, ne product fielsh and check

nother Notific

PI Not

option, you mtemplate. If y

anually.

notification rurules for exis

many new no

ane. From thm Template.”screen.

tanks (associas Existing No

nd a quick way– or you can the other tank

ou are seeing mselecting thempressing the “

e to select there is a pull dosets the displach tank goes w

the Tank Farhe Tank Tempname this tankld and make sin your work

cation genera

tifications – Tr

must manuallyyou create a n

ules solely forsting elements

otifications, ju

he New menu ” Select the T

ated with the Totifications”, y to select all

n just select thks.

many Tank m all (holdinggo” button.

em and then lown menu almay options. Ifwith which

rm and from iplate from thek “Tank 9”. Fsure there is ak

ated for the ne

riggering & Fil

Pa

y create the new element f

r new elemens must be cre

ust note that th

on the Tank

Tank The

l of the hem).

g down

ook at most f you

its e From

a tag

ew

ltering

age 73

from

nts ated

his

Building P

 Page 74    

PI System Assetts & Analytics w

with PI AF

 

4.6 S

Exercise

• C• R• A

Approach

Another cout of thaoil (AQ54we’ll wan

For this leNotificati

Review thEmpty.

When theyour temp

Solo / Grou

Thitopassi

Objectives

Creating a NeReview triggeApply this No

h

chemical AQ5t. So we wan

400) is ever bnt to apply thi

et’s build our on Templates

he steps above

Notification plate and appl

up Exercis

is is a solo or ic area. Youristance during

w Notificatioering and filteotification tem

5400 is lubricnt to set up a Nelow 5% in les rule to all o

Notification s / New Notif

e as necessary

Template is cly to all of the

se – Anoth

group activitr instructor wg the activity.

on Template fering options. mplate to elem

cation oil and Notification tevel for moref our tanks.

template firstfication Temp

y – set the Sta

complete, selee tanks.

her Tank N

ty that is desigwill have instru

.

from an eleme

ments which h

we want to bthat if any tane than ten min

t – directly ouplate).

ate Group to T

ect New Noti

PI Not

Notificatio

gned to maximuctions, and w

ent template t

have the same

be very carefunk which contnutes we want

ut of the librar

Tank Alerts a

ification from

tifications – Tr

on

mize learningwill coach yo

target

e element tem

ul about not rutains Lubricatt an alert. An

ry (Library /

and the State t

m Template se

riggering & Fil

Pa

g in a specificou if you need

mplate

unning tion nd

to

elect

ltering

age 75

c d

Building P

 Page 76    

5. PI A

PI ACE (easily devprogrammimplemenwhich canand then w

PI ACE is

The PI Ainstalling a code genyour inpudebug, reg

The PI Aand evaluresults.

The PI Aclient whiServer. Itcalculatio

Though Pmanaged particular PI SDK se

In generalthe same ccalculatiotriggers inany appro

PI System Asset

ACE

(Advanced Cavelop a fully cming environmnted to a flexibn use read PI write data bac

s composed o

ACE Wizard –the PI ACE Wnerator and ra

ut and output tgister, and sch

ACE Scheduleuates the trigg

ACE Managerich has privilet can be used ns.

PI ACE can reby the PI MoPI server, wh

elected server

l, the PI ACEcomputer in tns in that DL

n the activity opriate results

ts & Analytics w

alculation Engcompiled DLLment, Visual Sble, high perfdata with preck to PI tags.

of three softwa

– which is anWizard whereapid applicatitag selectionshedule PI AC

er – is the sysers, queues th

r – is a systemedges to edit tto start, stop,

ead and write odule Databashich could ber for the comp

E Wizard is usthe correct dir

LL are scheduof PI tags or o

s.

with PI AF

gine) is a set L (dynamic liStudio in the forming triggecision, calcul

are componen

n add-in to Mie there is no cion developms, and provideCE calculation

stem service whe calculation

m managementhe module d register and

from any PI Se (OSIsoft’s p considered itputer that PI A

sed to developrectory path oled, the schedon a clock sch

of calculationink library) usVisual Basic ering and schlate on trigger

nts:

icrosoft Visuacopy of Visua

ment engine whes an easy menns.

which runs onns, performs th

nt tool for PI atabase of thereconfigure th

Server it has ppre-PI AF legt’s home PI sACE is runnin

p PI ACE DLon the PI ACEduler will calchedule it will

n tools that alsing Microsolanguage. Th

heduling real-trs of events in

al Studio. Thal Studio presehich generatenu-driven wa

n a dedicated he calculation

ACE which ce designated Pthe schedule o

privilege to, tgacy context derver (and it mng on).

LLs. These mE Scheduler. culate them anl perform calc

llows an end uft’s world leahis DLL is thtime calculaton PI or on the

here is no poinent. The Wiz

es objects basay to create, e

or shared serns, and writes

can run on anPI ACE host of PI ACE

the schedulerdatabase) in amust be the d

must be stored When the

and based on culations and

user to ading hen or

e clock

nt in zard is ed on

edit,

rver s the

ny PI PI

r is a default

on

post

 

PI ACE sudo not hapqueue andtriggered correct daor the data

Installatio

When instcomputerStudio ins

upports a sopppen preciselyd when the catime. This al

ata and post tha is changing

on notes

talling it is im. The PI ACEstalled. The P

phisticated trigy when they a

alculation hapllows PI ACEhem back to th.

mportant to reE Wizard is oPI ACE Sched

ggering and sare triggered,

ppens some timE to handle mahe correct tim

alize that not only useful whduler is not in

cheduling sys the snapshotme later, the rany calculatio

me, even if the

all componenhere there is antended for cl

stem, such tht values in PI results are poon and still ace scheduler is

nts should bea copy of Miclient/end-user

at if calculatiare stored in

osted back at tccurately use s temporarily

e installed on crosoft Visualr computers a

P

Pa

ons a

the the busy

every l

and

PI ACE

age 77

Building P

 Page 78    

can causeManager ca PI ACE install. C

Further thwizard whoptions thare still in

There are different acustomersinstructor covered in

5.1 W

Schedulinengine. Ifrewrite allmanual re

PIACEPoaliases intoriented pStudio so developm

Performancalculatioyou have across mu

Flexibilityuse externother langwrite to analso offer

Context –the PI Mo

High Avaappropriaredundant

Limitatio

There is nACE doesend-user i

PI System Asset

problems if ican be installScheduler. hoose careful

he PI ACE inshich support (here is no reasn use and copy

numerous inapplications fs run it on a smay be willi

n other classe

Why use A

ng & triggerinf you need thil of the many

ecalculation.

oint object – Pto sophisticateprogramming you have the

ment tool.

nce – the comn than Perfortoo many PI A

ultiple PI ACE

y of Applicatinal databases guages. You nother data sos sophisticate

– ACE will allodule Databas

ailability – PI tely with servt/failed over P

ons of PI ACE

no face for PI s not support interactivity i

ts & Analytics w

it is scheduledled anywhere The Installatilly.

stallation still (pre .Net) VBson to install ty of Microsof

stallation optifor PI ACE. Merver which ang to explore

es and docume

ACE? Wh

ng – PI ACE iings to calcul

y great feature

PI ACE conveed objects wiwith PI data

e ease of use o

mpiled ACE *rmance EquatACE calculatE scheduler en

ion - PI ACE(with ADO.ncan schedule

ource, or readed debugging,

low you to crse aliases.

ACE is not over members oPI ACE engin

E

ACE. Althoua user interfan run time.

with PI AF

d and started where a PI S

ion allows yo

includes the B6 calculationthem unless rft’s VB6 is st

ions and archMany customalso runs a PI e brief questioentation.

at are its l

implements a late and post aes in this engi

erts the PI tagth easy-to-useeasy. And PI

of Intellisense

.DLLs are mution tags. Evetions for one Pngines.

E supports thenet) and third e and trigger Pd from anothe, logging, and

eate one calcu

only compatibof a collectiv

nes which assu

ugh many assace – it only ru

without beingerver manageu to choose th

legacy PI ACns. As no newrather dated, lill available t

hitectures whimers run it on a

Server and/oons concernin

limitations

terrific, queuall of the timene which incl

gs indicated bye methods anI ACE calcs ae working for

uch higher peen with these PI ACE engin

e entire, rich Vparty DLLs i

PI ACE Calcuer data source d performance

ulation and ap

ble PI Server He, but has theure your calcu

sociate VB wuns in backgr

g configured.er feels it is imhe componen

CE version 1 sw installation legacy PI ACto maintain th

ich may be apa dedicated se

or PI AF. Althng architectur

s?

ued scheduline – you don’t lude a method

y your PI Mond properties ware built in Mr you. PI ACE

erforming for performance

ne – you can

VB.Net languincluding thosulations that rand write to

e diagnostics.

pply it to man

High Availabe ability to supulations will

with easy to deround and doe

. The PI ACEmportant to mnts you want t

scheduler andcould use theE v1 calculat

hem.

ppropriate forerver, some hough your re that materi

ng and triggerwant to have

d for automat

odule Databaswhich make o

Microsoft VisuE is truly a ra

every kind oe advantages –spread this lo

uage – so youse written in Cread PI tags aPI tags. PI A.

ny tag sets thr

bility – workinpport always be the

esign forms, Pes not suppor

E manage to

d ese tions

r

al is

ring e to tic or

se object ual apid

of – if oad

u can C# or

and ACE

rough

ng

ere.

PI rt any

 

PI ACE isprecursor significan

s not yet adap– the PI Mod

nt understandi

pted for use wdule database.ing of both PI

with PI AF dir. There are wI ACE and PI

rectly. It is stiways they can AF (includin

ill very muchn work togetheng the PI AF S

h tied to PI AFer, but this reSDK).

P

Pa

F’s quires

PI ACE

age 79

Building P

 Page 80    

5.2 D

ApproachInstall PI

Install thethe exerci

1. (otomandeco

2. (oinWco

3. Ota

4. (oonhoZ

5. Frseinth

6. (o“Pwin

7. FrtoP

8. SEMdashP

PI System Asset

Directed A

In coninstor h

h ACE as nece

e PI Tags & Pises.

optional) If yo see that the

menu and selecnd then optionefault PI servomputer) is se

optional) to condicated direc

Wizard for Visomponents).

Open the Exceab “PI Tags”

optional) if yon the small sqome Excel rib

ZZ and after “R

rom the PI Taelect Export Tnstalled and a he indicated P

optional) if yoPI-MDB”, an

what:” enter Znitials. Make

rom the PI-Mo replace ALLI Server (whi

elect the PI-MExport Items toMDBBuilder u

atabase on thihould build a I ACE calcul

ts & Analytics w

Activity – P

this part of thncepts presenttructor is doinhold a quiz. Y

ssary

PI Module Dat

your instructorappropriate Pct the “Aboutns. In the mi

ver. Make surelected.

omplete the Pctly INSTALLsual Studio (.N

el Worksheet

ou are using aquare in the ubbon tab selecReplace with

ags Sheet/TabTags to your P

PI Server yoPI server - yo

ou are using and select this eZZ and after “

sure you use

MDB sheet, seL occurrencesich is probabl

Module Databo your defaulutility for Excis server, if yoPI-MDB struations.

with PI AF

Preparing

he class you wted in this chang or performYour instruct

tabase (legacy

r indicates thaPI Server is tht PI SDK” or ddle of the PIre the appropr

PI ACE instalL ONLY the PNet), and PI A

C:\Class\Tw

a shared PI Seupper left cornct Find and S:” enter your

b Select the API Server (thiu can build ta

ou can use any

a shared PI Seentire sheet an“Replace with the same stu

elect the entires of TRAINXy TRAINXX

base Builder lt PI Server (tcel installed aou have prob

ucture in your

for the Ex

will perform aapter or sectio

m the same steor will have d

y context data

at PI ACE nehe default PI S

any other PI I-SDK Conneriate PI server

lation, run thePI ACE 2 (.NACE Manage

wo ACE Exer

erver, then selner of the spreelect and Rep

r unique stude

Add-ins Menus assumes yoags to). Thisy tag search to

erver, then selnd select the Rh:” enter yourdent number

e sheet once mXX with the naX – where XX

fly-out menu his assumes ynd you have tlems – tell yor designated P

xercises

a learning acton. You mayeps at the samdirections.

abase) entries

eeds to be instServer. To doClient and se

ections panel r (in most cas

e PI ACE instNET) Scheduler (do not inst

rcises.XlsX an

lect the entireeadsheet cell place. After “ent number or

u and PI-SMTou have the PIs should buildo confirm this

lect the SelecReplace funcr unique studor intials.

more and useame of the de

X is a number b

from the PI-Syou have the the rights to e

our instructor)PI Server for y

tivity to exploy be invited tome time. You

s as necessary

talled, First, co this open thelect Connectiyou will see t

ses your stude

tall kit from tler, PI ACE tall the PI AC

nd select the f

e sheet (by cligrid) and from“Find what:” r initials.

T submenu anI SMT tag buid eleven PI tags.

ct the second sction again. “Fdent number o

the Replace oefault / appropbetween 1 an

SMT menu anPI-SMT PI edit the PI mo). This step your use in co

ore the differeo watch whatmay play a g

y for

check he start ions the ent

the

CE v1

first

icking m the enter

nd ilder gs on

sheet, Find or

option priate nd 20).

nd

odule

ontext

ent t the game

 

 

P

Pa

PI ACE

age 81

Building P

 Page 82    

5.3 D

Activity O

• B• R

Problem

CDT158 i

Approach

Open Visucharacteri

Server (fo

Executabl

Module

Select the

Input tag:

Output Ta

Write thPublic O

CDT158 endsub

Test from

Register

PI System Asset

Directed A

In tconinstor h

Objectives

Build a new PRegister it and

Description:

is in Celsius,

h

ual Studio 20istics:

or PI-MB): T

le (Filename)

(Calculation)

e tags

CDT158

ag: CDT158

he Code: Overrides S

8_DegF.valu

m the PIAC

r with the sch

ts & Analytics w

Activity – S

this part of thncepts presenttructor is doinhold a quiz. Y

PI ACE calculd test it

:

we’d like ano

008 and creat

TrainXX (y

: ACE_EX

): TempCon

.degF

Sub ACECalc

ue = ( CDT

E menu

hedule set to

with PI AF

Simple PI

he class you wted in this chang or performYour instruct

lation that rea

other tag resta

e a new PI A

your training

1

nv

ulations()

T158.Value *

o Natural on

ACE Calc

will perform a apter or sectio

m the same steor will have d

ads from one t

ating in Fahre

ACE applicat

workstation /

* 9/5 ) + 32

n tag CDT15

culation

a learning action. You mayeps at the samdirections.

tag and write

enheit

tion with the

/ PI Server)

58

ivity to explory be invited tome time. You

s to another

following

re the differeno watch whatmay play a g

nt t the game

 

Note: PI atop of youPIACEPO(the actua

allows many ur code is a coOINT object nal tagname wa

more optionsomment blocknames. In thias not change

s in naming tak that shows his case CDT1d).

ags than VB.Nhow PI ACE 58.DegF was

Net offers in nhas adapted y

s changed to C

naming objecyour PI Tags CDT158_Deg

P

Pa

t variables. Ainto gF within the

PI ACE

age 83

At the

code

Building P

 Page 84    

5.4 T

Before PItool, the Pof objectsthat PI AFProperty (without a

The PI Mthe PI mothey offerPI Propertalso based

Although won’t list

In 2010 –a PI Systeautomaticlegacy PI single PI ADatabase.

PI System Asset

The PI Mo

-AF was relePI-Module Das called moduF would call a(which wouldselected data

odule Databadules alike (u

red an interchties which wed on the PI M

the PI Moduthem, PI AC

OSIsoft releaem (PI AF Serc with the upg

Module DataAF element in

ts & Analytics w

odule Data

ased in 2008,atabase. The

ules (simpler vattributes – thd accept varioa reference).

ase did not havusing the PI Mhangeable indiere very valua

Module Databa

le Database isE still benefit

ased PI Serverver) using th

grade to this vabase is storedn PI AF. Thi

with PI AF

abase – Co

, PI Servers ine PI Module Dversions of elehe alias (an inous kinds of en

ve templates MDBBbuilderirect referencable to PI ACase.

s not nearly ats from using

er 2010 whichhe PI AF link version of the d in a designais will allow f

ontext Befo

ncluded with Database is a sements) whicdirect referenntered values

to keep the mr for Excel – ae to PI Tags a

CE. OSIsoft’s

as powerful as the PI Modu

h hosted the lesynchronizatPI Server and

ated PI AF Dafor the orderly

fore PI-AF

a similar, butsingle root hi

ch had only twnce / pointer ts – similar to a

modules alike a precursor toand context ins PI Batch imp

s PI AF in so ule Database.

egacy PI-Modtion tool. Thed it provides atabase undery retirement f

F

t much simpleierarchical dawo types of thto a PI tag) anan attributed

– but if you bo PI AF Buildnformation inplementation

many ways w

dule Databasee synchronizathat the singlr a designatedfor the PI Mo

er atabase hings nd the

built der), n the s are

we

e into ation is e root

d dule

 

Through tAttributesData referpropertieselements cDatabase be used as

If time peAF Synch

 

the PI AF Lins and the PI-Mrence and Tabs in the PI-MDcan be built inmodules. Ans PI AF eleme

ermits the insthronization.

nk - the PI-MDMDB Propertible Lookup DDB. With then this single rnd legacy moents.

tructor can de

DB aliases aries are PI AF

Data Reference limitations oroot by templodule database

emonstrate the

e built as simAttributes wie attributes arof the PI-Modate and they we structures b

e PI AF Link

mple PI Data Rithout Data Rre labeled as “dule Databasewill result in

built with the P

and PI Modu

Reference Reference. Fo“not supportee in mind – PIusable PI MoPI MDB tool

ule Database t

P

Pa

ormula ed” I AF

odule ls can

to PI

PI ACE

age 85

Building P

 Page 86    

5.5 S

Exercise

Learn to ucalculatio

Problem

We have Pare interesthe level tdisplay w

Approach

1. O

Select the

Add a reOSIsoft.

At the top

PI System Asset

Solo / Grou

Thitopassi

Objectives

use the PI ACn to multiple

Description:

PI tags for thested in havingtags and descr

which shows v

h

Open Visual

e aliases

eference (PrPISDK

p of the code (

ts & Analytics w

up Exercis

is is a solo or ic area. Youristance during

CE Wizard, Sccontexts in th

:

e five tanks ing volume. Sribe the capac

volume. We’d

Studio and cServer (forPI Server)ExecutableModule ((neither theand they ca

Context: PI Module Input aliasOutput ali(select the fto search amSelect the fas an Outpu

roject menu

(with the Imp

Imports P

with PI AF

se – PI AC

group activitr instructor wg the activity.

cheduler, & Phe PI-Module

n a tank farm Someone else city and usingd like to have

create a newr PI-MB): T e (Filename)(Calculation)e Executable nan’t be the sam

\\TrainXXdatabase thros: Level ias: Volumefirst input rowmong Tank1’first output rout alias (you c

\ add referen

ports statemen

PISDK

CE with C

ty that is desigwill have instru

.

PI-ACE Manae Database

which show has built a PI

g this to suppo this volume

w PI ACE apTrainXX

): ACE_EX): TankFarnor the modume)

X\TankFarmough the searc e w, select Aliass aliases – whw and repeat can also just t

nce \ .Net re

nt that is alrea

ontext

gned to maximuctions, and w

ager to apply

percentage leI-Module Datort a PI Procecalculation h

pplication a(your trainin

X2 rm

ule can have a

m\Tank1 (sch function)

s Search, andhen Level is dthis process t

type these in)

eferences) to

ady there):

mize learningwill coach yo

a simple ACE

evel filled, butabase to assoessbook datasistorized in a

as follows: ng workstati

a blank in the

select this from

d enter an astedisplayed seleto assign Vol

)

o the

g in a specificou if you need

E

ut we ociate set and tag.

ion /

name

m the

erisk ect it. lume

c d

 

Write thePublic ODim  pimDim  dbl pimdTankdblCapacVolume.v End sub 

This codecurrently Context –Module nand finds extract thevariable. PIACEPocompletio

Test from

In the PI A

\TrainXX

Note that

If everyth/manage oapplets.

Right Mo

Schedule

Wait a mi

Still in thWith your

Select “T

e Code: Overrides SmdTank as PlCapacity a

k = getPIMocity = pimdvalue =( Le

e declares an orunning PI M

– which duringname. The get

the actual moe value of theThat is used

ointObject Voon.

m the PIAC

ACE Manag

X\ACE_EX2\T

the executabl

hing is grey it or control pan

use click and

the calculati

inute or two a

he PI ACE Mr Tank1 conte

ankFarm” (t

Imports O

Sub ACECalcPImodule as double 

odulefromPatdTank.PIProevel.value/1

object of typeModule to the

g run time is tPIModulefroodule and assie Capacity Proto calculate th

olume – which

E menu, if th

ger, open the t

TrankFarm a

le and module

is likely the Pnel administra

d select “Edit

ion with natu

and press refre

Manager, ext, right mou

the parent mo

OSIsoft.PIA

ulations()

th(Context)perties(“Ca100) * dblC

e PIModule anObject by usigiven the valu

omPath methoigns it to the operty from thhe volume anh will then wr

he test is suc

treeview to se

and \\TrainXX

e are green, b

PI ACE serviative tools ser

Schedule &

ural schedulin

esh, does the

use click and

odule of the ta

ACE.PIACE

) apacity”).vCapacity 

nd a simple aning the PI ACue of the currod of PIACEBdeclared objehe Module an

nd assign it to rite it to the in

ccessful you

elect your con

X\TrankFarm\

but the contex

ce is not runnrvices applet o

Priority”

g on the inpu

status go “gr

select “Apply

anks) and clic

EBIFunction

value 

nalog variablCE assigned strently assigneBIFunctions tect variable. Tnd assign it to the value of ndicated outp

u can close V

ntext

m\Tank1

xt is grey

ning. You caor the PI-SMT

ut alias: level

reen” & “on”?

y Schedule to

ck “ Close”

ns

le. It assigns tring variableed context – thtakes that striThis is used t

o the simple lothe

put tags upon

Visual Studio

an start it fromT Operations

?

o”

P

Pa

the e he PI ng to ocal

o

m the my com/PI services

PI ACE

age 87

mputer

Building P

 Page 88    

The resultselect “Ap

In a minut

(optional

(Create adraw a reall tags ththe Excelvalues upupdating

(optionalACE_EXthe end tiPI-Proce 

PI System Asset

ting list shoulpply”

te or two all f

l) Check out

a new .PDI dectangle – frhat have the l sheet whenpdate. Optiovalues.

l) Using the X2 and recalime and leavssbook?

ts & Analytics w

ld show the o

five tanks sho

t the updatin

document, seom the resulPointsource

n we built theonally – you

PI ACE Manlculate it forve the interv

 

with PI AF

ther tanks wh

ould turn gree

ng values for

elect the “halting menu se “ACE” (thie tags). Clicu can just use

nager, right r the past 3 hal blank…di

hich have mat

en and “on”…

r all the tank

ammer” tool elect the tagis is not autock okay to bue tag search

mouse clickhours. Use *id the data re

tching aliases

k tags in PI P

and then theg search buttomatic – it wuild the trenand PtValue

k on the exec*-3h as the secalculate / b

s and properti

Processbook

e trend tool ton and searcwas assigned nd and see if es to check t

cutable tart time, * back calcula

es…,

k

and ch for in your

the

as ate in

 

5.6 G

Question

The PI AF

PI Totalizdifference

1. Wha

2. Wha

3. My C

4. Wha

Any other

 

Group Que

Thenewyou

s

F Formula da

zer Tags, and es and some s

t if I need his

t if I need to a

Calculation is

t if I need to c

r thoughts on

estions – W

e following quw insight. Your own or hav

ta reference, P

PI ACE are asimilarities.

story (calculat

apply the sam

s complex and

change the ca

PI Calculatio

 

Which Cal

uestions are iour instructor ve the group a

PI Performan

all options for

tions before n

me calculation

d happens a lo

alculations oft

on options?

lculation S

intended to remay choose t

answer them t

nce Equation

r calculated d

now), what ar

n to many uni

ot – which are

ften – which c

Should I U

einforce key into have you trtogether out lo

Scheduler Ta

data in tags. T

re the merits o

que but simil

e the most eff

choices will w

Use? (Disc

nformation, ory to answer toud.

ags,

They have ma

of each tool?

lar things?

ficient option

work best for t

P

Pa

cussion)

or to discoverthe questions

arked

ns?

that?

PI ACE

age 89

r a on

Building P

 Page 90    

6. Not

6.1 G

Question

1. Did a

2. If thi

6.2 P

PI Notificto subscri

With the sEmail, OC

6.2.1 E

To configand then Select the

There are discussed dedicated personnelwill indic

For our puconfigurasubscriberaccurate: enter a Ba

PI System Asset

tificatio

Group Que

Thenewyou

s

any of our tan

is were an act

PI Notifica

cations Delivebers.

standard instaCS/Lynx, and

Email/SMTP

gure the Emaselect Tools

e Email Deliv

only a few opin the installSMTP Posta

l who manageate which ser

urposes we wtion here evenrs. For this re PostServer.Packup SMTP

ts & Analytics w

ns Part

estions – C

e following quw insight. Your own or hav

nks generate O

tual implemen

ations Deli

ery Channels

allation three d Webservice.

Delivery Ch

ail Delivery Cand Notifica

very Channe

ptions. The fation of PI N

al server for Ne the existing rvers and port

will not be senn if it is dysfueason – enter PISchool.Int. server.

with PI AF

2

Checking o

uestions are iour instructor ve the group a

Overflow or E

ntation, would

ivery Chan

provide for th

delivery chan.

annel

Channel, seleation Settingsel and right m

first is the SMNotifications, Notifications,

postal servicets to use for th

nding e-mail nunctional in oa FQDN for Do not test t

on our tan

intended to remay choose t

answer them t

Empty alerts?

d this be an ap

nnels

he mechanism

nnels are insta

ect Notificatis. The last ta

mouse click to

MTP Server anit is almost nebut rather onees to use PI Nhe primary an

notifications iorder to add e-a postal addrethis (as it won

nk notifica

einforce key into have you trtogether out lo

? How can w

appropriate lev

m by which al

alled with PI

ion from the ab Is Delivero select Setti

nd the backupever advisable should coor

Notifications wnd backup SM

in the class, bu-mail / Activeess here evenn’t work). Yo

ations

nformation, ory to answer toud.

we check?

vel of alerting

lerts are deliv

Notifications

navigation pry Channels. ings.

p server. As le to install a rdinate with thwith them. T

MTP Servers.

ut we will reqe Directory n though it is nou do not hav

or to discoverthe questions

g?

vered

s:

pane

he I.T. They

quire a

not ve to

r a on

 

The next oalmost allcan literaladvisable Email as inot a real else’s addaddress liksending a

At the botserver andremoved pthese timewho mana

Once youby Activesubscriber

6.2.2 O

The next ssophisticadelivery cOffice CoLynx, this

The PI NoDelivery CinstallatioconfigurinRelay SerChannel aa connectiWeb servitriggered.robust sec

As with ththe navigafind Delivselect Settdomain naOCS Servan optionaservers wicooperatio

option is sendl computer aully send with to specify a s

it will prevenaddress will w

dress and that ke DoNotRepddress.

ttom of this pd switching topart of the coeouts will be iager your pos

u have set up te Directory. Lrs don’t have

OCS Delivery

standard Deliation deliverychannel providommunicator s can be a pow

otification DeChannel and t

on packages. Tng contacts torvice is an appand a Microsoion with the Mice that takes This separat

curity model.

he Email chanation pane. Severy Channelstings. The coame in the styver. And set tal backup OCill support HTon of the I.T.

der Email. A utomated Emaanything andsender Email t them from ework – but if could cause p

ply@PISyste

anel is the opo the backup prporate intraninsufficient. stal servers.

the Email DelLater when dientries or em

y Channel

ivery Channely of messages des for integr(now called Lwerful way to

elivery Channthe PI NotificThe OCS Delo subscribe toplication that oft Office ComMicrosoft Offrequests from

tion of respon

nnel configurelect Tools/Ns. Right mouonfiguration hyle. LYNXSethe port. You

CS Relay hostTML encodinpersonnel res

surprising chailing programd SMTP does

address here entering problf users are givproblems. Foem.Int and d

pportunity to postal server.net or you areYou can set t

livery Channeiscussing cont

mail addresses

l is the OCS/Lto the Micros

rated email anLynx). For tho connect peop

nel consists ofcations OCS Rlivery Channe receive notifserves as an i

mmunicationsfice Communm the OCS Densibility perm

ation is straigNotification Seuse click on thhere is even s

erver.MyComu have the optt with the samng in the messsponsible for

haracteristic oms is that the not check. Fand disable tlematic addre

ven the choiceor our purposedisable the ab

set the timeo Unless your using a cloudthem in coord

el most Emailtacts will shos in Active Di

Lynx Deliversoft Office Cond instant meshe companiesple to the pro

f two componRelay Serviceel is a plug-infications via iintermediary s Server. The

nications Servelivery Chann

mits more flexi

ghtforward. Settings from thhe OCS Delivsimpler. Set t

mpany.com) totion of encryp

me parameterssages. Set theyour OCS/Ly

of the SMTP ssender is not or this reason

the ability foresses. Even ae – they couldes we’ll enter

bility of users

outs for sendinr only postal sd based mail dination with

l addresses shw how to setuirectory.

ry Channel, wommunicatorssaging alertss that use Micocess.

nents: the PI Ne. These are tw

n for PI Notifiinstant messagbetween the

e OCS Relay Sver to send menel when a neible installati

Select the Nothe menu on th

very Channel the FQDN (fuo your companpting the conns for it. In moese parameterynx servers.

standard usedvalidated. Y

n it may be r users to set tan address whd enter someor a characteristo set a custo

ng to the postservers are onserver it is unthe I.T. perso

hould be provup those

which provider service. This to clients likcrosoft OCS

Notifications wo separate ications for ge. The PI OCOCS DeliverService: Mainessages and hew notificatioons and a mo

tifications opthe last tab yoin the listing

ully qualified ny’s configurnection. Therost cases OCSrs with the

Notifications

Pa

d by You

the hich is

one stic om

tal n a far nlikely onnel

vided

es is ke /

OCS

CS ry ntains

hosts a on is ore

tion in ou’ll

and

red re is S

Part 2

age 91

Building P

 Page 92    

As the OCand so do

We will nconfigure

6.2.3 W

To use thithat is avacommercito develop

Unlike thethe Notifithe Web Ssection of

PI System Asset

For Deli

For Notif

CS server getses PI Notifica

not be using thit.

Web Service D

is delivery chailable to youially availablep custom Web

e other two decation/Tools/

Service delivef the PI System

ts & Analytics w

more informaivery Channe

more informaifications OCS

s informationations, it is im

he OCS Deliv

Delivery Cha

hannel you mur PI Notificate, and many db services.

elivery chann/Notification ery channel ism Explorer.

with PI AF

ation see "Adl User Guide

To aneeddatabspecmessendpspecdeliv

The inforsendspecdeliva notif theof th

ation see "OCCS Delivery Ch

n concerning pmportant that t

very Channel

annel

ust first obtaintions Scheduldevelopment

nels, the web sSettings/Delivs in the delive

dministration", version 1.1,

apply the OCSd to create a Dbase. You caify which onesage delivery.point, configuify under wha

vered to a reci

OCS Deliverrmation from

d an instant mify the levels

very endpointtification is tre presence of

he checked pre

CS Specific Channel User G

potential recipthey are both

further in the

n a Web servier Service. Thenvironments

service channvery Channel

ery endpoints

" in the PI Nopp. 11-14.

S Delivery ChDelivery endpan build multie to use to cus. For an OCS

uration optionat circumstanipient over in

ry Channel coOCS to decid

message. The sof presence f

t should receivriggered, a mef the subscribeesences.

Configuration"Guide, versio

pients from Aon the same

e class and we

ice and host ihere are manys offer templa

nel has no conl listing. All configured in

otifications OC

hannel, you wpoint in the coiple endpointsstomize the S delivery ns are availablnces a messagnstant messag

onsumes presede whether toselected presefor which thisve message. Wessage is onlyer is online or

" in the PI on 1.1, pp. 6-8

Active Directodomain.

e won’t need

it on a Web sey Web servicates and other

nfiguration frconfigurationn the Contact

CS

will ontacts s and

le to ge is ing.

ence o try to ences s When y sent r one

8.

ory

to

erver ces r tools

om n of ts

 

After instaclicking oname andform:

The web syou can se

Note: Eacno global

We will n

6.3 P

Configur

Use the Crule to popnotificatiosubscriptito be delivmessage, the data thbe sent wi

Standard about the underlyincontent foremoved o

Name: Thwhich fire

Descriptinotificatio

Target: T

alling a Webson Delivery Ed select WebS

service shouldet a default va

ch delivery enconfiguration

not be configu

PI Notifica

re the conte

Content tab ofpulate and cuon message. Eion can requesvered with theand the Conthat will be coith the notific

content is gennotification ag trigger. The

or a notificatioor edited. It in

he name of thed

ion: The descon which fired

The name of th

service, createEndpoints and

ervice from th

d populate thealue for each

ndpoint with an parameters

uring a Web s

ations Con

ent of a Noti

f a notificatioustomize the Each st different dae notificationtent tab lists allected and m

cation messag

neral informaand the e standard on cannot be ncludes:

he notification

ription of thed.

he target

e a delivery eselecting Newhe Delivery c

e list of paramone.

a Web servicefor this delive

service deliver

ntent and M

ification

on

ata n all

may ge.

tion

n

endpoint in thw Delivery Echannel menu

Web URL validaWeb

Web servic

Defaudefaudown

meters which

e delivery chaery channel.

ry channel in

Message F

he contacts areEndpoint. Givu. You shoul

Service Addrof your Webate the conneServices butt

Service: Selece from the d

ult Web Methult Web methon menu.

the web serv

annel is auton

n this class.

Formatting

ea by right move your endpold see the foll

ress: Enter theb service. Youection using thton.

ect your Web drop-down me

hod: Select thod from the d

vice expects an

nomous. Ther

g

Notifications

Pa

ouse oint a lowing

e u can he Get

enu.

he drop-

nd

re are

Part 2

age 93

Building P

 Page 94    

element th

Start Tim

End Tim

Trigger T

State: Th

Escalationotified re

Priority:

Along witautomaticmoment o

If a PI Wewhich shoadded to t

To add ad

Constantto the noti

Attributevalue fromdatabase.

Web LinkClickable report.

Web LinkClickable page.

Web Link

File: A fil

File LinkUniversal\\Compu

 

PI System Asset

hat caused thi

me: The time a

e: The time a

Time: The tim

e state associ

n Level: If yoegarding this

The priority a

th the standarcally be addedof the notifica

ebParts serverows you a trenthe content of

dditional cont

t Value: Any ification mess

e Value: Any m any elemen

k > RtReporlink to an Rt

k > PI WebPlink to a PI W

k > Other: C

le that can be

k: Clickable lil File ConventerName\Sh

ts & Analytics w

is excursion.

at which the v

t which the v

me at which th

ated with the

ou are using aexcursion.

associated wi

rd content, alld in the Triggation can then

r was configund of inputs af the notificati

ent, click the

text to add sage.

attribute nts in the AF

rts: tReports

Parts: WebParts

Clickable link

attached to a

nk to a file. Ttion (UNC) fiharedFolder

with PI AF

value first ent

alue left the a

his notificatio

trigger condi

an escalation

ith the trigger

l inputs used iger Input secn be added to t

ured with PI Nand outputs frion.

Add button a

to any Web p

an email using

The file link cfile path of ther\File.

tered the alert

alert state.

on event was s

ition.

queue, the nu

r condition.

in the notification. The valuthe notificatio

Notifications ,rom the notifi

and select the

page.

g the email de

cannot be a loe form

t state.

sent.

umber of peop

ation rule trigues of these inon message.

, a link to a Pication rule w

e content to ad

elivery chann

cal file path.

ple who have

gger will nputs at the

PI WebParts trwill automatica

dd:

nel.

It must be a

e been

rend ally be

 

6.4 P

6.4.1 P

Normally configureof enterincases thos

You can cDirectorycomputer Active Di

6.4.2 S

Because Aonly by seContacts swill be retimplemen

By defaulsubscribedNotificatithe Globasearch and

PI Notifica

PI Notificatio

PI Notificatid domain Act

ng all of this pse subscribers

configure PI ny Properties running the P

irectory serve

earching for

Active Directoearching for tsection of theturned. If bo

nted, Active D

lt, only AD usd to a PI notifons view in th

al Configuratid subscribe A

ations Con

ns and Activ

ons will get thtive Directory

potential subscs and their inf

notification’s from the ConPI Notificatioer through DH

r Contacts

ory databaseshem. To sea

e PI System Eoth the SMTPDirectory will

sers will be refication by mhe PI System on tab. Chan

AD groups, as

ntacts, Act

ve Directory

he contacts ity. This prevecribers and thformation wil

access to Actntacts open in ons service is HCP and will

If configFQDN odomain i

s can be very arch, click on

Explorer and eP/Email and O show entries

eturned from modifying the P

Explorer, selnge the ShowA well as indiv

ive Direct

t needs for maents you fromheir contact inll already be i

tive Directorythe PI Systemon a domain, configure itse

guration is necf the Active Didentity PI No

large, you can“New Search

enter a wildcaOCS/Lynx dels for both.

a search. ADPI Notificatiolect Tools > NADGroups prvidual contact

tory, & Su

any delivery cm having to donformation bein the active d

y by selectingm Explorer, h it will usuallelf and this is

cessary you cDirectory / DNotifications w

an use Active h” under contard search. Alivery channe

D groups can aons settings. UNotifications roperty to Truts, to a notific

ubscription

channels fromo the tedious tecause in mosdirectory data

g Tools > Achowever if thly just find ths unnecessary

an specify theNS server an

will use.

Directory enttacts in the

Appropriate reels are

also be returnUsing the Settings and

ue. You can ncation.

Notifications

Pa

ns

m your tasks st abase.

ctive he e .

e d the

tries

sults

ed and

select now

Part 2

age 95

Building P

 Page 96    

6.4.3 C

For those Active DiThis may send NotiDatabases

Try this o

1. T“C

2. Ifw

3. Ifdoth

4. C5. S

st

6.4.4 C

A group irecipients

To create descriptioclick on thright moudrag yourgroups.

PI System Asset

Custom Conta

who don’t hairectory (whicbe appropriatfications to. Cs on a PI Syst

out:

To Create a CuContacts” at tf you’d like en

we’ve not conff you’d ratheromain, like Ehe same one –

Check in your earch for youtring.

Contact Grou

s an unordere. Notificatio

a new group,on. Click on the Contacts it

use click on thr choice into t

ts & Analytics w

acts

ave entries in ch is worth pute for vendorsCustom Contatem.

ustom Contacthe top of the nter your ownfigured a valir not, enter the

EmmaStone@– remember thwork.

ur entry by cre

ups

ed collection oon messages a

, right-click othe Active Dirtem at the tophe Contacts itehe center pan

with PI AF

In most OSIsreturn the studomain. Try

Active Direcursuing), you s or others noacts (like U-o

ct, select contabrowser wind

n name in thed postal servee name of you

@Zombieland.chese are globa

eating a new s

of delivery enare sent to all

on Groups andrectory icon a

p to search anem at the top

nel below you

soft classroomudent accounty this…

ctory or if youcan enter Cu

ot in your como-Ms and Stat

acts from the dow and selec contact and ser you shouldur favorite accom (don’t ual).

search and en

ndpoints whicmembers of t

d select New and select grod then highligof the right h

ur new group.

ms you can sets setup in the

u don’t have austom Contactmpany who yotes) are availa

Navigation pct “New Conspecify your E

d not receive mctor and makeuse this one o

ntering an app

ch includes Athe group sim

Group. Enteroups or endpoght your choihand pane to s You can pu

earch for STUe classroom

access to yourts one at a timou may still wable to all PI

pane, right clintact” Email Addresmail. e up an email or we’ll all bu

propriate sear

Active Directomultaneously.

r a name and oints or right mce and click Osearch and thut groups with

U* and

r me. want to

AF

ick on

ss. As

uild

rch

ory

mouse OK or en hin

 

Try this o

Create a cuniquenesaddresses

6.5 S

To subscrSubscriptihand searc

Try this o

1. Inyo

2. FSu

3. SD

4. C

5. GNB

6.6 M

Now that notificatioExplorer t

Select Myrecent no

There are adds a notTo install DesktopA

Unless yothe Notifi

6.7 A

When youand triggenotificatioincludes s

out.

custom group ss and then adinto the grou

Subscriptio

ribe contacts, ions tab of yoch panel to ad

out

n PI System Eour tanks and

ind the Tank ubscriptions t

earch for eithDirectory and

Check in your

Go to NotificaNotifications. Browser.

MyPI and

you are subscons history fothat place is M

yPI and thenotification ale

views similatification to ythis, go to \P

Alert executab

ou are subscribcation config

Acknowled

ur implementaers, you may wons are read aseveral functio

named Groupdd your custoup.

ons – appl

endpoints, orour Notificatiodd contacts, e

Explorer connd tank notifica

Overflow Notab.

her your custoyour custom

work.

tions in the NStop and Sta

PI Notific

cribed, you shor all of your sMyPI.

n use the pullerts and notif

ar to this in PIyour WindowsProgram files\ble. Configur

bed for a Notguration.

dgements,

ation of PI Nowant to imple

and acted on. onalities whic

pXX where thm contact and

lying this t

r groups to yoon or Notifica

endpoints, or g

nect to the PI ations.

otification Tem

om contact grocontact and p

Navigation Panart them with t

cations in P

hould be ablesubscribed no

l down menufication histo

I Processook as task bar witPIPC\Analyti

re it by clickin

tification you

Comment

otifications isement procedu For this PI N

ch require or

he XX is youd your Active

to your no

our notificatioation Templatgroups to you

System and P

mplate in the

oup or your Sput the email a

ne and select the controls a

PI Clients

to review theotifications in

u to look for aories.

and PI Datalinth a pop MyPics (or \prograng right on th

can only see

ts, & Esca

s mature and yures to assureNotifications permit user re

ur student nume Directory st

otification

ons, simply gote and use theur notification

PI AF databas

Library and s

Student name addresses in a

the matchingat the top of th

s

e active notifin one place. In

active notific

nk. There is I display wheam files (x86

he task bar ico

the history o

alation Tea

you are confie that your imhas acknowleesponse to no

mber or initialtudent name e

s

o to the e icon or the rns.

se you used to

select the

in Active as subscribers

g Tank Overflhe Notificatio

fications and n PI System

cation alerts,

also a desktoen there are al6)…) and run on.

on the history

ams

ident of your mportant and redgements, wotifications.

Notifications

Pa

ls for email

right

o build

s.

flow ons

op that lerts. the PI

tab of

filters rare

which

Part 2

age 97

Building P

 Page 98    

You can rNotificatiflexibilityNotificatisimilar in required a

Note: Autindustry th

For the NSubscriptisimilar punumber o

When youhave two

If you havand a linkthat web s

The PI Noevent but this way t

Subscribeor PI Deskacknowle

6.7.1 T

must be a server. InPI Notificdomain fi

6.7.2 C

Acknowlepage. If sthey can ssubscribedrequired o

Try this o

If you havselecting “

6.7.3 E

An escalaa specified

PI System Asset

require acknoons, or in the

y, it may be beon Templatesall cases. Fo

acknowledgm

to (auto-acknohat indicates

otification or ions tab and r

ull down menuf subscribers)

u check in youconsequences

ve configuredk added to theserver.

otification schalso the time

the subscriber

ers can acknowktop Alerts Ndge by replyi

The Acknowle

dedicated Intn order to worcations schedurewall (on the

Comments

edgers can leasomeone is attstill leave a cod to from Myor not.

out:

ve notification“Add Comme

Escalation Te

ation team is ad time period

ts & Analytics w

wledgementsconfiguration

est to decide os that would bor the Group

ments (up to th

owledged) is an acknowled

Notification right mouse cu to select the).

ur changes (as:

d an acknowle e-mails sent

heduler will nat which the

r’s performan

wledge througNotifications ding with an e-

edgement IIS

ternet Informrk properly it uler by a firewe internet) the

ave commenttempting to aomment. AnyyPI or similar

n alerts in Myent” to add a

ams

a delayed delid has elapsed a

with PI AF

s in the confign of Notificaton one place be most logicathere is a pul

he total numb

a legacy termdgement is no

template, seleclick to select e number of r

and restart the

edgement webfor this notifi

not only trackrequisite num

nce in respond

gh the web padisplays, or th-mail.

S/Webserver

mation Server ocannot be sep

wall. If subsce web server w

ts about the nacknowledge ay subscriber cPI Client win

yPI or anothercomment.

ivery group wand the ackno

guration of grtion templatesto configure tal and efficienl down menuer in the grou

m from the conot required.

ect the Subscoptions. The

required ackn

e notification)

b / IIS server,fication to per

k the start and mber of subscding to the ale

age, through through PI syst

r

or a dedicatedparated by thecribers want towill have to b

notification alean event alreacan leave a condows, wheth

r MyPI try rig

which receivesowledgement

roups, in the cs. Although them and if ynt place. Con

u to select the up).

ntrol and inst

criptions line oere you’ll be p

nowledgement

), the acknow

, a page entryrmit acknowle

end time of tcribers acknowert is recorded

the PI Procestem Explorer

d pool and poe Active Direo acknowledg

be visible from

ert event throady sufficientomment on anher acknowled

ght clicking o

s alerts on a nt requirement

configuration this can be u

you are using nfiguring themnumber of

trumentation

on the presented witts (up to the t

wledgement wi

y will be confiedgement thro

the notificatiowledge the ald.

ssbook, PI Dar. They canno

ort on a sharedectory users oge from outsim there.

ough the web tly acknowledny event they dgements wer

on the event a

notification onis not satisfie

of seful

m is

th a total

ill

igured ough

on ert. In

atalink, ot

d or the ide the

server dged, are

re

and

nly if ed.

 

The time escalationclear.

When a nacknowlethe escala

Building esubscriberescalationreceive al

If you wathat the fialert – you

delay is built n team with th

otification aledgement requ

ation team wil

escalation tears area of not

n teams to a nerts.

nt to have addrst escalationu can just add

into the grouhe delay in the

ert is sent to iuirement is noll be sent aler

ams is very simifications or notification tha

ditional escaln team does nod another team

up (not the acke title (i.e. “M

initial subscribot satisfied byrts which will

milar to buildnotification teat does not re

ation teams wot acknowledm with a long

knowledgemeManagement T

bers a timer iy the time the

be labeled as

ding groups anemplates to imequire acknow

which will recge or encoura

ger timer.

ent). You couTeam 20 minu

is started and escalation te

s escalation al

nd you can inmplement themwledgements,

ceive alerts inage acknowle

uld even namutes”) to mak

if the am’s timer islerts.

nclude them inm. If you addthey will nev

n the eventualedgement of th

Notifications

Pa

me the ke thits

up,

n the d ver

lity he

Part 2

age 99

Building P

 Page 100    

7. Mo

7.1 P

Security iEnumeratidentity. Eas a securWindows

The securtable. Thepermissio

Permiss

Read

Write

Delete

Admin

PI System Asset

ore PI A

PI AF Obj

n AF is tightltions Sets, …)Each AF objerity descriptor

users and gro

rity permissioe available secns for.

sion

ts & Analytics w

AF

ject Secur

ly bound to w) and their effct has a set ofr, this informaoups.

ons that you cacurity permis

Definiti

The abilpermiss

The abilhave Wrcannot mof the sp

The abil

The abilobject.

with PI AF

rity

windows securfective permisf access contration controls

an specify forsions depend

ion

lity to read orion, it is not p

lity to create arite permissiomodify any obpecific permis

lity to delete a

lity to modify

rity. AF objecssions are basrol informatios the type of a

Notpermusermaiis reassiuser

r AF objects aon the type o

r see the objecpossible to ob

and modify aon on the AF bject within thssion on that

an object.

y the security

cts (Elementssed on the Wion associated access allowe

te: It is prefermissions to grrs. Because itintain user accecommended ignment of per-by-user basi

are describedof object you

ct. Without thbtain the objec

an object. If uDatabase, the

the database, robject.

settings, or o

s, Tables, indows user with them. Kd to a set of

rable to assignroups insteadt is inefficientcounts directlthat the

ermissions onis be the exce

d in the followare setting

his ct.

sers do not en they regardless

owner, of an

Known

n d of t to ly, it

n a eption.

wing

 

ReadDat

WriteDa

Execute

Subscrib

SubscribOthers

You can screate newsecurity. Wbecomes i

The follow(PI System(dark) box

ta

ata

be

be

set permissionw objects, excWhen you creits default sec

wing chart shm). Yellow (lxes are collec

The abilof Elem

The abilattribute

The abil

The abiloneself.

The abilnotificat

ns for individucept for child eate a child elcurity.

hows the availight) boxes ar

ctions availabl

lity to read daments.

lity to write des.

lity to run ana

lity to subscri

lity to subscritions.

ual AF objectelements, the

lement, the se

lable securablre collectionsle at the AF D

ata reference v

data reference

alysis cases.

ibe and unsub

ibe and unsub

ts or for collee collection seecurity descrip

le collections s available at tDatabase leve

values from A

e values to an

bscribe notific

bscribe others

ections of objeecurity is usedptor of the pa

of AF objectthe AF Serve

el.

Attributes

element's

cations to

s for

ects. When yod as the defau

arent element

ts in an AF Seer level and gr

More

Pag

ou ult

erver reen

PI AF

ge 101

Building P

 Page 102    

PI System(AF Serve

Note: Thedatabase. recompute

PI System Asset

NotifT

D

mer)

e write permisThis allows fe security des

ts & Analytics w

ication ContactTemplates

Databases

Contacts

ssion on an Afor a simpler mscriptors for a

with PI AF

Database

AF Database imechanism fo

all objects wit

Analyses

Analysis Templa

Categories

Elements

Element Templa

s enforced auor disabling Wthin the datab

ates

ates

En

R

utomatically oWrite permissbase.

numeration Sets

Notifications

Reference Types

Tables

Transfers

on every othersion without h

r object in thehaving to

e

 

To modifycollectionSystem / Aclick on thSystems dselect Sec

y permissionsns belonging tAF Server, righe PI System dialog box ancurity.

s on to a PI ght in the

nd

The AF Unitacross all AFpermissions However, yodatabase. Cliright-click in

ts of MeasureF Databases infor individual

ou can set permick on the padn a blank area

e (UOM) databn an AF Servl UOMs or Umissions for tdlock icon in a and select Se

abase is shareder. You canno

UOM classes. the entire UOthe toolbar orecurity.

More

Pag

d ot set

OM r

PI AF

ge 103

Building P

 Page 104    

To modifycollectionAF Databthe AF DaSelect Daand selectAlternatelcollectionfrom its loSystem Ex

 

PI System Asset

y permissionsns belonging tbase, right clicatabase in the

atabase dialogt Security. ly, you can ac

n’s security diocation in thexplorer brows

ts & Analytics w

s on to an ck on e g box

ccess a irectly e PI ser.

with PI AF

When modifyreplace the semembers of tand select theobjects withobjects checsecurity desc

fying the secuecurity descrithe collectione Replace pe

h entries showk box. This c

criptor for a sp

urity for a colliptor for all pn. Click the Aermission entwn here that can also be uspecific hierar

lection, you creviously cre

Advanced buttries on all chapply to chied to modify

rchy of eleme

can ated

tton hild ild the nts.

 

7.2 D

Problem

In most Ogroup on privilege your tankRemove t

What effeprivilege r

 

Directed E

In tdiffinvthehav

Description

OSIsoft classroall computerson all computs and alerts. the local admi

ect did this hareflected in e

xercise – A

this part of thfferent concepvited to watch same time. Y

ve directions.

ooms, the gros and that givters and PI AAdd your stuinistrators gro

ave? Can othlements and o

AF Object

he class you wpts presented ih what the instYou may play

oup “Studentses all StudentF Databases.

udent account oup privilege.

her students nother objects

ts Security

will perform a in this chaptetructor is doiny a game or h

s” is included tXX domain a Find your PIand give it al.

ow edit your inside of the

y

a learning actier or section. ng or performhold a quiz. Y

in the local aaccounts admI AF Databasll privileges o

database? Hdatabase?

ivity to explorYou may be

m the same steYour instructo

administratorsministrative se that containon this databa

How is this

More

Pag

re the

eps at or will

s

ns ase.

PI AF

ge 105

Building P

 Page 106    

7.3 P

The elemedate of eaversions tbrowser. will allow

This can b

Benchma

Although you may wNote that (the beginthe most rincrement00:03:00,

Recogniti

A more sorelationshimplementhis versioversion w

Query Da

The queryThe defauversions, ychange th

Query Da

The querydynamica

 

 

 

PI System Asset

PI AF Vers

ents in PI AFach “checked this is indicateIf you right m

w you to selec

be used in two

ark versionin

PI AF databawant to “bencthe earliest d

nning of time recent versionting one houretc..).

ion of changin

ophisticated imhips between ent this versionon to begin ap

with a subsequ

ate – PI System

y date in PI Syult date pointsyou will see t

he Query Date

ate – PI Proce

y date for PI Aally to the tim

ts & Analytics w

sioning

database canin/saved” vered by a small mouse click ot the versions

o ways.

ng

ases are normchmark” indivate you can sfor PI Server

n is always usr from this sem

ng configurat

mplementatioelements appr

ning, when yopplying to. Fruent effective

m Explorer

ystem Explors to the last vethe latest or me.

ssbook & PI

AF in PI Proce of evaluatio

with PI AF

n be versionedrsion of PI AFclock icon pr

on this elemens and view the

mally backed uvidual elemenet as the effec

rs and PI Systsed, each timminal time (i.

ions in versio

on recognizesropriately cha

ou make changrom the effectime, this ver

rer is set very ersion in timemost future ve

Webparts

cessbook and on of the disp

d. With intenF elements. Wresented withnt, there is a “e details of th

up as a whole nts so that youctive date is mtems). To kee

me you check ie. 1-1-70 00:

oning effectiv

s that the confanges over theges and check

ctive date untirsion will be s

simply by the (not the currersion in PI Sy

PI Webparts lay, even with

ntion, you canWhen an AF Eh the PI AF el“Show Historyheir configura

in a maintenu can see the midnight on Jep benchmarkin, set your ef:01:00, 1-1-70

ve dates.

figuration, stre life of a prok in, apply thil the current seen and used

he Query Daterent time), so ystem Explor

are automatichin a trend.

n set the effectElement has ement icon iny” option wh

ation.

nance proceduolder version

January 1st of k versions whffective dates0 00:02:00, 1

ructure, even ocess. To e effective datime, or anoth

d by PI AF.

e toolbar buttoif you have f

rer unless you

cally set to

tive

n the ich

ure, ns. 1970

here s -1-70

the

ate for her

on. future u

 

7.4 D

Objective

• C• S

E• S

Problem

Over the lthe level itime perio

Currently \\PIservernew dated

Midnight

Midnight

 

Directed E

Thspyo

es

Create differenSee these chanExplorer See the impac

Description

last several dain Tag B has cod.

the configurar\Sinusoid witd versions

yesterday mo

this morning

xercise – E

his is a solo opecific topic aou if you need

nt versions ofnges by show

ct on a PI Proc

ays – due to echanged seve

ation string foth an effectiv

orning - \\PIs

– \\PIserver\

Element V

or group activarea. Your insd assistance d

f an AF elemewing the histor

cessbook tren

electrical proberal times. W

or the level atve date of 1/1/

server\CDT15

\CDEP158

Versioning

ity that is desstructor will h

during the acti

ent with specry and setting

nd.

blems in that We want to sho

ttribute of Tan/1970 00:00:0

58

g

signed to maxhave instructiivity.

cific Effectiveg the query da

area, the instrow the correc

nk B is set to 00. We’d lik

ximize learninions, and will

e dates. ate in PI Syste

rumentation tct time for eac

ke to create tw

More

Pag

ng in a l coach

em

tag for ch

wo

PI AF

ge 107

Building P

 Page 108    

Step-by-S1. In

h2. S3. F

Cco

4. CVto

5. N6. C7. C

08. R

on9. R

th10. S

yv

11. If12. O

h13. In

N14. A15. C

idle

 

PI System Asset

Step Solution PI system Eave built youelect Tank Bind the Leve

CDT158 or juonfiguration

Check in youVersion” checo choose yes

Note the clocChange the PCheck in agai

0:00:00 timeRight mouse

n the variouReturning to the last versioelect Query esterday at aalue and datf you set the

Open up PI Pammer tool n the trend c

Navigate to TAt the bottomClick okay. dentify whenevel?

ts & Analytics w

on Explorer conur tanks. B in the Elemel attribute aust replace Sn string. ur work, but wck box and e

sterday mornk icon on thI Point data in and againe today. click on the s elements athe Tank B aon. Date from th

approximateta reference cquery date t

Processbook.and draw a Tonfiguration

Tank B and sm of the trend

Can you seen the nature o

with PI AF

nnect to the

ments browsand use the SSinsusoid wit

while the cheffective datning at midnie Tank B elereference ta

n select “Crea

Tank B elemand note the attributes pa

he PI Systemly this time oconfiguratioto 24 hours e Create a neTrend on then screen, seleselect the Led configuratie the tag chanof the data c

PI System a

er, and viewSettings buttoth CDT158

heck in panelte option. Clight. ement in the

ag again – thiate Version”

ment in the bchanging tag

anel – press r

m Explorer bof day (*-24

on string chanearlier does iw *.PDI dispe display. ect the menuvel and Masion screen senges on the

changes. Do

and open the

w the attributon and tag seafter the serv

l is still displlick the box

e browser. is time to CD” and set the

browser and g name and refresh – the

button bar an4h). Press thnge to the Cit change baplay from th

u next to tag ss attributes et the startinmidnights?

oes the Mass

PI AF Data

tes tab. earch to selever name in

layed, note tand use the

DEP158. effective to

select showthe changing

e tag should b

nd set the quhe refresh buCDT158? ack to Sinusohe File menu

search and sfor the trend

ng time to *- Use the tren attribute pro

abase where y

ect the tag the

the “Create calendar sel

midnight /

w history. Clg effective dbe CDEP15

uery date to utton. Does t

oid? u. Select the

select AF2. d. 3d nd cursor to operly track

you

lector

lick date. 8,

the

the

 

7.5 P

7.5.1 T

PI AF Adv

Template Inh

vanced Tem

eritance

mplate Deesign

More

Pag

PI AF

ge 109

Building P

 Page 110    

7.6 G

Exercise

• D• I

D• D

c

Problem

ID

SP1

SP2

SP3

SP4

SP5

SP6

PI System Asset

Group Exe

Thitopassi

Objectives

Design Templmplement ele

Data ReferencDevelop Notifcalculations

Description

Mf

Pizz

Pizz

Pizz

JcaSup

JcaSup

JcaSup

ts & Analytics w

ercise: Spe

is is a solo or ic area. Youristance during

lates for PI Aements from tces fication Temp

You are inscurrently fo

Speedy’s h

fg Model

zaStar

zaStar

zaStar

r perVan

r perVan

r perVan

with PI AF

eedy’s Pizz

group activitr instructor wg the activity.

F which use tthese template

plates and No

talling PI & Pocused on Spe

has eight del

CA

CA

CA

CA

CA

CA

za – Adva

ty that is desigwill have instru

.

template inhees which use

otifications to

PI AF for Speeedy’s deliver

ivery vehicl

License Number

A HYK427

A HRZ648

A HBB139

A HAR990

A HEED21

A HQB932

ance Temp

gned to maximuctions, and w

eritance PI Point Dat

generate aler

eedy’s Pizza ary fleet.

es:

plate Desig

mize learningwill coach yo

ta and Formu

rts based on th

and you are

Gas TankCapacity (g

20

20

20

30

30

30

gn

g in a specificou if you need

la

he

k gal)

c d

 

SP7

SP8

 

Speedy’simportan

All of Spe

Tripmeterfill up)

Gas Tank

Speed

Time Couvehicle leon return)

Each typThe Pizza

Warming

Engine Te

Oil Level

The JCar30 U.S. g

Motor RP

Engine Te

Sto

Sto

s has a 30 mint that all piz

eedy’s vehicle

r (Miles since

k Level

unter (time sieft the store, r)

e of deliveryaStar vans als

Oven Tempe

emperature

r Supervans gallons.

PM

emperature

oreRunner

oreRunner

inute guaranzzas are deli

es have been

Uo

e last Mi

%

Mp

ince reset

Mi

y vehicle cano capture:

erature D

D

%

capture add

R

D

CA

CA

ntee and it tavered within

instrumented

oM Da

iles Int

Do

ph Do

inutes Do

n also send o They

DegF D

DegF D

% D

ditional data

RPM

DegF

A HOT263

A HEE563

akes 15 minn 15 minutes

d for a few thi

ataType PM

teger S

ouble S

ouble S

ouble S

other informay have a gas t

Double S

Double S

Double S

too: They

Double S

Double S

utes to maks of leaving 

ings:

PI Tag Mask

SP?.Trip

SP?.GasLvl

SP?.Speed

SP?.Timer

ation over thtank capacity

SP?.OvenT

SP?.EngT

SP?.OilLvl

y have a gas

SP?.MtrRPM

SP?.EngT

15

15

ke a pizza so the store.

The first tmeasuremback to threal-time radio Thefor each vmaintaine

he radio linkof 20 U.S. ga

s tank capaci

M

More

Pag

it is 

three of thesements are senthe store with updates via e time countevehicle is ed at the store

k: allons.

ity of

PI AF

ge 111

e t

er

e.

Building P

 Page 112    

Oil Level

GPS – Lo

GPS – La

The two

GPS – Longitude

GPS – La

And these

Speedy’s And they to the man

Timer > 1

Your taskSpeedy’s

Hints/Sug

Use AF tetemplate. templates

For the Fufuel consuLevel) * cfor each v

In order totemplate. notificatioelements i

If you putfor the fueThat’s okbelow theCapacity templatesset it for e

PI System Asset

ongitude

atitude

StoreRunner

e S*

atitude S

e smaller vehi

wants one cawant to havenager on duty

15 Minutes

k is to build thvehicle moni

ggestions:

emplate inher (the exceptiyou can set t

uel Efficiencyumed since thcapacity ), rigvehicle (fuel

o build a Noti (Timer, Spee

on for one vehin the templat

t the gas tank el efficiency cay – use some

e settings buttattribute will ). Alternativeeach vehicle.

ts & Analytics w

%

S

S

r vehicles al

Seconds *

Seconds*

icles have a 1

alculation from three things

y (user your S

Spe

he templates, eitoring system

ritance so thation to this migthe default for

y calculation –he fill-up wheght? Optionaefficiency * r

ification, evered, Gas Tankhicle, convertte.

capacity in thcalculation, itething else (lion. When it be there (proely you can ju

with PI AF

%

Seconds*

Seconds*

lso produce a

Double

Double

5 U.S. gallon

m every vehicset with alerts

Student numbe

eed > 40 mph

elements, andm.

t those attribught be gas tanr each type of

– you actuallyen the trip metal: you couldremaining fue

rything used ik Level must bt it to a notific

he derived temt won’t be theike Speed) in actually calcvided you speust make Gas

Double S

Double S

Double S

additional da

SP?.GPSLo

SP?.GPSLa

n gas capacit

cle: Fuel Es which will ber)

h

d PI Notificat

utes common nk capacity –f vehicle).

y need the invter was reset)

d also produceel).

in the notificabe in the basecation templa

mplates as sugere in the formthe wizard anulates in the eell it the same Tank Capaci

SP?.OilLvl

SP?.GPSLong

SP?.GPSLat

ata:

ong The Gin secdegre(delivthat bminu

at

ty

Efficiency inbe sent to an

Gas Tan

tions required

to all vehicleif you put tha

verse of the re). Tripmeter e the range ca

ation must bee template). Bate and then ap

ggested abovmula data refend then changelements – the in all of the ity part of the

g

GPS readingsconds – the ees are assumvery range is big for 15 utes)

n MPG (douXML file and

k Level < 15

d to support

es are in the saat in the deriv

emaining fuemiles / ((100

alculation in m

e in the target Build the pply it to the

ve – when youerence wizardge it in the str

he Gas Tank derived

e base templat

s are

med not

uble) d sent

%

ame ved

l (the 0-miles

other

u need d. ring

te and

 

7.7 Gmanage

Question

1. Genea) stand db) stthe teWhic

2. Do ydata

3. Sometemppowerequiyour compcompacros

4. Do y

AF to

5. PI AFthe hprofewithowithomakeand p

Group Discement.

s

erally there artart with the Pdevelop temptart by develoemplated PI Pch approach s

you think you which can ad

e processes (lplates becauseer plants or oiire hundreds oprocess fall?

plex processeponents, can yss a fleet of si

you think youo get value fr

F implementahard way becaessionals brinout the criticaout as much ve valuable temprocess engin

cussion – W

re two approaPI tags – organlates from tha

oping the tempPoint data refeseems more ap

will be able tdd value to a P

like data cente they have a il refineries) hof templates. Although im

es, can you seeyou still see bister plants?

u have to haverom it?

ation projectsause they are mng to the efforal input of subvalue becausemplates. Do neers working

Where are

aches to implenize them intat - or – plates you knerences confippropriate to

to find a databPI AF databas

ers or wind tugreat many ohave many un Others are so

mplementing Pe where it cou

benefit in usin

e the whole sy

s that are donemissing the d

rt. On the othbject matter ee most I.T. deyou think you

g together?

e my asset

ementing PI Ao assets – dis

now you will nguration strinyou for the p

base of assetsse for this pro

urbine farms)f just a few ty

nique things aomewhere in PI AF is consuld provide mng templates?

ystem, the ent

e entirely by pdata wranglingher hand, if I.Txperts – they partments dour PI AF imp

ts, part 2 /

AF scover the com

need, and assngs. process you ar

s useful for PIocess?

can be descrypes of compand very compbetween. Wh

siderably mormore value? I? How about

ntire plant or t

process enging and system T. department

y will likely pro not understaplementation p

/ PI AF sy

mmonalities a

ign the appro

re most famil

I AF or datab

ribed with onlponents, whileplex relationshere on this spre challengingIf you have vewhen you im

the entire flee

neers will ofteknowledge thts attempt to roduce somet

and the procesproject can be

More

Pag

ystem proj

around the ass

opriate PI tags

liar with?

bases of conte

ly a handful oe others (like ships and coupectrum woug for more ery few repea

mplement PI A

et described by

en do many thhat I.T. implement PIthing shallowss well enougenefit from I.T

PI AF

ge 113

ect

sets

s to

extual

of

uld ld

ated AF

y PI

hings

I AF w gh to T.

Building P

 Page 114    

8. Fin

Exercise

• U• U• U• I• L• U• B• U

Problem

You havethem. Ththe PI dat

Given Env

A workingand runnin

The PI Datags are cr

You haveinstall dat

Sample Fi

There is a

TXLakeW

Sample PI

All PI tagPerforman

Approach

We will cwill be ac

PI System Asset

nal Exer

Objectives

Use the PI AFUse PI AF temUse PI Point Dmport a table

Link in a tableUse the PI AFBuild and use Use the Roll-u

Description

215 Wind Pohe engineers ha and the spre

vironment

g PI System, ng. The user

ata Archive Sreated and are

a spreadsheete, latitude an

iles

a spreadsheet

WPUs.xlsx

I Tags

gs with data hance Equation

h

create an assetccomplished w

ts & Analytics w

cise – A

This is a solin a specificwill coach y

F Excel Buildmplates Data referencee and build a Te for a table reF Formula Ref

PI AF Categup Data refere

owered Turbihave interestineadsheet data

with PI Data has write acc

erver must hae generating d

et that gives sod longitude).

pre-configure

ave been confScheduler on

t database priwithin Micros

with PI AF

A Wind F

lo or group acc topic area. Yyou if you nee

der

es Table Refereneference fromference ories ence.

ine units in yong data in vara intoPI AF us

Archive Servcess to the ser

ave the Randodata.

ome basic inf

ed for you to

figured. Theyn the PI Data

marily using soft Excel.

Farm in

ctivity that is Your instructoed assistance d

nce m SQL Server

our wind farmrious spreadshsing a commo

ver and PI Asrvers.

om interface c

formation reg

use in this ex

y are using thArchive Serv

the tool PI A

n PI AF

designed to mor will have iduring the ac

r

m and you havheets. You’d on template.

sset Framewo

configured. T

garding your w

xercise:

he Random inver.

AF Builder. M

maximize learinstructions, activity.

ve PI tags builike to integr

ork Server inst

The process v

wind units (m

nterface and

Much of the w

rning and

ilt for rate

talled

value

model,

work

 

Create ou

Create a dclass. . In element (w

Check in y

Create a B

Open youTXLakeW

We will hFirst we w

In the firs

=CONCA

Then doubdata.

ur Database

database to repPI System Ex

without a tem

your work.

Baseline of U

ur spreadsheetWPUs.xlsx .

have to manipwant a more d

st available co

ATENATE(“W

ble click the l

present the wxplorer, creat

mplate) called

nits

t that has som

pulate the infodescriptive na

olumn (H) in t

WPU_TxLKE

lower right co

wind farm, Plete a new databTxLake to re

me basic inform

ormation a littame for each u

the first data r

E”, A2 )

orner of the ce

ease name thisbase called Wepresent the to

mation about

tle to make it unit than “001

row (2) enter

ell to propaga

Final

s a unique naWind Farm. C

op level of yo

each of your

ready for the1”, “002”, etc

r:

ate this down

l Exercise – A

ame within theCreate a new our wind farm

r units

e PI AF Buildc.

to the last ro

Wind Farm in

Pag

e

m.

der.

w of

PI AF

ge 115

Building P

 Page 116    

T

Now we sworksheet

Insert anoColumn C

Populate tdata.

PI System Asset

Tip

should have tht.

other worksheC of the new

the columns a

ts & Analytics w

You can lower rigdata row the data.

he names of a

eet and copy csheet.

as shown belo

with PI AF

select a cell aght corner to p

in the worksh This is easie

all of the units

column H and

ow. The cells

and click on tpropagate a foheet, as long

er than draggi

s. We need th

d Paste Speci

In this nenter th

Column

Column

ColumnWPU n

Column

s in Columns

the small blacormula or datas you are in

ing to the bott

he unit names

ial - Values th

new sheet, inhe following h

n A selected

n B Parent

n C Name names)

n D ObjectTy

A, B, and D

ck square in thta down to thethe column n

tom.

s in a new

his series into

sert a row andheaders

d(X)

(above th

ype

all have the s

he e last next to

o

d

he

same

 

Create Y

Connect t

You may

Export (Cdatabase.

Templati

Select one

our Units in

to the your Da

be promoted

Create/Edit) th

ize Your Uni

e of your unit

PI AF

atabase using

for credentia

his to your

ts

ts and right cl

thePI AF Da

als.

lick on it. Cre

atabase button

In PI Systemwere created

eate an Eleme

Final

n

m Explorer vad.

ent Template

l Exercise – A

alidate that the

from that uni

Wind Farm in

Pag

e units

it.

PI AF

ge 117

Building P

 Page 118    

Right mou

In the Lib

We shoulproperly a

Add one a

Check in y

Return to Search froselect advfor all eleWPU elemholding dthem.

PI System Asset

use click and

brary you’ll fi

d add an attriapplied in the

attribute Mod

your work.

the elements om the upper vanced searchments. Selecments (not theown shift and

ts & Analytics w

select Conve

nd the new te

bute to the Te next step.

del of type Str

tab and selecright toolbar,

h and search ct all of the e farm) by d selecting

with PI AF

ert => Conv

emplate, nam

emplate to ea

ring. You d

ct ,

vert Element t

me it WPU_T

sily and visua

do not need a

to Template

Template.

ally determin

default value

ne if the Temp

e.

plate is

 

From the template a

Check in y

Populate

Return to sheet (“ShParent, Na

Add a hea

Copy andDefine the

Column A

resulting screand select you

your work an

the Templat

the spreadsheheet2”) and coame, Objectty

ader for colum

d Paste Speciae 215 rows of

A

een select themur new templa

nd review an e

te Attribute “

eet to get the opy row 1 of ype,).

mn E of Attr

al values the ef data for this

“X”

m all and thenate.

element or tw

“Model”

model of the Sheet 1 into t

ibuteValue

element namesheet as follo

n right mouse

wo to see if the

WPU. Backthis sheet (wi

es into columows

Final

e click and se

ey picked up

k in the Excel ith the header

mn “H” of this

l Exercise – A

elect Change

the new attrib

file Insert anrs (Selected(X

s sheet as well

Wind Farm in

Pag

bute…

nother X),

l.

PI AF

ge 119

Building P

 Page 120    

Column B

Column C

Column D

Column E

.

Export (Cshould ex

We no lon

Build the

PI System Asset

B

C

D

E

Create/Edit) thxport the Mod

nger need the

e Attribute R

ts & Analytics w

=”TxLake

Model

Attribute have a hea

The mode

his to your datdel informatio

WPUs sprea

References

with PI AF

e\”& H??

for the objeader)

el copy and pa

tabase – checn.

adsheet – you

refer to ele

ecttype (make

asted from Co

ck your work

can close it.

ement name

e sure colum

olumn C of th

in PI System

mn “H” does n

he WPUs shee

Explorer. Th

not

et

his

 

We need teach elemrevolutio

Because treferences

Because t

<<unit na

We can na

\\%Serve

This way

Repeat the

Note thereYawMotoyour elem

Go back twind turb

A more a

to configure tment. Create a

ns per minut

the tag namings.

the tags have

ame>>.<func

ame our elem

er%\%Eleme

the tag refere

e process for

e four other taorAmps, and Y

ments as well.

to the elementine elements

advance PI D

the template ta new Attribute (Angular V

g convention

the following

ction>

ments and attri

ent%.%Attr

ences are buil

the GenWatt

ags associatedYawPos. Fee

ts tab in PI Sypicked up the

Data Referenc

to associate thute with the nVelocity). Th

is strong we

g convention:

ibutes using th

ribute%

t when we ins

ts using Wat

d with each wel free to build

ystem Explore new pi tag d

ce Attribute

he PI tags for name RotorRhe value is a D

can use the te

hat conventio

stantiate the e

ts (Power) a

wind turbine: d these attribu

rer and press Rdata reference

in the templ

Final

Rotor RPM aRPM . Use a Double.

emplate to po

on.

element from

as the unit of

WindDir, Wutes and asso

Refresh to seee attributes.

ate

l Exercise – A

and Generatiounit of measu

opulate our tag

m template.

f measure.

WindSpeed, ociate these ta

e if your indiv

Wind Farm in

Pag

on to ure

g

ags to

vidual

PI AF

ge 121

Building P

 Page 122    

Use a PI DThis is a oGenkwH Use 80 as

You can sbutton andthere.

Building

One of the

First in th

Model

V90

V82

PI System Asset

Data referencone hour totalas a Double the minimum

specify the tagd select the G

a simple tab

e most power

he Library, cre

Manufac

Vestas

Vestas

ts & Analytics w

e to get the Kl for the last rand use a To

m percent goo

g name as \%GenWatts attri

le and using

rful features o

eate a table W

cturer Ra(K

42

38

with PI AF

KWh generatiorunning hour ftal Retrieval

od.

5Element%.Gibute as the so

a table looku

of PI AF is the

WPU Models

ated Yield KWh)

2

8

on from the infrom PI. CreMethod, Tim

Genwatts -orource of the ta

up

e ability to ge

s. The wind

blade le(M)

115

82

nstantaneous eate an Attrib

me Weighted,

r- click on theag and it will

et data from o

farm uses fou

ength 

kw generatiobute called , over the last

e attribute radl pick it up fro

other data sou

ur models:

on.

t hour.

dio om

urces.

 

V80

GE4700

(The exerand blade

We want t

In our WPwill go to SELECT 

Optionallylength andattributes

Check in yproperly.

Using the

We can no

WPU Eff( (Genk

You will h

Getting m

In Systemprovider s

From the integrated

From the

The Query

Vestas

GE

rcise only requ length in the

to use that rat

PU Template,the WPU Mo[Rated Yiel

Tip

y – you can bd manufactureof template t

your work an

e formula dat

ow create a fo

fectiveness wkwH / Rate

have to assign

maintenance

m Explorer Libselect OLEDB

pull down lisd security. Se

pull down sel

y is SEL

29

33

uires the Ratee table.)

ted yield to co

, Create a Tabodels table anld (KWh)] F

If you wantof making is a compli

build an enumer in your taboo (and then

nd look at the

ta reference

ormula data r

with the followedYield)

n variables, u

data from an

brary – CreateB Provider fo

st select the SQet the table to

lect WindFarm

LECT * FRO

9

3

ed Yield. It is

ompare it to t

ble Lookup and retrieve theROM WPUMode

t to give usera mistake usecated way of

meration set wble, it wouldnof course into

elements to s

for a perform

eference elem

wing formula * 100 )

use what you s

n external da

e a new “Linkr Microsoft S

QLServer youo refresh every

mMaint and t

OM TxLakeM

60

87

s optional wh

the real yield

attribute callee RatedYield els WHERE M

s a way to inpe an Enumeraf saying “list.”

with the model’t be too muco all of your e

see if these ch

mance calcul

ment attribute

and the UoM

see fit.

atabase – a m

ked” table calSQLServer.

ur instructor py thirty minut

test the conne

aint

Final

hether you inc

to get an effic

ed RatedYieldwith the follo

Model = @Mod

put data withoation Set. An”

ls and if you ich trouble to relements.

hanges are im

lation.

in our templa

M of Percent/%

more advance

lled WindFar

provides andtes.

ection.

l Exercise – A

clude manufac

ciency result.

d using the wowing query: del 

out the possibn Enumeratio

included the bretrieve them

mplemented

ate called

% (ratio).

ed table look

rmMaint for

d select Micro

Wind Farm in

Pag

cturer

.

which

bility on Set

blade into

kup

r the

osoft

PI AF

ge 123

Building P

 Page 124    

click “OK

If you clic

Now in thMaint DatTable retu%Elemen

Check in y

PI System Asset

K” Check

ck on the “Ta

he WPU Tempte of data typurning Last Mnt%

your work an

ts & Analytics w

k in your work

able” tab you c

plate, let’s looe DateTime w

Maint Date wh

nd check out t

with PI AF

k.

can see the ta

ok up the Laswith a Table Lhen the WPU_

the elements.

able imported

st MaintenancLookup Data _ID is equal t

d.

ce date with aReference to

to the elemen

a new attribut our New Lin

nt name…

e Last nked

 

Element R

Create a PWPU nam

Create a n

Select all

Use the mto display

Relative Disp

PI Processboome/number, an

new display, s

of your elem

menu next to Ty.

lay for the In

ok element relnd other impo

select “elemen

ents by search

Tag search an

There aincludin

MaintScwhetherturbine.

Lastjobmainten

Optionafor thes

formation

lative displayortant data in

nt relative dis

hing for them

nd Element Re

re other fieldng.

ched – a Boor maintenance

Code – a strinnance on the e

al – you can me interesting p

y to show the an element re

splay” (the las

m (WPU* in th

elative to sele

Final

s in the datab

lean (True/Fae has been sch

ng with the joeach turbine

make table dapieces of data

KWh Generaelative display

st item on the

he element na

ect the attribu

l Exercise – A

base of interes

alse) indicatinheduled on th

ob code for th

ata lookup attra too.

ation, effectivy.

e View Menu

ame).

ute values you

Wind Farm in

Pag

st

ng his

he last

ributes

veness,

u).

u want

PI AF

ge 125