Download as pdf or txt
Download as pdf or txt
You are on page 1of 133

Building PI System Assets and Analytics

with PI AF
Version 2010


OSIsoft, L
777 Davis
San Leand
Tel: (01) 5
Fax: (01)
Web: http

OSIsoft A
OSIsoft E
OSIsoft A
OSIsoft C
OSIsoft, L
OSIsoft J a
OSIsoft M
OSIsoft d
OSIsoft F








Copyright:
No part of th
means, mec

OSIsoft, the
Framework
BatchView,
RLINK, RtA
All other tra

U.S. GOVE
Use, duplica
license agre
applicable. O

LLC
s St., Suite 25
dro, CA 9457
510-297-5800
510-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 m
hanical, photoco
e OSIsoft logo an
(PI AF), IT Mon
PI Data Service
Analytics, RtBas
ademarks or trad
ERNMENT RIGH
ation or disclosu
eement and as pr
OSIsoft, LLC.
50
77 USA
0
6
sisoft.com
rth, Australia
H Frankfurt,
Singapore
Montreal &
ntative Office
okyo, J apan
R.L. De C.V
emas Ltda. S
Paris, Franc
SIsoft, LLC. All
may be reproduc
opying, recordin
nd logotype, PI A
nitor, MCN Hea
es, PI Event Fram
seline, RtPortal,
de names used he
HTS
ure by the U.S. G
ovided in DFAR


Germany
Calgary, Can
e Shanghai,
. Mexico Ci
Sao Paulo, Br
ce
l rights reserved.
ced, stored in a re
ng, or otherwise,
Analytics, PI Pro
alth Monitor, PI
mes, PI Manual
RtPM, RtRepor
erein are the prop
Government is su
RS 227.7202, DF
nada
Peoples Rep
ity, Mexico
razil
.
etrieval system,
without the prio
ocessBook, PI D
System, PI Activ
Logger, PI Profi
rts and RtWebPa
perty of their res
ubject to restricti
FARS 252.227-7
public of Chin
or transmitted, i
or written permis
DataLink, Proces
veView, PI ACE
fileView, PI Web
arts are all tradem
spective owners
ions set forth in
7013, FAR 12.21
na
in any form or b
ssion of OSIsoft
ssPoint, PI Asset
E, PI AlarmView
bParts, ProTRAQ
marks of OSIsof
.
the OSIsoft, LL
12, 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 man
from http:
required.
PI System Asset
to Use th
uals, Learnin
://techsupport
ts & Analytics w
his Wor
ng workbooks
t.osisoft.com
with PI AF
rkbook
, and other m
. Login to an

E
de
N
p
Thr
you
wit
cha
Th
tim
lea
han
ith
Icons hel
themes, l
tools, tip
doc men
materials used
n OSIsoft tech
ach Main Hea
escribes a hig
l bl l i
New concept
presented as l
h di
Your object
skills you ca
l i hi
roughout the
u will be prese
th questions a
allengestohe
e majority of
me will be spe
arning new sk
nd-son exerci
h i ll
lp you identif
like exercises
s, or
ntation
in class can b
hnical suppor
ading
gh-level
i i
ts are
level 2
tives are
an expect to
class
ented
and
lpyou
f your
ent
kills via
ises,
fy
,
be downloade
rt account is

ed

Software
The list be

Software
PI System






e Versions U
elow describe
m
Used in this
es the softwar


Document
re versions us sed in this verrsion of the coourse.
Version
2010



Pa

age iii

Table
1.
2.
3.
4.
5.
e of Con
PI S
1.1
1.2
1.3
1.4
1.5
1.6
1.7
1.8
1.9
1.10
1.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 P
Assets and
Directed E
Directed E
Connectin
Directed A
Exercise
Time and P
Directed E
0 Finding Da
Exercise
Asset Framew
Key featur
Directed A
Where are
PI AF Units
Server Based
Performan
Directed A
Solo / Grou
Directed A
Solo / Grou
Expressio
The PI Tota
Solo / Grou
Notifications
PI Notifica
Directed A
Notificatio
Directed A
Directed A
Solo / Grou
ACE ...............

cs ..................
PI System? ..
d PI Points
Exercise As
Exercise Da
g to a PI Sys
Activity Con
Create a Ne
PI ..................
Exercise PI
ata ................
Finding Dat
works (PI AF
res of the PI A
Activity Tan
my Assets?
s of Measure
d Calculation
nce Equation
Activity Che
up Exercise
Activity Con
up Exercise
ns ................
alizer............
up Exercise
Triggering
tions Questi
Activity Inst
n State Grou
Activity Trig
Activity Not
up Exercise
.....................
......................
......................
The Basic B
ssets Defined
ata Types......
stem ..............
nnections .....
ew Connectio
......................
Times ..........
......................
ta ..................
) ....................
AF System: .
nks ................
? A Discuss
e ....................
Engines ......
Syntax & Pe
ecking out P
Applying P
nfiguring the
Building P
......................
......................
Build Com
& Filtering ..
ons (Group)
tallation of P
ups & States
ggering and S
tifications Te
Another Ta
......................
.....................
.....................
Building Bloc
d ...................
.....................
.....................
.....................
on to a PI Se
.....................
.....................
.....................
.....................
.....................
.....................
.....................
sion, Part 1 .
.....................
.....................
erformance E
EReference.
PI PE Syntax
e PIPESched
PI PE tags fro
.....................
.....................
mmonly Used
.....................
) ....................
PI Notification
(& Global C
Scheduling .
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
.................... 4
h the PI-ICU 4
PE
.................... 5
.................... 5
r Tags ......... 5
.................... 6
.................... 6
) .................. 6
n) ................. 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 A
Directed A
Directed A
The PI Mod
Solo / Grou
Group Que
ifications Pa
Group Que
PI Notifica
PI Notifica
PI Notifica
Subscripti
MyPI and P
Acknowled
re PI AF ........
PI AF Obje
Directed E
PI AF Vers
Directed E
PI AF Adva
Group Exe
Group Disc
manageme
al Exercise
with PI AF
ACE? What a
Activity Pre
Activity Sim
dule Databas
up Exercise
estions Wh
rt 2 ...............
estions Ch
tions Deliver
tions Conten
tions Contac
ons applyi
PI Notificatio
dgements, C
.....................
ect Security .
Exercise AF
sioning .........
Exercise Ele
anced Temp
ercise: Speed
cussion W
ent. ...............
A Wind Farm
are its limitat
paring for th
mple PI ACE C
se Context
PI ACE wit
hich Calculat
......................
ecking on ou
ry Channels
nt and Messa
cts, Active D
ng this to yo
ons in PI Clie
Comments, &
......................
......................
F Objects Se
......................
ement Versio
late Design ..
dys Pizza A
Where are my
......................
m in PI AF ....
tions? ..........
he Exercises
Calculation .
t Before PI-A
th Context ...
tion Should I
.....................
ur tank notif
....................
age Formatti
Directory, & S
our notificati
ents ..............
& Escalation T
.....................
.....................
curity ..........
.....................
oning ...........
.....................
Advance Tem
assets, part
.....................
.....................
.....................
.....................
.....................
AF ..................
.....................
I Use? (Disc
.....................
ications .......
.....................
ing ................
Subscription
ions ..............
.....................
Teams .........
.....................
.....................
.....................
.....................
.....................
.....................
mplate Desig
t 2 / PI AF sy
.....................
.....................
.................... 7
.................... 8
.................... 8
.................... 8
.................... 8
cussion) ..... 8
.................... 9
.................... 9
.................... 9
.................... 9
s ................. 9
.................... 9
.................... 9
.................... 9
.................. 10
.................. 10
.................. 10
.................. 10
.................. 10
.................. 10
gn ............. 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 Sy
your data
your data
with clien
These are
Data is co
The data i
from the P

System
What is a P
es
Define the com
Draw a diagra
The PI System
ystem collects
sources to on
sources and s
nt tools.
generally the
ollected from
is sent to the P
PI/AF Servers
Basics
PI System
mponents of a
am of the arch
m Described
s, stores, and m
ne or more PI
send it to the
e parts involv
the source by
PI Server (As
s by the Clien


?
a PI System
hitecture of a
manages data
Interface No
PI Server. Us
ved in a PI Sy
y the PI Interf
sset data can b
nt tools.
PI System
a from your p
odes. The Inte
sers get data f
stem:
face program
be contained
lant or proces
erface Nodes g
from the PI S
hosted by the
in the PI AF
ss. You conne
get the data fr
erver and dis
e Interface No
Server). It is
PI System B
P
ect
from
play it
ode.
s read
Basics
Page 1

Building P

Page 2


1.1.2 A
Sometime
interfaces
The PI Se


In many c
levels.
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 v
to 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 custom
reads that PI
ramework
rganization, a
mers have as fe
Server 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
metadata
monitored
familiar w
technical
associated

Assets and
es
Define an AF
Define the fou
Define a Tag a
Define the dif
What is an As
sset Framewo
a that is usua
d. Assets can
with tags. Usi
details of eac
d with a speci
PI Points
Asset and its
ur attribute typ
and the attribu
fferent data ty
sset?
ork (AF) Serv
ally organized
n be helpful to
ing assets they
ch piece of eq
ific piece of e
Tag


s The Bas
s components
pes: Static (N
utes Tag Nam
ypes that can b
ver is a part of
d according to
o users of the
y can find the
quipment. Ass
equipment.
s
sic Buildin
the element a
None), PI Poi
me, Descripto
be stored in P
f the PI System
o the assets co
PI System wh
e data they ne
sets are also h
Asse
ng Blocks
and the attribu
int, Formula,
or, and Point S
PI Tags
m. It contain
ontaining the
ho do not kno
eed without un
helpful in find
ets
in the PI S
utes
and Table Lo
Source.
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

Yo
step
cha
Description
he type of obj
four types of
ts & Analytics w
xercise A
u are invited
ps at the same
apter or sectio
jects in the PI
f Attributes, li

with PI AF
Assets Def
to watch wha
e time to expl
on.
I AF Server.
ist them here:
fined
at the instruct
lore the differ
:
tor is doing or
rent concepts
r perform the
presented in
same
this


1.3.1 W
It is a uniq
measurem
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 p
ment. 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 i
een the tradit
es of Data Ca
much everythin
Off, Red/Blac
ber, 32 bits (si
s (0 to 32767
he range 1-J an
up to 976 byt
s (-21474508
nt number, 16
ber, 64 bits (d
6 characters


in the PI Data
ional 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)
J an-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 ta
are often u
purposes.
Tag Nam
Unique na
conventio
For examp
M03_E1P

________
Descripto
This is the
place of th
sort of abb
PointSou
All tags ar
This mean
by searchi
point sou
PI System Asset
Directed E

Yo
step
cha
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 of
used in client
me
ame of the PI
on. Sometim
ple, try to det
P2_MOTDR
____________
or
e human-frien
he tag name w
breviation con
urce
re related to t
ns that in man
ing for all tag
urces in use a
ts & Analytics w
xercise D
u are invited
ps at the same
apter or sectio
ta that might b
ure Sensor __
_________
___________
_________
ation: ___
a server: ___
eaction:
___
oint Attribut
f attributes th
t tools. Most o
point used to
es knowing th
termine what
V1202_RUN
___________
ndly descripti
when the tag n
nvention and
their interface
ny cases you c
gs of a certain
and that will
with PI AF
Data Type
to watch wha
e time to expl
on.
be associated
__a floating p
____________
___________
____________
___________
___________
_______
___________
tes and Why
hat define it. T
of these attrib
o search for ta
he naming co
the following
NSTAT
___________
ion of the PI T
name is not in
the descripto
es that collect
can find all o
n PointSource
not be true i
es
at the instruct
lore the differ
d with each of
oint value___
___________
____________
___________
____________
____________
___________
____________
They are Im
There are som
butes are used
ags. Most tag
onvention can
g tag may refe
____________
Tag. It is ofte
ntuitive. Very
or is used to c
t the data by a
f the tags asso
e. This assum
n most situat
tor is doing or
rent concepts
f the following
_
__________
___
__________
___________
___________
___________
___________
mportant to Y
me common t
d for display o
gs are built us
n be helpful in
er to:
_______
en used as a s
y often the ta
apture the fu
an attribute ca
ociated with a
mes that the
tions.
r perform the
presented in
g:
______
____
___________
____
You
ag attributes t
or information
sing a local na
n searching fo
search criteri
ag name is som
ull name.
alled PointSo
a particular d
user 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 e
Framewor

Connecting
es
Describe the d
Connect to a P
Examine your
Connect to a P
Create a New
Cleanup Conn
What do we c
either be look
rk (AF) Serve
g to a PI S
different ways
PI AF Server
r connected cr
PI Server
Connection t
nections in the
onnect to?
king for data i
er or for tag d


System
s we can conn
redentials
to a PI Server
e Known Serv
in the PI Syst
data in a PI Se
nect to a PI Sy
r
ves Table
tem that is exp
erver.
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 t
con
inst
or 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 th
ncepts present
tructor is doin
hold a quiz. Y
as your instru
rvers.
tem Explorer:
___________
___________
orer:
PI System > P
ility:
PI System > P

with PI AF
Connection
he class you w
ted in this cha
ng or perform
Your instruct
uctor shows y

____________
___________
PI System Ex
PISDKUtility
ns
will perform a
apter or sectio
m the same ste
or will have d
you how to va
_____
____________
xplorer
y
a learning acti
on. You may
eps at the sam
directions.
alidate conne
_____
ivity to explor
y be invited to
me time. You
ctions to PI D
re the differen
o watch what
may play a g
Data
nt
t the
game

1.6.1 C
When you
software i
of the serv
You can s
upper left
The Selec
down alon
To connec
AF Server
When con
Connecting to
u install the P
installation (s
ver (hostname
see which PI A
t.
ct Database di
ng the top).
ct to a differe
r..
nnecting to an
o a PI Asset F
PI System Clie
some program
e or IP addres
AF server you
ialog box will
ent PI AF Serv
nother PI AF

Framework S
ent, either as
ms install the P
ss) and creden
u are connect
l show you w
ver click the e
Server you w
Server
a new installa
PI 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 g
the dialog
that mach
what it loo
Note: The
have neve

PI System Asset
Examining Cr
way to determ
ple) and look
Connecting to
get to the PI C
g box is invok
hine. PI Conn
oks like.
e first time a P
er configured

ts & Analytics w
redentials for
mine your con
to the status b
o a PI Server
Connection M
ked it will disp
nection Mana
PI application
a PI Server a
with PI AF
r the PI AF S
nnected crede
bar.
r
Manager from
play all of the
ager is part of
n is installed a
at least one sh
Server
entials is to cr
m any numbe
e PI Servers th
f the applicati
a default PI S
hould appear i
reate somethin
er of places in
hat have been
ion PI SDK U
Server is selec
in your PI Co
ng (a new ele
n the system.
n configured f
Utility. Below
cted. This is w
onnection Ma
ement

When
from
w is
why, even if y
anager.

you

What is m
used. Exa
Note: Th
1.6.4 C
Unless dir
PI3 and 5

most useful is
actly how you
his is particula

Mos
Plea
Create a New
rected otherw
5450. Other s
which PI Ser
u are connecte
arly useful if y
st user guides
ase consult the
Connection
wise leave the
selections are

rver(s) you are
ed is displaye
you are havin
have a sectio
e user guide f
to a PI Serv
Connection T
for legacy sy
e currently co
ed in two plac
ng permission
on describing
for your appli
er
Type and the
ystems.
onnected to an
ces.
ns issues.
connection to
ication for det
Port Number


nd the creden
o the PI Serve
tails.
r respectively
PI System B
Pa
ntials
er.
y to
Basics
age 11
Building P

Page 12

1.7 E
Problem
You are n
the corpor
Your Instr

Network N

Default U

Password


Approach
Using the
above cre
Write in t




PI System Asset
Exercise

Yo
step
cha
Description
new to the PI
rate PI Server
ructor will giv
Node: _____
User Name: __
: _________
h
About PI-SD
dentials using
he space belo
ts & Analytics w
Create a N
u are invited
ps at the same
apter or sectio
System and n
r.
ve you the cr
____________
___________
____________
DK item from
g the PI Conn
ow how you k

with PI AF
New Conn
to watch wha
e time to expl
on.
need to famili
edentials to u
___________
___________
___________
m your Windo
nection Man
know you are
nection to
at the instruct
lore the differ
arize yourself
use:
___________
____________
__________
ows Start Men
nager.
connected:
a PI Serve
tor is doing or
rent 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 in
timestamp
coordina
The secon
floating p
timestamp
on exactly
the server
whenever
1.8.2 T
When you
times. Yo
will be be
this sectio
1.8.3 T
Absolute
Absolute
A
A
A
A
A date or
for Micro
Note: If n
assume m

Time and P
es
Define the tim
Explain Absol
Explain Relati
Explain how P
Time Defined
n PI is time-st
p and the prim
ate time the
nd part of the
oint value wh
ps in PI are bo
y the same roc
r and used in o
r a timestamp
Time Choices
u search for d
ou should use
etter than othe
on.
The Absolute
Time (a spec
time refers to
A time alone
A date alone
A date and tim
A PI Time ab
time can be a
soft Window
no date is spe
midnight.
PI
me choices in
lute Time in P
ive Time in P
PI handles tim

tamped in the
mary index fo
e number of s
time stamp (w
hich reflects th
oth quick and
ck-solid basis
our client pro
is displayed

data in the PI S
e the one that
ers. They are
Time Forma
cific point in
o a specific po
e
me combined
bbreviation
a either the W
s) or the PI T
ecified the sys

PI: Absolute
PI
PI
mes zones and
e interface wi
or time is a ve
seconds since
which is also
he fractional
d precise and a
s. This two p
ograms and an
it is shown
System, you h
is 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 intege
J anuary 1, 19
indexed whe
part of the se
all time data i
art timestamp
nalytical prog
in a local for
have two cho
you althoug
rstand and rem
in time. This
format (conf
dd-mmm-yy H
ume today. If
e
timestamp. F
er which repre
970 in Greenw
en used) is a v
econd. In this
in PI servers
p is maintaine
grams directly
rmat of the en
oices: absolute
gh you will d
member, and
s can be:
figured in the
HH:mm:ss.00
f no time is sp
First part of th
esents the UT
wich Mean ti
very precise
s way all
everywhere i
ed (not altered
y. However,
nd users choo
e and relative
discover that s
d are described
Regional Se
0000)
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 :
Combine
t + 8h
Relative T
Secon
Hours
Days
Years
Note: Th
+2.5h or
1.8.5 H
The short
When we
called Gre
adjustmen
machine c
Also, beca
viewed in
tool.
PI System Asset
e the Commo
* represents N
T represents to
Y represents y
Monday or M
hree letters)
The Relative T
Time (time is
e time is simp
A half hour fr
Yesterday 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 w
eenwich Mea
nts for time, s
clock of the u
ause the clien
n either Serve
ts & Analytics w
on PI Time A
NOW
oday at midni
yesterday at m
on 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 a
8 hours
of Measure:
Minutes (m
Weeks (w)
Months (m
ault time unit.
Adjust for tim
e dont!
we convert it
n Time (GMT
such as timezo
user looking a
nts and PI Ser
r 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 (Uni
T). This mean
one or Daylig
at the data.
rver know wh
lient Time. T
s?
midnight (or a
me)
ve to the pers
and a unit of m
Times toget
ute and Secon
d DST?
versal Coordi
ns that each d
ght Saving Tim
hat timezone t
This is determi
another specif
son. For exam
measure.
her)
nd intervals c
inated Time),
day has exactl
me (DST), ar
they are in, th
ined by a sett
fied day or its
mple:
can use fractio
, or what used
ly 24 hours. A
re made by th
he data can be
ting 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

Yo
sam
Description
e the real d
Abbrevia
* - 30m
y +8h
T
Y
12 8:
Thursday
* +1h (w
useful?)
Tuesday
he following t
Abbrevia
Today at
Monday a
12 hours a
The first d
month
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 wha
plore the diffe
es indicated by
Answer








d PI time abbr
Answer







eviate 8 am t
at the instruct
ferent concept
y the PI Time
reviations:
today?
tor is doing or
ts presented in
es in the table
r perform the
n this chapter
e below:
PI System B
Pa
same steps a
r or section.
Basics
age 15
t the
Building P

Page 16

1.10 F
Objective
D
D
E
1.10.1 F
Most PI a
Attributes
value), or
Elements
Below are


PI System Asset
Finding Da
es
Demonstrate t
Demonstrate t
Examine Tag
Finding data i
applications w
s. When you
any other key
are Assets. E
e examples of
ts & Analytics w
ata
the ability to f
the ability to s
Attributes an
in the PI Ass
will give you t
drill down to
y 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 y
n.
butes reflect t
ts..
data within th
gs
alues
rk Server
searching for
you 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 maj
have look


The advan
other data

jority of cases
ked at tag data
ntage to using
a is associated
s, you will be
a.
g elements an
d with an asse


e looking at da
nd attributes o
et something
ata contained
over tags is tha
g you cannot
d in elements,
at you can cle
determine us
just as you w

early see wha
sing tags,
PI System B
Pa
would
at
Basics
age 17
Building P

Page 18

1.10.2 S
Tag Sear
types of s
B
A
A


Basic and
B
A
They both
Note: Al
asset struc
to find da
Most of th
Tag Mask
This can a
or you are
However,
Descripto
Descripto
tags. For e
read as Re
comparing
Point Sou
Point Sou
and how t
Point Sou
tag names
Variation
PI System Asset
earch for Ta
ch is one of t
earch:
Basic
Advanced
Alias
d Advanced do
Basic allows y
Advanced allo
h produce the
ias Search us
cture for most
ta.
he tag searche
k
also be called
e very familia
, most people
or
r is not a requ
example, a te
eactor 65 Ope
g text strings,
urce
urce can be ex
the interfaces
urce. So if you
s 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 Mod
t applications
es will be filte
d Tag Name.
ar with the tag
do not have t
uired tag attri
mperature tag
erating Temp
, and so can b
xtremely helpf
have been se
u know what d
n bring up a li
with PI AF
mon function
hing, just in di
using commo
arch using a S
.
dule Database
s beginning w
ered in one of
If your organ
gs in your plan
that luxury. M
bute, but it is
g might be TC
. The downsi
be fairly inten
ful, but it doe
et up. Each de
device you w
st of all of the
ns that users w
ifferent ways.
on criteria thro
SQL like synt
e (MDB). Th
with PI Server
f three ways:
nization has a
nt, then your
Most of us hav
the one that
C365674A.pv
de to searchin
nsive on your
es require cert
evice interface
want data from
e tags that are
will perform.
.
ough a define
tax.
he PI MDB is
r 2010. Users
convenient n
job of search
ve to use som
many people
v but the desc
ng by Descrip
computer pro
tain knowledg
e will be labe
m, but you are
e associated w
There are thr
ed menu
s no longer us
s should use th
naming conve
hing will be ea
me other criter
use to find th
criptor might b
ptor is that it i
ocesses.
ge of the PI S
eled with a sp
e not sure wha
with that devi
ree

sed as the mai
he 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
Advanced
need. In c
Note: On
manually.

Some app
example,
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 will
the Tag Sear
web 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 different
rch function o
ure 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, but
on PI WebPa
looks slightly
the above sear
e in this exam
w_meter3
mple:
SQL Query s
ecific than th
efault. To use
t they all acco
arts (formerly
y different
rches.
mple:
syntax to find
he Basic Searc
e the OR oper
omplish the sa
y RtWebPart
d the tags they
ch.
rator select th
ame functions
ts) 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 w
called 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 informa
tem Managem
with PI AF
Using a Com
store data is a
d how to actu
g, and click Pt
ation see PI P
ment Guide, pp
mon Dialog W
all determine
ually see the ta
t.Attr.
Point Classes
p. 21).
Window
d by a tags c
ag attributes?
and Attribute
configuration
?

es (PI Server 2

2010

1.11 E
Objective
D
Problem
You need
Note: Yo
instructor
Approach
Answer th
will give y

What is th

Where is t

How man

How man

How man

How man
Class is 'B

Which Da

Exercise

Thi
top
assi
es
Discover Data
Description
d to familiariz
ou must use th
will give you
h
he following q
you appropria
he current hea
that asset loca
ny flow meter
ny seem to be
ny tags are the
ny tags appear
Base' in the A
ata Search me
Finding D
is is a solo or
ic area. Your
istance during
a in the PI Sys
e yourself wit
he Training S
u alternate det
questions usin
ate details):
ad pressure of
ated? ______
s do I have in
working at th
ere that begin
r where the C
Advanced Tag
ethod do you

Data
group activit
r instructor w
g the activity.
stem
th the princip
Sample AF D
tails for the e
ng either the P
f the asset YU
___________
n Montreal? _
he moment? _
with the lette
ompression D
Search?
prefer?
ty that is desig
will have instru
.
ples of searchi
atabase for th
xercise below
PI AF Explor
UL Pump 009
____________
___________
___________
ers BA:?___
Deviation is g
___________
___________
gned to maxim
uctions, and w
ing for data.
his exercise.
w.
rer or tag sear
9? ________
___________
____________
___________
____________
greater than 1
____________
____________
mize learning
will coach yo
If this is not
rch (your inst
____
_______
_
__
______
and the Point
___
__________
PI System B
Pa
g in a specific
ou if you need
available you
tructor
t
Basics
age 21
c
d
ur
Building P

Page 22

2. PI A

Many PI s
the instrum
have been
engineerin
sources m
these sour

And now
crews from
sites whic
been insta
using diff
PI System Asset
Asset Fr
sites have PI
mentation is i
n rigorous tag
ng unites. PI
may not have b
rces.
many compa
m multiple sit
ch may have a
alled on differ
ferent units of
ts & Analytics w
ramewo
data based on
intended for f
g naming stand
I is often used
been configur
anies want to c
tes they wa
a common pro
rent control /
f measure ev
with PI AF
orks (PI
n instrumentat
functionality,
dards, There
d to integrate
red consistent
compare perf
ant a collabora
ocess. Howev
automation s
ven speaking
AF)
A data
Objec
repres
assets
The e
midd
trans
inform
tion. Often th
not quality o
may be miss
information f
tly. The PI ta
formance of e
ative work en
ver, their inst
ystems by dif
different lang
abase of user
ct Models ca
sent the logic
s in your pro
elements form
dle layer for
forms PI dat
mation.
he configurat
of information
sing descriptio
from differen
ags are often
equipment, pro
nvironment be
trumentation
fferent engine
guages
r configured
alled elements
al component
ocess.
m a data direct
PI clients wh
ta into
tion informati
n. There may
ons and/or
nt sources and
built directly
ocedures, and
etween a fleet
systems often
eering system
Process
s which
ts the
tory
hich
ion in
y not
d these
y from
d
t of
n have
ms,


What PI A
make com
instrumen
comparab
more intu

A PI Syst

Asset Framew
mparable thing
ntation data an
bility in proce
uitive, organiz
em that think
works (PI AF)
gs comparabl
nd configurat
sses from dis
zed access to p
ks more like y


) can offer is
e and correct
ion. This allo
similar instru
process data
you do
normalizatio
the inconsist
ows organizat
umentation an
on and conte
tencies and di
tions and eng
nd control sys

PI Asset F
ext. The abili
iversity 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
up
se
ho
la
2.1.2 U
A
da
In
P
ca
In
in
M
2.1.3 E
Su
fl
Pu
Su
C
da
2.1.4 R
P
th
V
T
cl
A
ba
PI Asset F
the next s
PI System Asset
Key featur
calable
p to ten milli
ervers
osted in 32 &
arge scale SQ
Useable by ev
A flexible hier
ata multiple w
ntegrated easy
owerful tem
alculations
ntegrated to o
ntuitive ways.
Microsoft integ
Extensible a
upported by
lexible SQL &
ublished PI A
upports our P
Customers and
ata recipients
Reliable a g
I AF HA (hi
here
Very compatib
The best of M
lass (& world
A disciplined
ackup, detaile
Frameworks
tep for all PI
ts & Analytics w
res of the P
ion assets wit
& 64 bit Micro
LServer farm
veryone
rarchy and p
ways
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 SQL
d wide) suppo
store for you
ed integrated
(PI AF) is no
users and app
with PI AF
PI AF Syst
th reference t
osoft O/Ss &
ms with mirror
owerful searc
ulations and lo
ort discipline
ssbook, PI Co
alidated securi
or other appli
Enterprise a
dards.
I Analytics SD
ns alerting an
n create custo
annels) with M
ent for the lo
ty) assures th
proven PI Serv
LServer & OS
ort
ur enterprise
security, and
ot a special pu
plications. 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 calculatio
Microsoft Vis
ong haul
he AF director
ver HA techn
SISoft engine
s process kn
record lockin
urpose add-on
is the PI Syst
ndred PI tags
compatible w
xing support p
ntenance for
Datlink 2012
service query
ning and supp
ring applicatio
ons (data refer
sual Studio (C
ry and AF inf
nology.
ered software
nowledge that
ng collaborati
n to the PI Se
tem all will u
s across multi
with SQLExpr
provide for f
relationship
2 & PI Webp
y capabilities
port on VCam
on
rences) and f
Csharp or VB
formation is a
e quality and
t offers versi
ion.
erver. It repr
use 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
D
el
C
C
E
C
C
L
C
m
C

Approach
Follow yo
but follow

Directed A

In t
diff
inv
the
hav
Objectives
Create an elem
Define the valu
lement templa
Create and pop
Create an elem
Extend the tem
Create an enum
Create an AF e
Learn how to b
Create more el
method
Create a PI Pro
h
our instructor
w closely and
Activity T
this part of th
fferent concep
vited to watch
same time. Y
ve directions.
ment with PI p
ue types and u
ate.
pulate a new A
ment template
mplate with ne
meration set w
element from
build a basic h
lements with
ocessBook di
to perform th
listen to the i


Tanks
he class you w
pts presented i
h what the inst
You 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 s
information in
will perform a
in this chapte
tructor is doin
y 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 w
n this initial e
a learning acti
er or section.
ng or perform
hold a quiz. Y
rmula data ref
utes in the ele
e effect the ori
alidation in a
he template tr
will work ind
exploration of
PI Asset F
ivity to explor
You may be
m the same ste
Your instructo
ference attrib
ement and in
iginal elemen
template
ransposed attr
dependently la
f 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 S
Server) th
PI System
program
in the libr
button bar
selected in
Create a
lastname
If the sys
but rather
selection m
Database
MyAFDB
PI System Asset
Configure a
System Explo
hat your instru
m explorer off
the upper le
rary). The mi
rs are context
n the navigato
new databas
.
stem explore o
r you get a pop
menu below.
e or click on t
B_first initial a
ts & Analytics w
an AF Datab
orer from the s
uctor indicate
fers many reg
eft browser wi
iddle area, V
t sensitive and
or panel.
se in the PI Sy
opens, choose
p-up click o
Right click a
the New Data
and lastname
with PI AF
base and ele
start menu an
s.
ions: Use the
ill show your
Viewer is the
d will change
ystem Explor
e File Data
on the Select
anywhere in t
abase button o
(example: M
ement
nd if need be c
e lower left N
elements (or
primary wor
depending on
er named My
abase, If the s
t option, and
the list of data
on the button
MYAFDB_J Do
connect to the
Navigator Pan
r templates an
rk area. Both
n what you ar
yAFDB_first
system Explor
d you should s
abases and ch
bar. Name
oe) and click
e PI System (
nel to move
nd other refere
h the pull dow
re doing and
t initial and
rer does not o
see the databa
hoose New
the database
the OK butto
PI AF
around in the
ence items wh
wn menus and
what youve

open
ase
on.
e
hen
d

Make sure
or double
About Da
For conve
fewer, lar
possible t
database a
AF.

The Confi
If you are
database i
it is only

Create a n
From the
or select t
In the gen
e the database
click on it to
atabases
enience in our
ger databases
o compare ele
at the busines
figuration Dat
e an administr
instance in th
y shown to ad
new element c
left hand men
the New Elem
neral tab whic
e is selected i
open your da
r classes we w
s because re
ements and v
ss unit and no
tabase
rator, you will
e PI AF Expl
dministrators
called Tank A
nu, select Elem
ment Button fr
ch opens, chan

n the list of a
atabase.
will all have o
eferences in P
alues across d
t the plant lev
l see by defau
orer. This da
and client too
A.
ments you ca
rom the butto
nge the name
available datab
one database
PI AF are only
databases. Co
vel. J ust reme
ult a database
atabase is call
ols will not se
an right click o
n bar.
of the elemen
bases and clic
but in pract
y within the c
ompanies ma
ember: The d
available to y
led Configura
ee this databa
on this and se
nt to Tank A.
PI Asset F
ck the OK bu
tice it may be
current databa
ay find it bette
database is t
you when cre
ation. Do not
ase.
elect New Ele
.
Frameworks (P
Pa
utton
better to buil
ase it is not
er to organize
the universe i
eating a new
t use this data
ement
PI AF)
age 27

lt
e
in PI
abase
Building P

Page 28

The eleme
relationsh
Elements
The eleme
organizati
elements t
on a temp
Elements
named T
under Sy
possible, t
necessary
character.
mark.
Click on t
choose Ne
element.

With the A
PI Point.


PI System Asset
ent is the basi
hips with othe
are generally
ents represent
ions, sites e
that represent
plate or made
in a PI AF D
Transformer u
ystem 2 but y
there is some
y. The name o
Invalid char
the Attributes
ew Attribute t
Configure th
Attribu
Level
Volume
Capacit
Attributes tab
Click anywh
ts & Analytics w
ic building bl
er elements an
y organized hi
t physical or l
even events li
t the same pie
without a tem
atabase must
under and ele
you cant hav
sense in uniq
of the elemen
racters includ
s tab and then
to define attri
he attributes a
ute Name
e
ty
b selected, sel
here on the scr
with PI AF
ock of PI AF
nd search char
ierarchically,
logical entitie
ike batches or
ece of equipm
mplate altho
be uniquely n
ement named
ve two elemen
quely naming
nt must start w
de: the semico
n right click o
ibutes. We w
as described b
UOM
% (Ratio c
m
3
(Volume
US Gallons
ect the Level
reen and then
it is an org
racteristics
though this is
es in your pro
r transfers
ment or event w
ough you will
named to thei
System 1 a
nts named Tr
g all elements
with an alphan
olon, quotation
on the attribu
will be making
below:
lass)
e class)
(volume)
l attribute and
n click the Set

No
In
(o
th
cli
Th
ganizing featu
but it doesnt
s not required
ocess: equipm
There may b
within an AF
see that temp
ir path. That
and another e
ransformer u
regardless of
numeric chara
ns of any kin
ute pane (the w
g three attrib
Value
Type
Double
Double
Double
d change its d
ttings button.
ote the PI ser
n the Tag nam
or search for it
hat looks like
ick the OK b
his should ret
ure like a fol
t have dynam
d.
ment, lines, pro
be no reason t
F database T
plates are high
is you can ha
lement named
under the sam
f hierarchy, bu
acter, the %
nd, brackets, a
white space) a
butes in the n
Value


20,000
ata reference
.
rver at the top
me field, enter
t with the tag
a magnifying
button
turn the value
lder. So it ha
mic values itse
oducts, system
to ever have tw
They can be b
hly recomme
ave an elemen
d Transform
me element.
ut this is not
or the _
and the questi
and
new
0
to a
p of the panel.
r BA:Level.1
g search button
g glass) and
e from PI
as
elf.
ms,
wo
based
ended.
nt
mer
If
on
.

n

Select the
Referenc
Assign tw
L = Level
C = Capa
meters fo
In the righ
L / 100 *
Click OK

Attributes
have a con
e Volume Att
e When you
wo parameter
l (attribute)
acity (attribu
or the purpose
ht panel, enter
C
K to close the p
s must also be
nfigured, con
tribute and fr
click on the s
rs (letter varia

ute) when sele
e of the calcul
r the equation
panel, note th
e uniquely nam
nstant value or

rom the right
settings button
ables) (click
ecting this c
lation.
n;
he parameter d
med along the
r can get a va
hand panel se
n youll see th
Note: When
reference, es
measure con
UOMs for th
explicitly. D
configuration
UOM from t
this also in th
on )
change the U
definition and
eir path withi
alue dynamica
elect the Form
he AF Formu
n configuring
specially one
nversion, it is
he inputs and
Do this in the p
n section by c
the Unit of M
he Result sect
Unit of Measu
d equation in
in the elemen
ally from a da
PI Asset F
mula Data
ula Wizard
a formula dat
involving uni
usually best t
result are spe
parameters
choosing the
Measure drop d
tion at the bo
ure to cubic
the settings s
nt they belong
ata 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 the
from the
Saving
Check i
PI System Asset
Refresh but
menus File
Work
in and Out
ts & Analytics w

tton on the bu
Check In t

The PI
holds c
others
When y
publish
Until y
locked
marks i
elemen
change
and set
with PI AF
The con
attribute
PI datab
referenc
utton bar an
to save these
AF Server ha
changes that y
saving them
you Check I
hed sandbox a
you check in-
d and will no
in the browse
nts which are
es button nex
t your sandbo

nfiguration ite
e is intended t
base and will
ce.
nd then the C
e changes.
as a concept o
you make ev
m even if you
In you take y
and make it th
other users w
ot be able to m
er window wh
not yet publis
xt to the check
ox back to the
Attributes ar
a value type
with program
you can do w
for most ana
string for ev
are interestin
either a zero
a False (0) a
Attributes ar
of measure.
into convert
AF is very f
UoM to ano
important fe
em click box
to be configu
not be set pro
Check in butt
of sandbox.
ven if you hav
exit and re-e
your changes
he single publ
will be told tha
make changes
hich indicate t
shed by chec
k in button w
database as i
re generally
e which will b
mming exper
well enough c
alog/numeric
verything else
ng. A Boole
o or one wh
and True (1).
re also genera
These UoM
tible / compar
flexible in con
other as neede
eature later.
and property
ured by a user
ogrammatical
ton or select t
The PI Syst
ve not yet pu
nter PI System
from the pres
lic version th
at you have th
s to them. N
that you have
cking in. T
will reset your
it was before
strongly type
be familiar to
ience. In gen
choosing a do
values and a
e, but other typ
ean, for examp
ich is represe

ally assigned
Ms are organiz
rable classes.
nverting from
ed. More on t
indicates tha
r or designer o
lly or by a dat
this
tem / AF Serv
ublished them
m Explorer.
served but no
hat others can
his element
Note the red c
e changes on
The undo all
sandbox chan
you 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 n
building a
In the P
to the li
databas
the pan
Right clic
In the Gen
Select the
2 new row
N
M
D

On the T
Table:


Simple AF
new AF table
a table in othe
PI System Exp
ibrary in the
se by clicking
e at the bottom
ck on Tables a
neral tab, cha
e Define Tabl
ws. Define th
Name
MaterialID
Density
Table tab, ent
workin
Tables in th
and name thi
er programs w
plorer navigat
current
on Library in
m left
and select Ne
ange the nam
le tab and pre
he Table as fo
V
T
S
D
ter the follow
Mater
WX12
HC15
AQ45

ng.
he Library
is 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 Properties
mple table bu
use the New
to Material
a row (table
Unit
<No
kilog
(Kg/
class
chemicals in
Dens
2100
3422
8943
s. Building th
uilding capabi
Table button)
Properties
e column) but
t Of Measure
one>
gram per cubi
/m
3
) (in the D
s)
the new Mate
sity
PI Asset F
he table is sim
ilities.

)
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 are
Table Loo
process en
configura
Tables can
data sourc
informatio
use in PI A
Create an
Materia
In the libr
Enter the


Check in
The enum
name
digital sta
state sets
sets as a v
know wha

Step 3 C

Select Ta
Convert a
but does s
PI System Asset
e held in the P
okup Data Re
ntities which
tion informat
n be created i
ce or linked d
on in a mainte
AF clients an
n AF enumer
alIDs.
rary, select En
MaterialIDs f
both newly c
meration set is
which allows
ates sets used
or maintain th
value type for
at is in a given
Configure an
ank A from
and then Con
set it to the ne
ts & Analytics w
PI AF Databa
eference to att
the elements
tion for PI AF
internally (as
dynamically to
enance, produ
nd application
ration set of t
numeration Se
from the table
Valu
0
1
2
created tables
an ordinal lis
s us to refer to
by PI digital
hem in PI AF
r PI AF attribu
n PI AF attrib
AF Element
the elements
nvert to Temp
ew template).
with PI AF
ase and PI Sys
tributes. Tab
reference or t
F.
we have don
o external rela
uction plannin
ns. More on th
the Material
ets and create
e as values in
e
by selecting
st a list of s
o either the n
tags in the PI
F. Its just a u
utes which is
bute value.
t Template
in the System
plate (note th

stem to provid
bles can provi
they can be u
e above) im
ational source
ng, or equipm
his later.
lIDs in your t
e a new enum
n the set.
Name
WX1200
HC1500
AQ4500
File Check
equential inte
ame or the nu
I Server, how
useful way to
a handy way
m Explorer an
his does not d
de contextual
ide informatio
used to store ta
mported from
e. In this way
ment database
table, call th
meration set na
k In
eger values w
umber. This i
ever you don
keep informa
to do data va
nd right mouse
delete or chang
l information
on about the e
ag names or o
an external re
y tables can
and return th
he set
amed Materia
which can be a
is very analog
nt have rebuil
ation. You can
alidation to
e click and se
ge the elemen
through the P
equipment or
other
elational or ta
n look up
hat to PI AF f
alID.
assigned a stri
gous to the PI
ld your digita
n use enumer
make sure yo
elect
nt
PI
abular
for
ing
I
al
ration
ou

Locate yo
Template
its name t
add three
it by right
selecting
template
Attribute
Then add
by clickin

A
N
D
M
P

In the tem
following

our new Elem
e in the library
to Tank Tem
new attribute
t mouse clicki
Add new att
or by using
button on the
three new att
ng on the butto
Attribute
Name
Density
Mass
Product
mplate, config
g table to conf
Table
Result Co
Where
ment
y and change
mplate. Then
e templates to
ing and
tribute
the New
e button bar.
tribute templa
on bar New
UOM
kg/L (
kg (M
<None
ure a table lo
figure the look
lumn


ates to it, by r
Attribute
(Density clas
Mass class)
e>
ookup data re
kup value:
Materia
Proper
Density
Materia
@Prod
right mouse cl
Valu
s) Doub
Doub
Enum
set: 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

Configure
the formu


Check in y
Check on
the enume
Create a n

PI System Asset
eaformula d
ula: V = V
your changes
Tank A in th
erated list. C
new element c
ts & Analytics w

data referenc
Volume D
s
he Elements se
Click the refre
called Tank B
with PI AF
Select the S
list box. S
the Result
In the Whe
the Operato
Click the A
OK button
Examine th
ce for the Mas
D = Density
ection of the
esh button.
B based on the
Settings butto
Select Materia
column
ere group box
or, and Produ
Add And butto
to accept
he Configurat
ss attribute. U
Form
System Explo
e Tank Templ
on beneath th
al Properties
x, select Mate
uct as the Attr
on to add the
tion settings.
Use the follow
mula = V * D

orer and selec
late element t
he Data Refere
s as the table a
erialID as the
ribute or Valu
where clause
wing to config
D
ct a Product fr
template
ence drop dow
and Density a
column, =as
ue
e and click the
gure
from
wn
as
e

and assign
A
N
L
V
C
D
M
P

Commit th

The Pow
The term
templates
alike sta
in object o
When cha
automatic
If changes
uniquely s
overwritte
ned to its attri
Attribute
Name
Level
Volume
Capacity
Density
Mass
Product
hese edits to t
wer of Temp
template sugg
do this and m
ay alike. The
oriented prog
anges (in defa
cally update th
s are made to
set values or c
en if those de
ibutes the foll
Data
PI Poi
Formu
<Non
Table
Formu
<Non
the AF databa
plates
gests a cookie
more for elem
y are what yo
gramming.
ault values, at
he elements w
the elements
configuration
fault values a


lowing values
Reference
int Reference
ula
ne>
Lookup
ula
ne>
ase by choosi
e-cutter like w
ments. PI AF t
ou might call
ttribute defini
which are man
s they are not
n strings in the
are set in the t
s:
Value
e Sinusoid
n/a (will
in the te
30000
n/a (will
n/a (will
formula
Select a
list.
ing File Ch
way to create
templates hel
Strong tem
tion, or struct
naged by that
replaced by c
e data referen
templates.
d
l be calculate
emplate)
l be derived f
l be calculate
in the templa
product from
heck In
new things in
lp assure that
mplates in co
ture) are mad
t template.
changes to the
nces of unique
PI Asset F
d based on th
from the AF t
d based on th
ate)
m the enumera
n a standard w
things that ar
oncept, simila
de to the temp
e template. Th
e elements t
Frameworks (P
Pa
he level
able)
he
ated set
way and PI A
re intended to
ar 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 allow
that chang
And it allo
process un
have the c
In this exa
in the nav
scratch th
Two inter
PI AF Tem
be able to
but you w
Attributes
remove an
values est
Templates
applicatio

Step 4
Create a n
and name
Select eac
and dropp
Select a P
if you dra
but it has
this noti
If you dra
dragging
If you dra
parent ele
Step 5
Use the P
PI System Asset
ws you to not
ges are applie
ows you to gr
nderstanding
complete anal
ample we cre
vigation panel
ere.
resting notes a
mplates have
make change
will no longer
s derived from
nd unique val
tablished in th
s may be the
ons in which i
Organize th
new element (
it Tank Farm
ch of your Tan
ping .. while h
Parent Child R
ag with no key
two parent el
ice that the el
ag with the Ct
Ctrl =Cop
ag with the SH
ement.
Create more
I-AF Builder
ts & Analytics w
only to create
ed to all appro
row your AF
into the temp
lysis from the
ated our temp
l and select te
about PI AF t
an allow ex
es to the struc
have assuran
m a template h
lue or configu
he template.
most powerfu
it makes sense
he tanks into
(in the elemen
m in the gener
nks and mov
holding the sh
Relationship f
y pressed you
lements the
lement icon h
trl key pressed
y
HIFT Key pre
e tanks with
in Microsoft
with PI AF
e, but to main
opriate like el
database as a
plate and it wi
e beginning.
plate from an
emplates and e
templates and
tensions clic
cture (naming
ce that your e
have a reset
uration string
ul and unique
e not to use te
o a tank farm
nts section of
ral tab of the c
ve them into th
hift key down
for each of the
u create a link
same elemen
as a link de
d you create a
essed you mov
the PI AF B
Excel to con
ntain many, m
ements.
an analysis too
ill be passed t
existing elem
element temp
d elements:
ck box on the
g and number
elements are t
to template
definition for
e feature in PI
emplates whe
m
f the PI system
central work a
he Tank Farm
n.
em.
k and the elem
nt is represent
esignator on i
a new elemen
ve (or Shift
Builder for M
nnect to your
many element
ol you can a
to all of the e
ment, but you
plates and star
general tab.
of attributes,
the same.
option on the
r this attribute
I Asset Frame
en building PI
m Explorer) w
area.
m as Child ele
ments are in bo
ted in two pla
it.
nt which is a c
) the element
Microsoft E
PI AF Server
s with the tem
add more calc
lements. You
can go direct
rt making you
If you click t
, etc..) of indi
eir right click
e and reset it
eworks. Ther
I AF elements
without a tem
ements by dra
oth places i
aces in the hie
copy of the on
t to under the
Excel
r and Databas
mplate know
culations and
u dont have t
tly to the Libr
ur template fr
this box you w
ividual elemen
menu. This w
to the default
re are few
s.
mplate
agging
t is one eleme
erarchy if yo
ne you are
e destination /
se
wing
to
rary
rom
will
nts,
will
t
ent
ou try
/

Open Mic
Database
Import y
and select
Select onl
attributes
attributes.
Select Imp
Select a S
press Sear
click OK
The next s
configura
Then click
crosoft Excel,
button and us
our tank elem
t both of your
ly the Templa
s to select the
.
port from AF
Search Root as
rch your tank
K.
screen selects
tion item from
k on the butto
, note the PI A
se this to conn
ments, select t
r tanks.
ate configura
e configuratio
F and the Elem
s Tank Farm
ks should appe
s the columns
m the element

on that says

AF Builder rib
nect to your A
the tank farm
ation for the e
ons and values
ments button a
m and/or sele
ear. Hold the
s. Press Cle
ts submenu.
Transposed
bbon menu se
AF Server and
as the root an
lement and th
s of thelevel,
and select F
ect your templ
e Shif t Key d

ear All and th

attributes
elect it. Click
d database.
nd/or the tank
hen use the T
, capacity, an
Find Elements
late Tank Te
down , select b
hen select onl

PI Asset F
k on the AF
k template to
ransposed
nd product
s from the m
emplate whe
both tanks, an
ly the Temp
Frameworks (P
Pa

search
menu.
en you
nd
late
PI AF)
age 37
Building P

Page 38


The result
product w
The res
Note in th
indicated
equal sign
reference
attribute.
or apostro
set the val
configura
Also note
PI AF Bu
Alter your
cells. Be
name and

Change
PI System Asset
t should list th
with the >Key
sult should be
he picture abo
by the | cha
n indicates yo
pull down in
Because the
ophe before th
lue but the v
tion string. T
the x in th
ilder will igno
r tank records
sure that the
d that the prod
To
ts & Analytics w
he attributes f
y and click O
e a simple tabl
ove the = sig
aracter), =\\
ou wish to cha
PI System Ex
= character
hat = to pre
value of the l
This syntax o
e selected(x)
ore this row a
s in the spread
PI server nam
ducts match th
with PI AF
from your tem
OK (the othe
le of tanks in
gn in front of
\server\tagnam
ange the confi
xplorer), with
r is used by E
serve it in the
evel attribute
only applies to
column / Col
and not opera
dsheet. J ust m
me in front of
he tables (and
Level
mplate. Selec
ers are set by
the spreadshe
f the Level att
me but no
figuration strin
hout the equal
Excel for form
e cell. Capac
is set by the
o the template
lumn A (it mu
ate on this elem
make the chan
f your Level ta
d enumeration
ct the capacity
the template)
eet.
tribute (attribu
ot in front of t
ng of the attri
l sign you edi
mulas, you ma
ity is a config
PI Point Data
e Transposed
ust be Column
ment or attrib
nges directly
agname is the
n sets) you bu
Capacity
y, level, and
).
utes in colum
the capacity v
ibute (the valu
it or set the va
ay have to ent
guration attrib
a reference, w
Attribute me
mn A). If this
bute.
in the spread
e correct PI se
uild in PI AF.
P
mn headers are
value, 20000.
ue below the
alue of the
ter a single qu
bute we wan
we want to set
ethod.
is not selected
dsheet
erver

Product

e
The
data
uote
nt to
t the
d, the


Tank 1
Tank 2

Please not
products j
Export wi
Confirm y
button or
In this exa
not use th
column an
columns.
be circum
template

Step 6: C

Open PI P
(stand alo
From the
the left. T
computer
Tan
Tan
te that the Pro
just as they ar
ith the create
your work by
F5.
ample we use
his feature P
n attribute wi
For like elem
mstances wher
if so, many
Create a PI P
ProcessBook v
one display do
View Menu
There is a PI S
r / AF System
nk 3
nk 4
oduct field is
re in the enum
or edit option
going to PI S
ed the powerfu
PI AF Builder
ll import each
ments tied to a
re you want to
of the princip
ProcessBook
v3.2 and use
ocument) nam
select Eleme
System Explo
m and Datab

=\\Server
=\\Server
validated to t
meration set (n
n to build the
System Explo
ful template T
, instead of m
h element and
a template the
o edit or creat
ples are the sa
k Display fo
the file\New
med Tank Di

nt Relative D
orer icon, Sel
ase from the
r\SinusoidU
r\CDT158
the enumerati
not case sensi
new tanks ba
orer to the Ele
Transposed At
making a table
d attribute to a
e Transposed
te elements an
ame.
r your Tank
menu or the
splay
Display and n
lect this and s
resulting Ele
20000
30000
ion set so you
itive).
ack into your
ements tab an
ttribute functi
e where each r
a different row
Attribute me
nd attributes w
ks
new icon to
note the panel
select your A
ement Search
PI Asset F
H
A
u must enter th
database.
d pressing ref
ion in PI AF B
row is an elem
w with their p
ethod is far su
which are not
o create a *.P
l which appea
AF Server
h dialog.
Frameworks (P
Pa
HC1500
AQ4500
he
fresh
Builder. If yo
ment and each
properties in
uperior. There
t unified by a
PDI
ars on
PI AF)
age 39
ou do
h
e may
Building P

Page 40

When you
your tank
in the list
Select the
on the PI
inch on th
.
Select Ta
tanks.Clic

PI System Asset
u select Searc
ks and click o
on the left.
e hammer E
Processbook
he screen
anks from the
ck OK to se
ts & Analytics w
ch it should sh
okay to select
Edit/Build mo
button bar.
resulting me
ee your tank i
with PI AF
how your tan
your tanks as
de tool and th
Drag out a re
enu on the left
in the display
nks. Holding
s elements of
hen Click on t
ctangular app
t and select a
y
g the CTRL ke
f interest. The
the Symbol L
proximately 1
tank symbo
ey down, sele
ey should disp
Library tool
1 inch by 1
ol to represent
ect
play
icon
1 1/2

t your


Next to th
pull/down
menu.
The select
push it int
Back at th
start to ze
Select the
and select
As you di
the trend b
Select the
of the tank
Select the
time click
element a
Your disp
he tank draw
n fly-out menu
ted tank shou
to the selecte
he bar chart
ero. Click O
e hammer edit
t the element
id with the lev
by clicking O
e hammer tool
k in the displa
e hammer tool
k on the Add
attribute. J ust
play should lo
w a bar char
u next to the T
uld appear wit
ed attributes
definition dia
OK on this d
t/build mode t
relative opti
vel above, sel
OK
l and click on
ay. Select ele
l and process
Element Na
click OK t
ook something

rt, using the P
Tag Search b
th its attribute
list. Click O
alogue, set th
dialogue
tool and click
ion from the f
lect mass from
n the process
ment relativ

s value tool ag
ame button at
this will displ
g like this:
PI Processboo
utton and sele
es. Select Le
OK.
e upper to 10
k on the trend
fly-out menu
m the selected
value 123
e display aga
gain. From th
t the bottom
lay the tank n
ok bar chart to
ect Element
evel and use
00, the lower
d builder. D
next to the ta
d tank and cli
tool and click
ain and select
he element re
you do not n
name.
PI Asset F
ool. Select th
Relative from
the down arro
r to zero and
raw out a rec
ag-search butt
ick OK ac
k above the p
the Product.
elative panel
need 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 the
Interest l
Note that
is the resu
density tim
The mass
its quick.
zoom or p
are all pre
This is the

PI System Asset
Arrow/Run m
ist on the left
Mass is our m
ult of looking
mes the result
values are no
. If you look
pan back befo
esented consis
e power of PI
ts & Analytics w
mode select to
t. Use the zoo
most derived v
up the produ
t of the capac
ot stored anyw
for values wi
ore we built th
stently.
I AF to transfo

with PI AF
ool, switch ta
om and curso
value in this e
uct to a table t
city times ever
where (not in
ith the trend c
he calculation
form PI data in
anks by selec
r tools to exa
example W
to find the den
ry level (from
PI tags) the
cursor or bubb
ns they will ca
nto informati
cting Tank B
amine the tren
We know how
nsity and then
m a PI tag) in
ey are calcula
ble values yo
alculate for yo
on.
in the Elemen
nd display.
w it is defined
n multiplying
the sample pe
ated on deman
u 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 th
this as the


Where are

The
new
you

s
this experien
rver in your w
re would I fin
w many (estim
ld be required
he class well
e week progre
my Asset
e following qu
w insight. Yo
ur own or hav
nce with PI AF
worklife, perha
nd the assets,
mate) assets wo
d to reflect the
l return to the
esses to prepa


s? A Dis
uestions are i
our instructor
ve the group a
F and your ex
aps a few que
equipment, lo
ould I likely n
e commalities
se questions a
are for the late
scussion, P
intended to re
may choose t
answer them t
xperiences wit
estions are sug
ogical proces
need to get sta
s?
as learn more
er discussion.
Part 1
einforce key in
to have you tr
together out lo
th your proce
ggested:
ss units to form
arted using P
e about PI AF

PI Asset F
nformation, o
ry to answer t
oud.
ess informatio
m into elemen
PI AF? How m
F. Think abo
Frameworks (P
Pa
or to discover
the 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 M
unique to
equivalen
conversio
Demonstr
Even thou
cases, the
unlikely t
them all in
same logi
having the
demonstra
System, fo
1. O
M
M
an
2. N
U
R
3. N
N
C
se
4. C

Fromany
Measure.





PI System Asset
PI AF Unit
Measure (UoM
each PI Data
ncies and relat
ns on demand
ration crea
ugh individua
class is likely
o be able to s
n the same pl
c and relation
em. So, unles
ate creating a
follow the sim
Open PI System
Measure from
Measure Class
nd set its abb
Now right mou
Unit-of-Measu
Reference UoM
Byte =
Kiloby
Now right mou
New Unit of M
Change the Re
et:
Kiloby
Megab
Check in you
databaseon

ts & Analytics w
ts of Meas
Ms) in the PI
abase). It is in
tionships betw
d between the
ating a new U
al students ma
y sharing a PI
uccessfully c
ace and to ha
nships on the
ss you have a
new Unit of
mple steps belo
m Explorer, c
the navigatio
ses in the brow
breviation to b
use click on
ure set the na
M as Byte and
=KB * 1024
yte =Byte/10
use click agai
Measure and
eference UoM
yte =MB * 10
byte =KB/10
ur work.
thePISystem
with PI AF
sure
AF system ar
ntended to ho
ween engineer
em.
Unit of Measu
ay have create
I System for t
reate the sam
ave the class c
same PI Syst
a private PI A
Measure and
ow.
connect to an
on panel in the
wser panel ab
byte and click
Computer M
ame to Kiloby
d select formu
24
in on Compu
d set the name
M to Kilobyte
024
24
myoushould
re kept in a se
ld rules of p
ring units to p
ure and UoM
ed unique data
the class. For
me Units of M
create unique
tem would som
AF server, plea
UoM class.
appropriate P
e lower left ha
bove. For the
k on Apply.
emory in the
yte and the ab
ula for the me
uter Memory
e to Megabyte
and select for
nowbeable
erver-wide da
physics whic
permit logica
M class
abases in the
r this reason,
easure withou
Units of Mea
mewhat unde
ase allow the
If you have y
PI System and
and corner. N
canonical UO
e browser pan
bbreviation to
ethod and the
in the brows
e and the abb
rmula for the
toseeandu
atabase (it is n
ch create
al, dynamic
PI System, in
everyone is
ut trying to cr
asure stating t
ermine the po
instructor to
your own PI
d select Unit
Note the Unit
OM: specify B
ne and select
o KB. Leave t
en set:
ser pane and s
breviation to M
method and t
sethenewU
not
n most
reate
the
int of
of
t of
Byte
New
the
select
MB.
then
Unitof

3. PI
3.1 P
3.1.1 P
PI Perform
filtering o
Performan
filtering a
Syntax th
..\

.

Server
Performan
Performance
mance Equati
of data in mul
nce Equation
and expression
at is always a
\program file
or
..\program fil
Based C
nce Equati
Equation Sy
ion (PE) synta
tiple client an
Scheduler on
ns in PI Datal
available wher
s (x86)\pipc\h
es\pipc\help\p


Calculat
ion Syntax
yntax
ax is an algeb
nd server prod
n a PI Server,
link for Micro
rever PI prod
help\pereferen
perference.ch
tion Eng
x & Perfor
braic syntax u
ducts in the P
Dataset Calc
osoft Excel.
ducts are insta
nce.chm
hm
PI
gines
rmance Eq
used to perform
PI suite includ
culations in PI
To see a refe
alled find the
I Server Based
quation Sc
m calculation
ding the PI
I Processbook
erence for the
file:
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 t
Explore PI Pe
h
useful help fi
\program file
or
..\program fil
instructor, exa
the functions
the notepad o
ts & Analytics w
Activity C
In this part of
concepts pres
the instructor
game or hold
o find and ho
rformance Eq
le:
s (x86)\pipc\h
es\pipc\help\p
amine the hig
s and other pa
or other tool.

with PI AF
Checking o
f the class you
sented in this
r is doing or p
d a quiz. You
ow to use PER
quation Synta
help\pereferen
perference.ch
ghlights of the
ages have ex

out PERef
u will perform
chapter or se
perform the sa
ur instructor w
Reference.CH
ax.
nce.chm
hm
e Syntax and
xamples and
ference.CH
m a learning a
ection. You m
ame steps at t
will have direc
HM
functions ava
you can copy
HM
activity to exp
may be invite
the same time
ctions.
ailable.
y and paste th
plore the diffe
ed to watch w
e. You may p
hese example
ferent
what
play a

3.3 S
Exercise
Learn to a
PEReferen
Problem
You may
space belo
to build P

Prob
1 Add
Sinu
Sinu
2 Get
roll
the C
3 Get t
total
tag f
but o
good
the t
Solo / Grou

Thi
spe
you

Objectives
apply PI Perfo
nce.chm as a
Description
want to const
ow so you can
PI tags in just
blem
the PI tags
usoid and
usoidU togeth
a ten minute
ling average
CDT158 tag
the time weig
l for the CDT
for the last ho
only if the val
d at least 80%
time.
up Exercis
is is a solo or
ecific topic are
u if you need
ormance Equa
reference.
and Approa
truct your equ
n cut and past
a minute
Yo
her




of




ghted
158
our,
lue is
% of


se Apply
group activit
ea. Your inst
assistance du
ation Syntax
ch
uations in No
te from the he
our solution
ying PI PE
ty that is desig
tructor will ha
uring the activ
to different ca
tepad or anot
elp file also

PI
E Syntax
gned to maxim
ave instructio
vity.
alculation and
ther editor ra
o well be usin
I Server Based
mize learning
ons, and will c
d filtering pro
ather than in th
ng these form
Hints
Tags a
apostr
quotes
use th
functi
If .. th
with P
& Tag
check
proper
TagTo
Calculation En
Pa
g in a
coach
oblems using
he
mulas
are wrapped i
rophes/ single
s
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 How
in th
has t
been
but l


3.3.1 T
The PI Pe
resembles
can identi
on the PI
startup scr
starts. T
which is i
the PI PE
Managem
from with
The PI PE
Equation
archive of

PI System Asset
w much of the
he last day (in
the tag sinuso
n greater than
less than 70 ?
The PI Perfo
erformance Eq
s a standard P
ify it as Syste
Server. As w
ript PIPESCH
This file can b
installed with
Scheduler sy
ment Services
hin the PI-ICU
E Scheduler re
Tags with the
f those tags.
ts & Analytics w
e time
n %)
oid
30


rmance Equ
quation Sched
PI Interface. I
m Service. T
with many PI
HED.bat whic
be readily con
the PI Server
ystem service
console, from
U).
eads the calcu
e Point Sourc

with PI AF
ation Schedu
duler is a PI S
It is installed
The executabl
Interfaces th
ch is never run
nfigurable usin
r. However c
is restarted (w
m the PI Syste
ulations from
e of C and
uler
Server based c
as a system se
e is PIPESch
e PI PE Sche
n, but rather r
ng the PI-ICU
changes to the
which you ca
em Managem
the tag confi
writes the res
calculation en
ervice with al
ed.exe in the
duler is confi
read when the
U interface co
e file are only
an do from the
ment tools serv
igurations from
sults into the
TimeG
return
youll
these
There
second
ngine which
ll PI Servers
PI\Bin direct
igured with a
e system serv
onfiguration u
y recognized w
e Computer
vices console,
m PI Perform
PI 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, navi
Server reg
At the bot
(by defaul
Add two s
and
Save your
bar of the

Directed A

In t
con
inst
or h
Objectives
ntroduce the
Configure an a
Restart the PI
h
PI-ICU (Inter
Interface men
igate to PI\Bin
gisters the int
ttom of the PI
lt new PI Sys
scan classes,

r work and re
ICU)
Activity C
this part of th
ncepts present
tructor is doin
hold a quiz. Y
PI PE Schedu
additional sca
PE Schedule
rface Configu
nu, select Ne
n\PIPESchd.b
erface).
I-ICU genera
stems have 1 m
a one hour s
a ten secon
start the inter


Configurin
he class you w
ted in this cha
ng or perform
Your instruct
uler to the PI-
an class for sc
r service
uration Utility
ew Interface I
bat and select
al tag screen
minute, 2 min
scan class
d class class
rface. (there a
ng the PIP
will perform a
apter or sectio
m the same ste
or will have d
-ICU
cheduling cal
y) from the St
Instance from
t it. (there ma
n, note the list
nute, and 30 s
01:0
00:0
are icons for t
PI
PESched.B
a learning acti
on. You may
eps at the sam
directions.
culations
tart Menu
m a bat file or
ay be a pause
t of scan class
second classe
00:00,00:00:00
00:10,00:00:00
these operatio
I Server Based
Bat file wit
ivity to explor
y be invited to
me time. You
r the open fol
while the PI
ses (and offse
s established)
0
0
ons on the bu
Calculation En
Pa
th the PI-I
re the differen
o watch what
may play a g
lder
ets).
).
utton
ngines
age 49
ICU
nt
t the
game
Building P

Page 50

3.5 S
Expres
Exercise
A
B
Problem
Open the
Select the
upper left
Select Poi
Configure
instructor
identify th
TagN
1 XXS
2 XXC
3 XXC
4 XXS

PI System Asset
Solo / Grou
sions

Thi
spe
you

Objectives
Apply PI Perf
Build PI PE ta
Description
PI-SMT ( P
e PI Server yo
t 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 are
u if you need
formance Equ
ags in the PI S
and Approa
I System Man
ou have or tha
Performanc
Performance
before each ta
yours. All tag
Prob
Add
Sinu
toge
Avg Get
rol
CDT
ot Get
tota
tag
only
80%
How
in th
has
been
less
with PI AF
se Buildi
group activit
ea. Your inst
assistance du
uation Syntax
Server
ch
nagement Too
at your instruc
ce Equations
e Equations fr
agname, subs
gs are Point
blem
d the PI tags
usoid and Sin
ether
a ten minute
lling average
T158 tag
the time weig
l for the CDT
for the last ho
y if the value
% of the time
w much of the
he last day (in
the tag sinuso
n greater than
than 70 ?
ing PI PE
ty that is desig
tructor will ha
uring the activ
to the PI PE
ols) from the
ctor indicates
from the nav
rom your for P
stitute your s
Source C
S
nusoidU
E
e of the
E
C
sn
ghted
T158
our, but
is good
E
e time
n %)
oid
n 30 but
E
S
sn
tags from
gned to maxim
ave instructio
vity.
Scheduler
Start Menu
by clicking o
vigation menu
PI PE formul
student numb
and Pointtyp
Scheduling
Every 1 minut
Event based
CDT158 tag c
napshot
Every 1 hour
Event based
Sinusoid tag c
napshot.
m your PI P
mize learning
ons, and will c
on the box in
u in the lower
las if your
ber or initial
pe of Float32
te
every time th
changes in the
every time th
changes in the
PE
g in a
coach
the
r left..
ls to
2.
he
e
he
e

After a few
Point valu
they wait

3.5.1 T
The Recal
Performan
tags if the
significan
start the re
3.5.2 L
Although
scheduler
T
id
pe
ve
T
va
fr
T
te
hu
do
T
na
T
di
sa
C
fo
si
E
Y
th
P
th
w minutes, ch
ues to see thei
for an hour to
The PI PE Re
lculator is an
nce Equation
ere are change
nt performanc
ecalculator by
Limitations of
the PI Perfor
has many lim
The PI Perform
dentify the PI
erformance d
ery efficient.
There is no per
alues from on
rom the archiv
The syntax for
ext. Because
undreds of ch
ocumenting, v
The tags in the
ame, if the tag
The calculation
ifferent memb
ame they may
Calculations ca
or these calcu
imilar assets o
Excel)
You cant intro
he PIPESCHD
I Performanc
hey are runnin
heck your tag
ir current valu
o pass or Sinu
ecalculator
interface like
tags in order
es to the input
e equations, t
y default on s
f the PI Perfo
rmance Equat
mitations
mance Equatio
Tags every ti
disadvantage w

rsistent memo
ne calculation
ve every time
r the calculatio
tag names are
haracters, espe
verifying, and
e PI Performa
g name is cha
ns are perform
bers of PI HA
y not be ident
annot be easil
ulations you
or tag assets.
oduce a new c
D.bat and rest
e Equations c
ng on and can

gs by searchin
ues. Note tha
usoid to get a
e service whic
that it can re
t tags in the a
this has been
system startup
formance Equ
tions Syntax i
on Scheduler
ime it calcula
when compar
ory for PI PE
n event to the
e, this is also a
on is stored a
e explicit thes
ecially if if ..
d modifying c
ance Syntax in
anged the ca
med independ
A collectives
ical due to di
ly re-used aga
u must rebuild
(if you must
calculation fr
tarting the cal
can never read
nnot write to a
ng for them in
at tags 3 & 4 m
new value.
ch signs up fo
calculate PI P
archive. In op
a serious serv
p.
uations Sche
is flexible and
must parse th
ates it is full
ed to compile
Calculations
next they m
a performanc
and entered on
se formulas c
. then.. synta
calculations d
n the tags are
alculation bre
dently from th
although the
fferences in th
ainst different
d the formula
t do this use
equency / sca
lculations.
d a value from
another PI Ser
PI
n tag search an
may not upda
or updates to t
Performance E
peration, for m
ver performan
eduler
d readily unde
he entire calc
ly interpreted
ed calculation
they canno
must reassemb
e/efficiency d
n one line o
an be very lo
ax is employe
difficult.
specified exp
eaks.
he same confi
ey should be
the server cloc
nt tag sets th
every time yo
e the PI SMT
an class witho
m any PI Serv
rver.
I Server Based
nd selecting t
ate for a while
the archive ev
Equation (Po
many custome
nce drain. Th
erstood, the
culation string
d. This is a se
n options. It is
ot carry calcul
ble all of the v
disadvantage.
one single stri
ng many
ed. This mak
plicitly by the
igurations on
materially th
cks.
here is no con
ou use it again
T Tag Builder
out reconfigur
ver except the
Calculation En
Pa
the
e as
vents of all
int Source C
ers 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

C
tr
fo
A
su
in
by
T
an
All of
later i
3.5.3 P
TagN
1 XXS
2 XXC
3 XXC
4 XXS


PI System Asset
Calculations ca
rigger event b
ormula.
Although the P
upport runnin
nterfaces the
y moving it to
The PI PE reca
nd can be cha
f these limitat
in the course.
PI Performan
Name
ineSum
CDT15810MA
CDT1581HTo
ineInMid
ts & Analytics w
annot be sche
based calculat
PI PE Schedu
ng more than o
ereby you can
o another com
alculator as de
allenging to co
tions are resol

nce Equation
Solu
'sin
Avg even
ot if pc
tagt
Tag
even
time

with PI AF
eduled on mul
ions on, even
uler seems to b
one PE Sched
nnot increase
mputer or hav
escribed abov
onfigure effic
lved in PI AC
s Exercise So
ution
nusoid' +'sinu
nt=CDT158,
ctgood('CDT
tot('CDT158',
- Or -
gTot(CDT158
nt=Sinusoid,
egt('sinusoid'
ltiple triggers
n if multiple ta
be based on a
duler against a
the PI PE Sch
ing more than
ve, can be pro
ciently.
CE, which is a
olutions
usoidU'
Tagavg('CD
158','*-1h','*')
'*-1h','*') else
8,*-1h,*,
(timegt('sinu
, '*-8h' , '*' ,
s you must s
ags are used a
an interface O
a PI Server as
hedulers calc
n one schedul
oblematic if g
a calculation
T158' , '*-10m
) >95 then
e 0
80)
usoid' , '*-8h'
70)) / 28800
select one tag
as inputs into
OSIsoft does n
s you can wit
culation capa
ler.
generally appl
option covere
m' , '*')
,'*' , 30) -

g to
the
not
th
acity
lied
ed

3.6 T
The PI To
totalizatio
The totali
minimum
is true and
Equation
totalizer ta
used only
help you b

The PI Tot
otalizer is a po
ons and other
zer can aggre
ms or maximum
d it can count
syntax. The
ag which use
y by the totaliz
build these ta
talizer
owerful and f
simple calcul
egate totals, av
ms. It can als
t events. The
results of the
s a unique Po
zer engine. T
gs and config


flexible post-p
lations from a
verages, rang
so be used to
calculations
e aggregations
oint Class th
There is a wiza
gure them pro
processor eng
a single PI tag
ges, and stand
calculate the
can be filtere
s are stored in
he totalizer po
ard in the PI S
operly.
PI
gine that you c
gs stream of
dard deviation
amount of tim
ed using simpl
nto a differen
oint class whi
System Mana
I Server Based
can use to cre
snapshot valu
ns or identify
me that a con
le Performan
nt PI tag the
ich has attribu
agement 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
Wed like
1. A
6p
2. A
en
3. A
va
Approach
Well use
Your instr
initials to
For the fi
weighted
at 6 a.m.
For the se
weighted
ba:Active
flow of g
For the th
weighted







PI System Asset
Solo / Grou

Thi
top
assi
Objectives
Learn how to b
Build three typ
description:
e to build thre
A shift averag
pm
A batch averag
nds
A moving ave
alues
h:
the PI Sys M
ructor may as
identify them
irst totalizer,
average, with
Post the valu
econd totalize
total with na
e.1 goes to ze
gallons per mi
hird totalizer,
moving avera
ts & Analytics w
up Exercis
is is a solo or
ic area. Your
istance 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 prec
m as yours.
CDT158.SA
h natural samp
ue at the end a
er, CDEP158.
atural samplin
ro. Post the
inute to total g
CDEP158.M
age. Well cl
with PI AF
se Build
group activit
r instructor w
g the activity.
ers with the P
totalizations o
CDT158 w
g CDEP158
tag CDEP158
ol Totalizer Ed
cede the tagna
based on
pling. Well
at the beginni
BT from the
ng. Well cl
e value at the
gallons.
MA from the
lose the total e
Common
ty that is desig
will 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 C
close the ave
ing of the shif
source tag CD
lose the total
end and the
source tag CD
every five sou
nly Used PI
gned to maxim
uctions, and w
plug-in Totali
y PI customers
hour shifts ch
ive.1 turns to
g this volatile
prefix of your
CDT158 we
erage every tw
ft.
DEP158 we
l whenever th
beginning. W
DEP158 we
urce tag value
I Totalize
mize learning
will coach yo
izer Editor
s
hanging at 6a
o zero and the
e data flow e
r student num
ell select an
welve hours s
ell select an
he batch acti
We are conver
ell select an
es.
r Tags
g in a specific
ou 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 the
instructor
CDT158.S
Heres the
in the seco
Heres 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 Tool
the 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 Se
ditor
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) Heres
select Nat

Heres 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
res 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:



Dont forg


finally C
1)
Select the
Heres the
get to save yo
CDEP158.MA
Heres 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 totali
You can e
at the Poin
totalizer m



3.7.1 L
O
P
lim
T
fo
w
ac
H
al
PI System Asset
zer engine sh
evaluate the re
nt Values. If
may not have
Limitations of
Of course the b
erformance E
mited numbe
The PI Totaliz
or its source d
with similar fu
ccurate than a
However, this
lgorithm para
ts & Analytics w
hould pick up
esults by sear
f you get con
enough time
f the PI Tota
biggest limita
Equation Sche
r of aggregati
er uses PI sna
data. Therefo
unction, it may
a Performance
should not be
ameters.
with PI AF
your calculat
rching with P
nfigure as the
or values to g
alizer / Comp
ation of the PI
eduler or PI A
ion functions
apshot data, b
ore when com
y see a richer
e Equation ta
e material if t
tions and begi
I Tag Search
e value or per
give you a res
parison to PI
I Totalizer co
ACE schedule
on a single ta
before it may
mpared to a Pe
r set of data an
g which uses
ags have well
in to process
(point source
rhaps point c
sult yet. Chec
I Performanc
ompared with
er is that it can
ag.
be filtered by
erformance Eq
nd therefore b
compressed
l configured c

them immedi
e T) and loo
created your
ck back later.
ce Equation T
the PI
n only perform
y data compre
quation calcu
be marginally
archive data.
compression
iately.
oking
r
.
Tags
m a
ession
ulation
y more


T
ha
d
T
w
fi
A
th
sh
se
C
th
L
ex
Y
co
m
T
pe

The PI Totaliz
as persistent m
eal more effi
The PI Totaliz
will not break
ilters will brea
As with Perfor
he same confi
hould be mate
erver clocks.
Calculations ca
he configurati
Like the PI PE
xcept the one
You can only r
omputer so
moving it to an
There is no re
eriods it has
er does not ha
memory to ho
icient than th
er holds the s
it. Changes t
ak the totalize
rmance Equat
igurations on
erially the sam
annot be easil
ion every time
E Scheduler, th
it is running
run one Total
you cannot in
nother compu
ecalculator fo
s no way to re

ave to interpr
old the runnin
he PI PE Sch
source tag by
to tag names u
er.
tions, the calc
different mem
me they may n
ly re-used aga
e you use it a
he Totalizer c
on and canno
lizer per PI Se
ncrease the PI
uter or having
or the PI Tot
estore those c
ret strings as t
ng summary t
heduler when
its tag numbe
used in the Pe
culations are p
mbers of PI H
not be identic
ainst different
gainst similar
can never read
ot write to ano
erver and you
I PE Schedule
g more than on
talizer if the
calculations.
PI
the PI PE Sch
totals theref
n applied to s
er, not its nam
erformance E
performed ind
HA collectives
cal due to diff
nt source tags
r tags.
d a value from
other PI Serve
u cannot run it
ers calculatio
ne scheduler.
e totalizer mi
I Server Based

heduler does a
fore it is a gre
similar probl
me, so tag ren
Equation synta
dependently f
s although t
ferences in th
you must re
m any PI Serv
er.
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 Notific
Server.

As the PI
events of
PI Server
of all Not
to them (a
In the ave
entered in
include th
Very often
Notificati
becomes.
recipients
Notificati
may be te
a dozen ev
As you de
elements t
twenty tho
two dozen
almost a t
This will
noise yo
and the pr
It is very i
only appr
should be
PI System Asset
Notifica
cations is an e
Notification
multiple PI (d
which holds
ifications inst
acknowledgem
erage PI Serve
nto the PI Sna
he interaction
n in work we
ons alerts you
This is becau
of the alerts
ons implemen
en billion if th
vents per day
evelop your P
that have sev
ousand PI No
n users dont
thousand alert
make your PI
our recipients
rogram for fil
important the
opriate alerts
done as a tw
ts & Analytics w
ations
event filter an
Service is bas
data archive)
its history (ca
tances/events
ments and com
er of tens of th
apshot every d
of several of
measure succ
u produce, ve
use if you pro
cannot give t
ntations shou
hey are evalua
y.
PI Notification
eral PI Notifi
otification (rul
get alerts from
ts 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 s
mments as re
housands of t
day. Intellige
f these tags, an
cess by how m
ery often the l
ovide too man
them appropri
uld be taking t
ating for sever
ns implement
ications rules
les). If each r
m every notif
n implementat
y ignore the al
oxes.
efully filter yo
uggests that th
ss:
ring & F
plication that
System it c
owever every
ory PI Server)
started and en
quired or app
tags there are
ent PI Notifica
nd other cond
many things w
ess successfu
ny alerts the
iate attention
those billions
ral PI Servers
tation you ma
against most
rule fires on
fication each r
tion useless as
lerts but they
our PI Notific
he creation of
Filtering
is based on th
can provide al
PI Notificatio
). This PI Ser
nded and the e
plied).
often billions
ation rules ca
ditions.
we produce
ul your use of
ey become n
or response.
of new value
s and reducin
ay wind up wi
of them. Thi
nce per day
recipient will
s all of the ale
may have ho
cations rules s
f all PI Notifi
g
he PI System

lerts from the
ons server ha
rver keeps a r
end user respo
s of values be
an sometimes
but the more
f PI Notificati
noise and the
Most PI
es per day w
g them to less
ith ten thousa
is could resul
even if all o
l still be gettin
erts will beco
ostility toward
so as to produ
ications 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. A
co
in
th
And this i
and later,

Create the No
After some tim
ontent and ass
nstances or ev
he Notificatio
is how well l
well look at
tification (rul
me passes, eva
sign subscript
vents), re-eval
n again.
learn about PI
content, subs


le)
aluate the rule
tions, if it is p
luate the filter
I Notification
scriptions, de
e and if it still
producing too
rs and wait an
ns. First well
livery channe
PI Not
l seems appro
o many alerts
nother interva
l look at trigg
els and recipie
tifications Tr
opriate, create
(Notification
al before qual
gering and filt
ent response.
riggering & Fil
Pa
e
n
lifying
tering

ltering
age 61
Building P

Page 62

4.1 P
Question
1. Lets
when

2. Now
Wou

3. Wha




4. Proce
can s
even
reaso




5. Wha
batch
Equi
alerts






PI System Asset
PI Notifica

The
new
you

s
s say you hav
never they we
w instead of on
uld you still w
t if you had s
esses can be v
seem reasonab
tually we hav
onable?
t types of thin
h changes? N
pment or sub
s that occur re
ts & Analytics w
ations Que
e following qu
w insight. Yo
ur own or hav
e a teen-age d
ere driving it.
ne teenager, le
want all of the
ix thousand d
very complex
ble from a No
ve 600. Is 600
ngs in a proce
Non-complian
system or sys
egularly in th

with PI AF
estions (Gr
uestions are i
our instructor
ve the group a
driver and you
What kind o
ets say you h
same alerts?
delivery vehic
x, if we start m
otification. B
0 alerts a wee
ess you are fa
nce (governm
stem or unit f
e control room
roup)
intended to re
may choose t
answer them t
u could have
of alerts woul
have six hund

cles? Would
making Notifi
But what if sta
ek still reason
amiliar with w
mental) events
failures? Is th
m?
einforce key in
to have you tr
together out lo
the family ca
ld you like to
dred delivery v
this have an i
ications, some
art building m
nable? Even i
would make g
s? SQC/SPC
he e-mail inbo
nformation, o
ry to answer t
oud.
ar send you e-
o get?
vehicles in la
impact?
etimes getting
more Notificat
if each rule se
ood alerts?
out of contro
ox a good pla
or to discover
the questions
-mail or text a
arge region.
g an alert a w
tions and
eems individu
Grade / prod
l violations?
ce for the sor
r a
on
alerts
week
ually
duct
rt of

4.2 D
Activity O
Although
PI Notific
Notificati
Identify w
Client or b
Page).
Identify th
2010 R3 o
Notificati
Install the
The instal
PI Notific
host, you
Directed A

In t
con
inst
or h
Objectives
almost all PI
cations install
ons to continu
which compon
both (general
he appropriate
or later server
on which is e
e required PI N
ller contains t
cations Clien
configure, su
Activity I
this part of th
ncepts present
tructor is doin
hold a quiz. Y
classroom se
ations. Follo
ue.
nents will nee
ly the class w
e History PI
r, it will requi
enabled.
Notifications
the following
nt: This featur
ubscribe to or

Installation
he class you w
ted in this cha
ng or perform
Your instruct
ettings will ha
ow your instru
ed to be instal
will not requir
Server for t
ire one PI tag
software on t
features:
re includes ad
unsubscribe f
n of PI No
will perform a
apter or sectio
m the same ste
or will have d
ave installed P
uctors guidan
lled PI Notific
re the PI Notif
the installation
license and s
the students
dd-ins to PI Sy
from, and vie
PI Not
otification
a learning acti
on. You may
eps at the sam
directions.
PI AF servers
nce if you are
cations Serve
fications Ack
n. If this serv
seven PI tags
computers.

ystem Explor
ew the archive
tifications Tr
s (optiona
ivity to explor
y be invited to
me time. You
s and clients,
e required to i
er, PI Notifica
knowledgeme
ver is a PI Ser
for every
rer. Within th
ed or active e
riggering & Fil
Pa
al)
re the differen
o watch what
may play a g
not all will ha
nstall PI
ations
ent
rver
his
events
ltering
age 63
nt
t the
game
ave
Building P

Page 64

of notifica
Notificati
the PI AF
the PI No
System Ex

PI Notific
real time,
escalation
generally
other serv
a given PI
though it
PI Notific
the email
message o
Notificati
installed o
configura
Note: con
specified
A note co
Notificati
backup SM
to receive
Internet In
install an
and mana
general it
and coord
is not requ


PI AF Ser
PI System


History PI
Server:


PI System Asset
ation rules. Th
ons Desktop
Client. Note
tifications Cl
xplorer or the
cations Servi
send out noti
ns, and record
installed on a
ver function o
I System (AF
can trigger an
cations Ackn
message; a su
or to commen
ons Acknowl
on the same m
tion compatib
nfigurations of
database.
oncerning SM
ons settings m
MTP server.
e and forward
nformation Se
SMTP mail s
agement to sta
is always goo
dinate the app
uired for the c
rver /
m:
I
ts & Analytics w
he client also
Alert. The PI
e that if even
ient is not ins
e PI clients to
ice: This featu
ification mess
d the history in
a server class
r be a dedicat
F Server) and
nd read data f
nowledgment
ubscriber can
nt on a notific
ledgement Pa
machine. For M
bility option m
f the PI Notif
MTP (mail) S
menu) you wi
This is gene
the e-mail ba
ervice that co
server, it is rar
art such a rog
od practice to
lication of PI
class.


with PI AF
enables you
I Notification
if the class is
stalled the n
complete the
ure runs a ser
sages, process
n the history P
computer, wh
ted server. T
has a specifie
from any PI se
t Page: This
n click directly
ation instance
age requires M
Microsoft IIS
must be enabl
fications are s
Servers. In th
ill be requeste
rally a corpor
ased alerts fro
omes with any
rely received
gue mail serv
o identify the
I Notification
to receive new
ns client will r
using a comm
necessary com
e other instruc
rvice instance
s acknowledg
PI Server. In
hich may be s
The PI Notific
ed history PI S
erver which th
page provide
y on this link
e. (this is not
Microsoft IIS 5
S 7.0, the IIS M
led.
stored in the P
he installation
ed to submit a
rate sponsore
om PI Notific
y Microsoft se
well by Infor
ver for a spec
management
ns with them.
w events thro
require (and i
mon PI Notif
mponents will
ctional sets.
e to evaluate n
gment request
n practice - the
shared with th
cation Service
Server to reco
the PI System
es a link whic
to acknowled
t used in class
5.0 or greater
Metabase and
PI System (AF
n (or subseque
an SMTP serv
d mail server
ations. Note
erver operatio
rmation Tech
cific purpose
of your estab
Installation
ough PI
install if need
fications Serv
l not appear in
notification ru
ts and/or
e server is
he PI AF serv
e is associated
ord its history
m recognizes.
h is embedde
dge a notifica
s) The PI
r and ASP.NE
d IIS 6
F Server) in a
ently in the
ver and an op
r that will be u
e that although
on system kit
hnology polici
such as this.
blished mail s
of 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 comp
OSIsofts




4.3 N
Notificati
essential t
for groups
Environm
non-comp
Demonstr
Like Unit
this reason
if you are
dedicated
1. Selec
2. Selec
Notif
3. Click
4. Click
Tan
5. Enter
This shou

Global Co
While we
Settings.
installatio
Notificati
here if it w
the docum
default the N
puter right m
PI-SMT prog
Notification
on States are
type of alert.
s include Ope
mental Alerts.
pliance alert, c
ration State
ts of Measure
n all students
on a shared s
PI AF and PI
ct Notification
ct Tools from
fications are s
k on the New
k on the New
nk Alerts as t
r another new
uld be visible
onfiguration
are here w
Cited here is
on). Also is a
ons content a
was not entere
mentation for.
otification ins
ouse click / M
gram/Operati
n State Gr
reason code
These can be
erational Aler
Possibilities
critical equipm
e Groups and
, State Group
in a class can
server watch y
I Notification
ns from the L
m the Menu an
selected in the
State Group
State Tab an
the Group.
w State Empt
to all users of
e could check
s the PI Serve
a PI Webparts
and messages.
ed in the insta


stallation doe
Manage option
ons/PI Servic
roups & S
es that provid
e grouped into
rts, Complian
s for States in
ment failure,
d States
ps and States c
nnot build the
your instructo
ns for yourself
Lower Left Na
nd Select State
e navigation p
Button/Tab a
d enter a new
ty and assign
f any database
k out the Glob
er for History
s server so tha
. The acknow
allation. The
es not start the
n or use the se
ces applet), fin
States (& G
de priority an
o state groups
ce alerts, Qua
nclude tank ov
etc..
cross all datab
e same State G
or build this g
f you should b
avigation Pan
e Group Conf
panel)
and it will pop
w alert Overf
n it to the Ta
e on the PI Sy
bal Configura
storage (calle
at instant tren
wledgement W
ere are other o
PI Not
e PI Notificat
ervices apple
nd the PI Not
Global Co
nd a classifica
s for organiza
ality Alerts, S
verflow/spill
bases on a giv
Groups and S
group and stat
build these as
nel
figuration (T
p up a State G
flow, leave th
ank Alerts gr
ystem.
ation tab in N
ed the History
nds can be inc
Web Page path
options which
tifications Tr
tions system s
et in the contr
tifications ser
nfiguratio
ation of the
ation. Possibi
System Alerts
alert, six min
ven PI System
Statess. As be
tes. If you ha
s described be
This will not a
Group enter
he priority as
roup as well.
Notification
y PI server in
cluded in our
h can be ente
h you can con
riggering & Fil
Pa
service. Selec
rol 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 Asset ts & Analytics w



with PI AF


4.4 D
Activity O
C
A
A
Approach
Well con
if it has H
it spills, w
almost ful
Follow th
bit later. .
1. O
pr
2. W
N
m
3. O
4. O
el
5. U
6. F
7. T
We could
it make m
here and r
say Yes
8. In
te
9. S
se
10. T
L
Directed A

In t
con
inst
or h
Objectives
Create a new n
Apply triggeri
Apply filtering
h
nfigure a Noti
HC1500 in it.
well have an
ll. The other
he instructor d
Open PI System
reviously (if t
With Notificat
Notifications t
menu.
On the Overvie
On the Trigger
lements
Under Conditi
or the input, c
This is an over
d select value
more sense to d
return to the t
, well be rig
n the Library
emplate
elect the attrib
elect New C
This should cre
Limit set the
Activity T
this part of th
ncepts present
tructor is doin
hold a quiz. Y
notification o
ing options
g options
fication for o
Tanks get al
environmenta
r 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 spec
do this in the
tank template
ght back.
(Navigation P
butes tab and
hild Attribute
eate a hierarc
value type to

Triggering
he class you w
ted in this cha
ng or perform
Your instruct
on an existing
ur tanks. Tr
lmost full pre
al reporting m
re not dangero
ction, well ha
(if needed) an
lable ask you
in the naviga
owser 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 at
o double and t
g and Sche
will perform a
apter or sectio
m the same ste
or will have d
PI AF eleme
iggering whe
tty regularly,
mess on our ha
ous.
ave the oppor
nd connect to
ur instructor fo
ation pane, cli
ect Notificatio
verflow
t and select Ta
on and then C
nd select the le
m the operato
over which w
So lets leave
m Explorer wi
Element temp
click on the

ttribute under
the default U
PI Not
eduling
a learning acti
on. You may
eps at the sam
directions.
ent
enever Tank A
but HC1500
ands, so we w
rtunity to wor
the database
or help).
ick on the Ne
on from the r
ank A from y
Comparison
evel under att
or
well send the
this unfinishe
ill ask you ab
plates locate
Level attribu
Level. Call t
-o-M to Ratio
tifications Tr
ivity to explor
y be invited to
me time. You
A is over 95%
is a caustic a
want to know
rk independen
of tanks you
ew button und
resulting pull
your PI AF
tributes.
alert but do
ed and click
out this, but j
e your tank
ute. From this
this Overflow
o/Percent. Th
riggering & Fil
Pa
re the differen
o watch what
may play a g
% full
and if
if it is
ntly a
built
der the
down
oesnt
OK
ust
s
w
hen
ltering
age 67
nt
t the
game
Building P

Page 68

en
a
O
11. R
no
w
yo
12. T
it
The deadb
and recros
In order to
notificatio
filter even
In our tan
considere
and re-op
13. T
pr
co
se

To preven
the notific
of the Tim
The Clock
specified
time that t
PI System Asset
nter a default
look at your
Overflow Limi
Return to Noti
otification an
where it says
our new Over
The next optio
s an importa
band prevents
sses the limit
o generate a n
on, then if it c
nts.
nks case if th
d to have end
en a new aler
The next opti
revents alert
ondition be
econds.
nt false alarm
cation rule. Th
me True value
k option for T
time, indepen
the condition
ts & Analytics w
value of 95.
tanks all of
it with this de
fications (in t
nd select the tr
Compare to:
rflow Limit a
on is a Deadb
ant filter. Let
s the level fro
even thoug
new event, we
crosses the lim
he deadband i
ded. If a dead
rt event.
ion is a Time
ts from being
true for a g
s, use Time T
he Time Tru
e:
Time True cau
ndently of the
must be true
with PI AF
Check in you
f their levels s
efault value)
the navigation
rigger tab aga
select Attri
attribute
band limit
s set this for
om exceeding
gh we essentia
e have to go b
mit again that
is set for 5 so
dband is not se
e True filter.
g sent on mo
given amoun
True to specif
ue Option def
uses an alert t
e Time Rule s
to trigger the
ur work. (If y
should now ha
n pane) and se
ain. Double c
ibute and then
you can also
5.
the limit and
ally do not ha
below the dea
will be a new
if the value d
et then every
This option
omentary an
nt of time be
fy the length
fines how the
to be sent as s
etting. Thus,
e notification.
you return to
ave a child at
elect your Ta
click on the co
n use the sear
consider this
d then sending
ave a new eve
adband to clos
w event. This
drops below 9
time the leve
n is also an i
omalies or
efore it gene
of time the co
notification T
soon as the co
the Time Tru
.
elements and
ttribute for
ank Overflow
omparison an
rch button to f
s a reset limit
g the alert eve
ent the value
se the first ev
s is a very imp

90, the first ev
el crosses the
important fil
spikes. It a
rates an aler
ondition must
Time Rule af
ondition has b
ue value repre
d take
nd
find
and
ery time it cro
e 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 tri
ffects the mea
been true for t
esents the exa
osses
high.
the
to
close
it
for 3
igger
aning
the
act

The Natu
specified
condition
reference,
still true a
Note that
latency. T
can take l
14. T
co

15. W
ta
C
tr

16. S
le
th
te
C

17. A
T
The time r
will be ev
attributes
based on P
The Perio
minutes o
This optio
of service
maintenan
updates.
18. T
T
ural option for
by the Time R
must be true
, for example
and the time tr
while the Tim
The alert cann
onger as the t
The next opti
onfigured th
We wanted ou
ank containe
Conditions m
rue to trigger
elect the Pro
eave value se
he deadband
est. We can
Click OK.
At the bottom
The first is th
rule establish
valuate whene
calculated fro
PI Point data
odic Time rule
or hours, or se
on is handy w
e which is con
nce system), o
The next opti
This is an imp
r Time True c
Rule setting.
to trigger the
, it will wait f
rue time has p
me True filter
not be sent un
trigger waits o
ion sets the s
hese we sho
ur alert only
ed HC1500.
menu again an
r) and select
oduct attribu
elect and ent
d condition d
again select
m of the Trig
he Time Rule
hes how often
ever there is a
om other attri
references ar
e allows you t
et it to evaluat
when the trigg
nnected to a T
or when PI N
ion is Notify
portant filter

causes an aler
In this case, t
e notification
for the next P
passed then th
r can be very u
ntil the specifi
on another va
state group a
ould select T
y to be sent if
So well ne
nd select an
Comparison
ute as the Inp
ter HC1500
does not appl
t the Tank A
ger tab pane
e. Lets leav
the trigger w
any change to
ibutes). This i
re attributes b
to set how oft
te daily or mo
ering input is
Table Lookup
otifications is
fy only on ch
r as well. L
rt to be sent o
the Time True
rule. If the c
PI value on tha
he condition w
useful in elim
fied time elaps
alue from the
and state for
Tank Alerts &
f there is a a
eed another c
nd Condition
n.
put and In
0 as the Com
ly and well
lerts state gr
el there are s
ve this set fo
will be evaluat
any of its inp
is usually how
ased on PI Po
ten the trigger
onthly (even s
not based on
data referenc
s being used f
hange in statu
Lets leave th
PI Not
only after the
e value repres
ondition is ev
at tag to arriv
will contribut
minating false
ses. If the N
triggering so
this conditio
& Overflow
an overflow c
condition. S
ns (both co
as the opera
mpare to val
not need to
roup and the
everal more
r Natural.
ted. If this op
put values (ev
w Notification
oint data refer
r is evaluated
selecting whic
n PI (i.e. a pie
ce to a table li
for reporting
tus and it is
his option sel
tifications Tr
condition is r
sents the mini
valuated on a
ve at the snaps
te to the trigg
e alerts, it nece
Natural optio
ource (often a
on. As wev
w and click o
condition an
Select the Ne
onditions mu
ator and then
lue. Of cour
apply a time
e Overflow s
filtering opt
ption is Natu
ven if those in
ns are trigger
rences.
d. You can se
ch days and w
ece of equipm
inked to a vie
to send peri
usually sele
lected.
riggering & Fil
Pa
re-evaluated a
imum time th
PI Point data
shot and if it i
ger.
essarily introd
on is selected
PI tag).
ve recently
ok.
nd the
ew
ust be
n
rse
e true
state.
tions.
ural the trigg
nput values ar
ed if they are
et this in secon
which months
ment going in o
ew 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 on
event is cl
Notificati
alerts. A
Emissions
the last va
box (of co
19. A
N
The resen
if combin
notificatio
would gen
The Non-
more ofte
sense). (r
Both of th
received.
20. F
th
th
gr

PI System Asset
PI AF trigge
n subsequent h
losed by som
on alert will b
A case where t
s Monitoring
alue was in ex
ourse this is o
At the very bo
Non-repetitio
nd interval is r
ation of cond
on alert even
nerally only b
repetition inte
n than I
remember 1
hese are absol

inally we ha
hen click on
he Notificati
rey its likel
ts & Analytics w
rs when (usin
high values un
e other condi
be sent for ev
this might be
data and you
xcess of the li
only six minut
ottom there
on interval. L
related to the
ditions resultin
if you clicked
be used for ale
erval is a stro
If you notice,
0 minutes is
lute time cloc
ave our trigg
the Tank Ov
ons bar abov
ly your PI No
with PI AF
ng our current
nless the valu
tion (like the
very trigger th
appropriate is
u are required
imit you stil
te data so ther
are two mor
Lets set bot
Notify only
ng in triggers
d the Notify
erts so import
ong filter that
you cant set
still 144 poss
cks there is n
gers and filte
verflow alert
ve it. Click t
otifications s
t example) the
ue dips below
Product chan
hat meets the c
s say you are
to report ever
ll have to repo
re is a limit to
re filtering/tr
th of these fo
on change in
is still true af
only on chan
tant they shou
says No mat
t it for less tha
ible alerts per
no natural s
rs configure
t Note the
that to start y
service is no
e level exceed
w the limit or d
nging). If yo
conditions. T
triggering on
ry value whic
ort the next.
o how many a
riggering opt
or 10 minute
n status box.
fter this perio
nge.. box. Th
uld not be ign
atter what do
an the resend
r day).
setting to mak
ed. Check in
green triang
your notifica
ot running).
ds the limit, b
deadband / re
ou unclick this
This can gene
n six minute C
ch exceeds th
So youd nee
alerts can be g
tions. Resen
es.
The resend i
od of time s
his generates
nored. If they
ont trigger an
interval (that
ke sure anoth
n your work
gle go butt
ation. (If tha
but does not
eset value or t
s option a
erate quite a fe
Continuous
he limit. Even
ed to unclick t
generated her
nt Interval an
interval says
end another
more alerts a
y persist.
nother alert an
t wouldnt ma
her event has b
and
ton on
at is
the
ew
n if
this
re).
nd
that
and
ny
ake
been

21. G
pr
ev
th

Of course
content or
If weve c
generating

Go back to th
roduct and c
valuate whet
he Notificati
e there is muc
r the subscrip
constructed ou
g notification
he Elements
check it in. I
ther / when y
on.
h more we co
tions (well lo
ur triggers an
n alerts?
Note
chan
and s
chan
by ho


and take a lo
Its not likely
you get a trig
ould do with t
ook at that lat
nd filters well,
e the start and
ge the config
start it again f
ges. To start
olding down t
ook at Tank
y the value i
ggered even
this Notificati
ter).
, should we b
stop buttons
uration of a N
for the Notific
t and stop mu
the shift or co
PI Not
A. Select H
is high, is it?
nt look at th
ion. Weve n
be concerned t
on the Notifi
Notification, y
cation service
ultiple notifica
ontrol keys.
tifications Tr
HC1500 as th
? If youd l
he History ta
not established
that we arent
ications bar.
youll need to
e to realize yo
ations 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 m
templates
allow us t
Follow th
bit later. .
1. O
w
2. S
C
N
3. L
L
co
4. In
op
Every not
These opt
Automatic
notificatio
existing e
Automatic
element th
manually.
PI System Asset
Directed A

In t
con
inst
or h
Objectives
Convert our N
Apply this No
emplate
Set the Notific
n the template
Learn a about
h
more than on
apply the sam
to generate m
he instructor d
Open PI System
with that has o
elect our Tan
Convert to No
Notification te
Locate the Tan
Look at the trig
onditions and
n the middle o
ption: Autom
tification is tie
tions determin
cally create a
on rule for eac
lements from
cally create a
hat you create
.
ts & Analytics w
Activity N
this part of th
ncepts present
tructor is doin
hold a quiz. Y
Notification in
otification tem
cation templa
e and set this
Notification
e tank. We sh
me great temp
any Notificat
during this sec
m Explorer an
our tanks datab
nk Overflow N
otification Te
mplate and p
nk Overflow T
gger tab. Not
d rules should
of the screen,
matically creat
ed to an elem
ne what happe
notification f
ch new eleme
m the element
notification f
e from the tar
with PI AF
Notificatio
he class you w
ted in this cha
ng or perform
Your instruct
nto a template
mplate to othe
ate rules for ge
browser optio
hould create o
plate function
tions very effi
ction, well ha
nd select the
base and our
Notification a
emplate As w
lace this Noti
Template in th
te that since T
apply as wel
find the Crea
te a notificatio
ment template
ens when a ne
for each elem
ent that you cr
template mus
for each elem
rget element t
ons Templ
will perform a
apter or sectio
m the same ste
or will have d
e
r like elemen
enerating new
ons.
overflow even
nality from ele
iciently and r
ave the oppor
same PI AF d
tank overflow
nd from its ri
we did with e
ification unde
he Library un
Tank A was b
ll to any other
ation and Star
on for each el
(through the
ew element is
ment and start
reate from the
st be created m
ment: This opt
emplate, but y
ates
a learning acti
on. You may
eps at the sam
directions.
nts which have
w Notification
nts for all of t
ements to No
rapidly
rtunity to wor
database wev
w notification
ight mouse cl
elements thi
er its managem
nder Notificat
based on the t
r tank.
rtup Options.
lement and st
template desi
s created usin
it: This optio
e target eleme
manually.
tion creates a
you must star
ivity to explor
y be invited to
me time. You
e the same ele
ns for new ele
them. Notific
otifications an
rk independen
ve been work
n.
ick menu sele
is will genera
ment.
tion Template
template these
Select the f
art it.
ignated in the
ng that elemen
on creates and
ent template.
notification r
rt each notific
re the differen
o watch what
may play a g
ement
ements
cations
nd
ntly a
king
ect
ate a
es.
e
first
e target eleme
nt template.
d starts a
Notifications
rule for each n
cation rule
nt
t the
game
ent).

s for
new

Do not cre
notificatio
the eleme
Note: For
that you c
manually.
These opt
may resul
5. C
6. R
N
O
7. In
T
se
ot
W
8. R
O
ct
9. It
th
hi
se
N
10. G
ri
lo
th
in
11. B
ta
eate a notifica
on rule for eac
nt template, y
r the automati
create from th
.
tions can very
lt in many new
Check in your
Return to the N
Notifications m
Overflow Tem
n the bottom p
Template). No
elect box is a
ther tanks (ele
When you clic
Returning to th
Overflow Noti
trl to select ea
t can be a littl
he correspond
idden on the f
elect to show
Notification.
Go to the Elem
ight click men
ower part of th
he attributes ta
n the Level co
Back on Notifi
ank? Did it st
ation automat
ch element th
you must crea
c options, PI
he target elem
y conveniently
w notification
work.
Notifications o
menu bar, sele
mplate from th
part of the scr
otice that Tan
menu and if y
ements witho
ck OK it will g
he Browse me
ifications now
ach or shift to
e difficult to t
ding trigger
far right of th
the target nam
ments in the na
nu select New
he next screen
ab select a ch
onfiguration s
ications apple
tart?

tically: If you
hat uses the ta
ate the notific
Notifications
ment template.
y, automatica
n alerts.
option in the
ect New Not
he top part of
reen you shou
nk A has Yes
you explore t
out an existing
generate Noti
enu under No
w. You can st
o select a rang
tell them apar
to avoid this
hat Notificatio
mes it will be
avigation pan
w Child Eleme
n. From the G
hemical for th
string. Refre
et is there an
u choose this o
arget element
cation rule ma
s creates the n
Notification
ally generate m
navigation pa
tification from
the resulting
uld see your t
s under Has
that youll fin
g notification
ifications for
otifications yo
tart them by s
ge) and then p
rt as you have
problem, ther
on bar and it s
e clearer whic
nel. Click on
ent. Select th
General tab, n
e product fiel
sh and check
nother Notific
PI Not
option, you m
template. If y
anually.
notification ru
rules for exis
many new no
ane. From th
m Template.
screen.
tanks (associa
s Existing No
nd a quick way
or you can
the other tank
ou are seeing m
selecting them
pressing the
e to select the
re is a pull do
sets the displa
ch tank goes w
the Tank Far
he Tank Temp
name this tank
ld and make s
in your work
cation genera
tifications Tr
must manually
you create a n
ules solely for
sting elements
otifications, ju
he New menu
Select the T
ated with the T
otifications,
y to select all
n just select th
ks.
many Tank
m all (holding
go button.
em and then l
own menu alm
ay options. If
with which

rm and from i
plate from the
k Tank 9. F
sure there is a
k
ated for the ne
riggering & Fil
Pa
y create the
new element f
r new elemen
s 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 Asset ts & Analytics w

with PI AF

4.6 S
Exercise
C
R
A
Approach
Another c
out of tha
oil (AQ54
well wan
For this le
Notificati
Review th
Empty.
When the
your temp

Solo / Grou

Thi
top
assi
Objectives
Creating a Ne
Review trigge
Apply this No
h
chemical AQ5
t. So we wan
400) is ever b
nt to apply thi
ets build our
on Templates
he steps above
Notification
plate and appl
up Exercis
is is a solo or
ic area. Your
istance during
w Notificatio
ering and filte
otification tem
5400 is lubric
nt to set up a N
elow 5% in le
s rule to all o
Notification
s / New Notif
e as necessary
Template is c
ly to all of the


se Anoth
group activit
r instructor w
g the activity.
on Template f
ering options.
mplate to elem
cation oil and
Notification t
evel for more
f our tanks.
template first
fication Temp
y set the Sta
complete, sele
e tanks.
her Tank N
ty that is desig
will have instru
.
from an eleme

ments which h
we want to b
that if any tan
e than ten min
t directly ou
plate).
ate Group to T
ect New Noti
PI Not
Notificatio
gned to maxim
uctions, and w
ent template t
have the same
be very carefu
nk which cont
nutes we want
ut of the librar
Tank Alerts a
ification from
tifications Tr
on
mize learning
will coach yo
target
e element tem
ul about not ru
tains Lubricat
t an alert. An
ry (Library /
and the State t
m Template se
riggering & Fil
Pa
g in a specific
ou if you need
mplate
unning
tion
nd
to
elect
ltering
age 75
c
d
Building P

Page 76

5. PI A
PI ACE (
easily dev
programm
implemen
which can
and then w
PI ACE is
The PI A
installing
a code gen
your inpu
debug, reg
The PI A
and evalu
results.
The PI A
client whi
Server. It
calculatio
Though P
managed
particular
PI SDK se
In general
the same c
calculatio
triggers in
any appro
PI System Asset
ACE
(Advanced Ca
velop a fully c
ming environm
nted to a flexib
n use read PI
write data bac
s composed o
ACE Wizard
the PI ACE W
nerator and ra
ut and output t
gister, and sch
ACE Schedule
uates the trigg
ACE Manager
ich has privile
t can be used
ns.
PI ACE can re
by the PI Mo
PI server, wh
elected server
l, the PI ACE
computer in t
ns in that DL
n the activity
opriate results
ts & Analytics w
alculation Eng
compiled DLL
ment, Visual S
ble, high perf
data with pre
ck to PI tags.
of three softwa
which is an
Wizard where
apid applicati
tag selections
hedule PI AC
er is the sys
ers, queues th
r is a system
edges to edit t
to start, stop,
ead and write
odule Databas
hich could be
r for the comp
E Wizard is us
the correct dir
LL are schedu
of PI tags or o
s.
with PI AF
gine) is a set
L (dynamic li
Studio in the
forming trigge
cision, calcul

are componen
n add-in to Mi
e there is no c
ion developm
s, and provide
CE calculation
stem service w
he calculation
m managemen
the module d
register and
from any PI S
e (OSIsofts p
considered it
puter that PI A
sed to develop
rectory path o
led, the sched
on a clock sch
of calculation
ink library) us
Visual Basic
ering and sch
late on trigger
nts:
icrosoft Visua
copy of Visua
ment engine wh
es an easy men
ns.
which runs on
ns, performs th
nt tool for PI
atabase of the
reconfigure th
Server it has p
pre-PI AF leg
ts home PI s
ACE is runnin
p PI ACE DL
on the PI ACE
duler will calc
hedule it will
n tools that al
sing Microso
language. Th
heduling real-t
rs of events in
al Studio. Th
al Studio prese
hich generate
nu-driven wa
n a dedicated
he calculation
ACE which c
e designated P
the schedule o
privilege to, t
gacy context d
erver (and it m
ng on).
LLs. These m
E Scheduler.
culate them an
l perform calc
llows an end u
fts world lea
his DLL is th
time calculato
n PI or on the
here is no poin
ent. The Wiz
es objects bas
ay to create, e
or shared ser
ns, and writes
can run on an
PI ACE host
of PI ACE
the scheduler
database) in a
must 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 su
do not hap
queue and
triggered
correct da
or the data
Installatio
When inst
computer
Studio ins
upports a sop
ppen precisely
d when the ca
time. This al
ata and post th
a is changing
on notes
talling it is im
. The PI ACE
stalled. The P
phisticated trig
y when they a
alculation hap
llows PI ACE
hem back to th
.
mportant to re
E Wizard is o
PI ACE Sched

ggering and s
are triggered,
ppens some tim
E to handle ma
he correct tim
alize that not
only useful wh
duler is not in
cheduling sys
the snapshot
me later, the r
any calculatio
me, even if the
all componen
here there is a
ntended for cl
stem, such th
t values in PI
results are po
on and still ac
e scheduler is
nts should be
a copy of Mic
lient/end-user

at if calculati
are stored in
osted back at t
ccurately use
s temporarily
e installed on
crosoft Visual
r computers a
P
Pa
ons
a
the
the
busy

every
l
and
PI ACE
age 77
Building P

Page 78

can cause
Manager c
a PI ACE
install. C
Further th
wizard wh
options th
are still in
There are
different a
customers
instructor
covered in


5.1 W
Schedulin
engine. If
rewrite all
manual re
PIACEPo
aliases int
oriented p
Studio so
developm
Performan
calculatio
you have
across mu
Flexibility
use extern
other lang
write to an
also offer
Context
the PI Mo
High Ava
appropria
redundant
Limitatio
There is n
ACE does
end-user i
PI System Asset
problems if i
can be install
Scheduler.
hoose careful
he PI ACE ins
hich support (
here is no reas
n use and copy
numerous in
applications f
s run it on a s
may be willi
n other classe
Why use A
ng & triggerin
f you need thi
l of the many
ecalculation.
oint object P
to sophisticate
programming
you have the
ment tool.
nce the com
n than Perfor
too many PI A
ultiple PI ACE
y of Applicati
nal databases
guages. You
nother data so
s sophisticate
ACE will all
odule Databas
ailability PI
tely with serv
t/failed over P
ons of PI ACE
no face for PI
s not support
interactivity i
ts & Analytics w
it is scheduled
led anywhere
The Installati
lly.
stallation still
(pre .Net) VB
son to install t
y of Microsof
stallation opti
for PI ACE. M
erver which a
ng to explore
es and docume
ACE? Wh
ng PI ACE i
ings to calcul
y great feature
PI ACE conve
ed objects wi
with PI data
e ease of use o
mpiled ACE *
rmance Equat
ACE calculat
E scheduler en
ion - PI ACE
(with ADO.n
can schedule
ource, or read
ed debugging,
low you to cr
se aliases.
ACE is not o
ver members o
PI ACE engin
E
ACE. Althou
a user interfa
n run time.
with PI AF
d and started
where a PI S
ion allows yo
includes the
B6 calculation
them unless r
fts VB6 is st
ions and arch
Many custom
also runs a PI
e brief questio
entation.
at are its l
implements a
late and post a
es in this engi
erts the PI tag
th easy-to-use
easy. And PI
of Intellisense
.DLLs are mu
tion tags. Eve
tions for one P
ngines.
E supports the
net) and third
e and trigger P
d from anothe
, logging, and
eate one calcu
only compatib
of a collectiv
nes which assu
ugh many ass
ace it only ru
without being
erver manage
u to choose th
legacy PI AC
ns. As no new
rather dated, l
ill available t
hitectures whi
mers run it on a
Server and/o
ons concernin
limitations
terrific, queu
all of the time
ne which incl
gs indicated by
e methods an
I ACE calcs a
e working for
uch higher pe
en with these
PI ACE engin
e entire, rich V
party DLLs i
PI ACE Calcu
er data source
d performance
ulation and ap
ble PI Server H
e, but has the
ure your calcu
sociate VB w
uns in backgr
g configured.
er feels it is im
he componen
CE version 1 s
w installation
legacy PI AC
to maintain th
ich may be ap
a dedicated se
or PI AF. Alth
ng architectur
s?
ued schedulin
e you dont
lude a method
y your PI Mo
nd properties w
are built in M
r you. PI ACE
erforming for
performance
ne you can
VB.Net langu
including thos
ulations that r
and write to
e diagnostics.
pply it to man
High Availab
e ability to sup
ulations will
with easy to de
round and doe
. The PI ACE
mportant to m
nts you want t
scheduler and
could use the
E v1 calculat
hem.
ppropriate for
erver, some
hough your
re that materi
ng and trigger
want to have
d for automat
odule Databas
which make o
Microsoft Visu
E is truly a ra
every kind o
e advantages
spread this lo
uage so you
se written in C
read PI tags a
PI tags. PI A
.
ny tag sets thr
bility workin
pport
always be the
esign forms, P
es 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 is
precursor
significan



s not yet adap
the PI Mod
nt understandi
pted for use w
dule database.
ing of both PI


with PI AF dir
. There are w
I ACE and PI
rectly. It is sti
ways they can
AF (includin
ill very much
n work togethe
ng the PI AF S
h tied to PI AF
er, but this re
SDK).
P
Pa
Fs
quires
PI ACE
age 79
Building P

Page 80

5.2 D
Approach
Install PI
Install the
the exerci
1. (o
to
m
an
de
co
2. (o
in
W
co
3. O
ta
4. (o
on
ho
Z
5. Fr
se
in
th
6. (o
P
w
in
7. Fr
to
P
8. S
E
M
da
sh
P
PI System Asset
Directed A

In
con
inst
or h
h
ACE as nece
e PI Tags & P
ises.
optional) If y
o see that the
menu and selec
nd then option
efault PI serv
omputer) is se
optional) to co
ndicated direc
Wizard for Vis
omponents).
Open the Exce
ab PI Tags
optional) if yo
n the small sq
ome Excel rib
ZZ and after R
rom the PI Ta
elect Export T
nstalled and a
he indicated P
optional) if yo
PI-MDB, an
what: enter Z
nitials. Make
rom the PI-M
o replace ALL
I Server (whi
elect the PI-M
Export Items to
MDBBuilder u
atabase on thi
hould build a
I ACE calcul
ts & Analytics w
Activity P
this part of th
ncepts present
tructor is doin
hold a quiz. Y
ssary
PI Module Dat
your instructor
appropriate P
ct the About
ns. In the mi
ver. Make sur
elected.
omplete the P
ctly INSTALL
sual Studio (.N

el Worksheet
ou are using a
quare in the u
bbon tab selec
Replace with
ags Sheet/Tab
Tags to your P
PI Server yo
PI server - yo
ou are using a
nd select this e
ZZ and after
sure you use
MDB sheet, se
L occurrences
ich is probabl
Module Datab
o your defaul
utility for Exc
is server, if yo
PI-MDB stru
ations.
with PI AF
Preparing
he class you w
ted in this cha
ng or perform
Your instruct
tabase (legacy
r indicates tha
PI Server is th
t PI SDK or
ddle of the PI
re the appropr
PI ACE instal
L ONLY the P
Net), and PI A
C:\Class\Tw
a shared PI Se
upper left corn
ct Find and S
: enter your
b Select the A
PI Server (thi
u can build ta
ou can use any
a shared PI Se
entire sheet an
Replace with
the same stu
elect the entire
s of TRAINX
y TRAINXX
base Builder
lt PI Server (t
cel installed a
ou have prob
ucture in your
for the Ex
will perform a
apter or sectio
m the same ste
or will have d
y context data
at PI ACE ne
he default PI S
any other PI
I-SDK Conne
riate PI server
lation, run the
PI ACE 2 (.N
ACE Manage
wo ACE Exer
erver, then sel
ner of the spre
elect and Rep
r unique stude
Add-ins Menu
s assumes yo
ags to). This
y tag search to
erver, then sel
nd select the R
h: enter your
dent number
e sheet once m
XX with the na
X where XX
fly-out menu
his assumes y
nd you have t
lems tell yo
r designated P
xercises
a learning act
on. You may
eps at the sam
directions.
abase) entries
eeds to be inst
Server. To do
Client and se
ections panel
r (in most cas
e PI ACE inst
NET) Schedul
er (do not inst
rcises.XlsX an
lect the entire
eadsheet cell
place. After
ent number or
u and PI-SMT
ou have the PI
s should build
o confirm this
lect the Selec
Replace func
r unique stud
or intials.
more and use
ame of the de
X is a number b
from the PI-S
you have the
the rights to e
our instructor)
PI Server for y
tivity to explo
y be invited to
me time. You
s as necessary
talled, First, c
o this open th
elect Connecti
you will see t
ses your stude
tall kit from t
ler, PI ACE
tall the PI AC
nd select the f
e sheet (by cli
grid) and from
Find what:
r initials.
T submenu an
I SMT tag bui
d eleven PI tag
s.
ct the second s
ction again. F
dent number o
the Replace o
efault / approp
between 1 an
SMT menu an
PI-SMT PI
edit the PI mo
). This step
your use in co
ore the differe
o watch what
may 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 Visu
characteri
Server (fo
Executabl
Module
Select the
Input tag:
Output Ta

Write th
PublicO

CDT158

endsub

Test from

Register

PI System Asset
Directed A

In t
con
inst
or h
Objectives
Build a new P
Register it and
Description:
is in Celsius,
h
ual Studio 20
istics:
or PI-MB): T
le (Filename)
(Calculation)
e tags
CDT158
ag: CDT158
he Code:
OverridesS
8_DegF.valu
m the PIAC
r with the sch
ts & Analytics w
Activity S
this part of th
ncepts present
tructor is doin
hold a quiz. Y
PI ACE calcul
d test it
:
wed like ano
008 and creat
TrainXX (y
: ACE_EX
): TempCon

.degF
SubACECalc
ue = ( CDT
E menu
hedule set to
with PI AF
Simple PI
he class you w
ted in this cha
ng or perform
Your 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 ste
or will have d
ads from one t
ating in Fahre
ACE applicat
workstation /
* 9/5 ) + 32
n tag CDT15
culation
a learning acti
on. You may
eps at the sam
directions.
tag and write
enheit
tion with the
/ PI Server)

58
ivity to explor
y be invited to
me time. You
s to another
following
re the differen
o watch what
may play a g
nt
t the
game

Note: PI a
top of you
PIACEPO
(the actua

allows many
ur code is a co
OINT object n
al tagname wa
more options
omment block
names. In thi
as not change


s in naming ta
k that shows h
is case CDT1
d).
ags than VB.N
how PI ACE
58.DegF was
Net offers in n
has adapted y
s changed to C
naming objec
your PI Tags
CDT158_Deg
P
Pa
t variables. A
into
gF within the
PI ACE
age 83
At the
code
Building P

Page 84

5.4 T
Before PI
tool, the P
of objects
that PI AF
Property (
without a
The PI M
the PI mo
they offer
PI Propert
also based
Although
wont list

In 2010
a PI Syste
automatic
legacy PI
single PI A
Database.

PI System Asset
The PI Mo
-AF was rele
PI-Module Da
s called modu
F would call a
(which would
selected data
odule Databa
dules alike (u
red an interch
ties which we
d on the PI M
the PI Modu
them, PI AC
OSIsoft relea
em (PI AF Ser
c with the upg
Module Data
AF element in

ts & Analytics w
odule Data
ased in 2008,
atabase. The
ules (simpler v
attributes th
d accept vario
a reference).
ase did not hav
using the PI M
hangeable indi
ere very valua
Module Databa
le Database is
E still benefit
ased PI Serve
rver) using th
grade to this v
abase is stored
n PI AF. Thi
with PI AF
abase Co
, PI Servers in
e PI Module D
versions of ele
he alias (an in
ous kinds of en

ve templates
MDBBbuilder
irect referenc
able to PI AC
ase.
s not nearly a
ts from using
er 2010 which
he PI AF link
version of the
d in a designa
is will allow f
ontext Befo
ncluded with
Database is a s
ements) whic
direct referen
ntered values
to keep the m
r for Excel a
e to PI Tags a
CE. OSIsofts
as powerful as
the PI Modu
h hosted the le
synchronizat
PI Server and
ated PI AF Da
for the orderly
fore PI-AF
a similar, but
single root hi
ch had only tw
nce / pointer t
s similar to a
modules alike
a precursor to
and context in
s PI Batch imp
s PI AF in so
ule Database.
egacy PI-Mod
tion tool. The
d it provides
atabase under
y retirement f
F
t much simple
ierarchical da
wo types of th
to a PI tag) an
an attributed
but if you b
o PI AF Build
nformation in
plementation
many ways w

dule Database
e synchroniza
that the singl
r a designated
for the PI Mo
er
atabase
hings
nd the
built
der),
n the
s are
we

e into
ation is
e root
d
dule

Through t
Attributes
Data refer
properties
elements c
Database
be used as
If time pe
AF Synch

the PI AF Lin
s and the PI-M
rence and Tab
s in the PI-MD
can be built in
modules. An
s PI AF eleme
ermits the inst
hronization.
nk - the PI-MD
MDB Properti
ble Lookup D
DB. With the
n this single r
nd legacy mo
ents.
tructor can de


DB aliases ar
ies are PI AF
Data Referenc
e limitations o
root by templ
odule database
emonstrate the
e built as sim
Attributes wi
e attributes ar
of the PI-Mod
ate and they w
e structures b
e PI AF Link
mple PI Data R
ithout Data R
re labeled as
dule Database
will result in
built with the P
and PI Modu
Reference
Reference. Fo
not supporte
e in mind PI
usable PI Mo
PI 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 u
calculatio

Problem
We have P
are interes
the level t
display w



Approach
1. O
Select the
Add a re
OSIsoft.

At the top
PI System Asset
Solo / Grou

Thi
top
assi
Objectives
use the PI AC
n to multiple
Description:
PI tags for the
sted in having
tags and descr
which shows v
h
Open Visual
e aliases
eference (Pr
PISDK
p of the code (
ts & Analytics w
up Exercis
is is a solo or
ic area. Your
istance during
CE Wizard, Sc
contexts in th
:
e five tanks in
g volume. S
ribe the capac
volume. Wed
Studio and c
Server (for
PI Server)
Executable
Module (
(neither the
and they ca
Context:
PI Module
Input alias
Output ali
(select the f
to search am
Select the f
as an Outpu
roject menu
(with the Imp
Imports P
with PI AF
se PI AC
group activit
r instructor w
g the activity.
cheduler, & P
he PI-Module
n a tank farm
Someone else
city and using
d like to have
create a new
r PI-MB): T

e (Filename)
(Calculation)
e Executable n
ant be the sam
\\TrainXX
database thro
s: Level
ias: Volume
first input row
mong Tank1
first output ro
ut alias (you c
\ add referen
ports statemen
PISDK
CE with C
ty that is desig
will have instru
.
PI-ACE Mana
e Database
which show
has built a PI
g this to suppo
this volume
w PI ACE ap
TrainXX
): ACE_EX
): TankFar
nor the modu
me)
X\TankFarm
ough the searc

e
w, select Alias
s aliases wh
w and repeat
can also just t
nce \ .Net re
nt that is alrea
ontext
gned to maxim
uctions, and w
ager to apply
percentage le
I-Module Dat
ort a PI Proce
calculation h
pplication a
(your trainin
X2
rm
ule can have a
m\Tank1 (s
ch function)
s Search, and
hen Level is d
this process t
type these in)
eferences) to
ady there):
mize learning
will coach yo
a simple ACE
evel filled, bu
tabase to asso
essbook datas
istorized in a
as follows:
ng workstati
a blank in the
select this from
d enter an aste
displayed sele
to assign Vol
)
o the
g in a specific
ou if you need
E
ut we
ociate
set and
tag.
ion /
name
m the
erisk
ect it.
lume
c
d

Write the
PublicO
Dimpim
Dimdbl

pimdTank
dblCapac
Volume.v

Endsub
This code
currently
Context
Module n
and finds
extract the
variable.
PIACEPo
completio
Test from


In the PI A
\TrainXX
Note that
If everyth
/manage o
applets.
Right Mo
Schedule
Wait a mi
Still in th
With your
Select T
e Code:
OverridesS
mdTankasP
lCapacitya
k=getPIMo
city=pimd
value=(Le

e declares an o
running PI M
which during
name. The get
the actual mo
e value of the
That is used
ointObject Vo
on.

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 M
r Tank1 conte
ankFarm (t
Imports O

SubACECalc
PImodule
asdouble
odulefromPat
dTank.PIPro
evel.value/1
object of type
Module to the
g run time is
tPIModulefro
odule and assi
e Capacity Pro
to calculate th
olume which
E menu, if th
ger, open the t
TrankFarm a
le and module
is likely the P
nel administra
d select Edit
ion with natu
and press refre
Manager,
ext, right mou
the parent mo

OSIsoft.PIA
ulations()
th(Context)
perties(Ca
100)*dblC
e PIModule an
Object by usi
given the valu
omPath metho
igns it to the
operty from th
he volume an
h will then wr
he test is suc
treeview to se
and \\TrainXX
e are green, b
PI ACE servi
ative tools ser
Schedule &
ural schedulin
esh, does the
use click and
odule of the ta
ACE.PIACE
)
apacity).v
Capacity
nd a simple an
ing the PI AC
ue of the curr
od of PIACEB
declared obje
he Module an
nd assign it to
rite it to the in
ccessful you
elect your con
X\TrankFarm\
but the contex
ce is not runn
rvices applet o
Priority
g on the inpu
status go gr
select Apply
anks) and clic
EBIFunction
value
nalog variabl
CE assigned st
rently assigne
BIFunctions t
ect variable. T
nd assign it to
the value of
ndicated outp
u can close V
ntext
m\Tank1
xt is grey
ning. You ca
or the PI-SMT
ut alias: level
reen & on?
y Schedule to
ck Close
ns
le. It assigns
tring variable
ed context th
takes that stri
This is used t
o the simple lo
the
put tags upon
Visual Studio
an start it from
T 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 result
select Ap
In a minut
(optional
(Create a
draw a re
all tags th
the Excel
values up
updating

(optional
ACE_EX
the end ti
PI-Proce

PI System Asset
ting list shoul
pply
te or two all f
l) Check out
a new .PDI d
ectangle fr
hat have the
l sheet when
pdate. Optio
values.
l) Using the
X2 and recal
ime and leav
ssbook?
ts & Analytics w
ld show the o
five tanks sho
t the updatin
document, se
om the resul
Pointsource
n we built the
onally you
PI ACE Man
lculate it for
ve the interv

with PI AF
ther tanks wh
ould turn gree
ng values for
elect the ha
lting menu s
e ACE (thi
e tags). Clic
u can just use
nager, right
r the past 3 h
al blankdi
hich have mat
en and on
r all the tank
ammer tool
elect the tag
is is not auto
ck okay to bu
e tag search
mouse click
hours. Use *
id the data re
tching aliases

k tags in PI P
and then the
g search butt
omatic it w
uild the tren
and PtValue
k on the exec
*-3h as the s
ecalculate / b
s and properti
Processbook
e trend tool
ton and searc
was 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 Totaliz
difference
1. Wha

2. Wha

3. My C





4. Wha





Any other



Group Que

The
new
you

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 qu
w insight. Yo
ur own or hav
ta reference, P
PI ACE are a
similarities.
story (calculat
apply the sam
s complex and
change the ca
PI Calculatio


Which Cal
uestions are i
our 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 re
may 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 in
to have you tr
together 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, o
ry to answer t
oud.
ags,
They have ma
of each tool?
lar things?
ficient option
work best for t
P
Pa
cussion)
or to discover
the 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 Notific
to subscri
With the s
Email, OC
6.2.1 E
To config
and then
Select the
There are
discussed
dedicated
personnel
will indic
For our pu
configura
subscriber
accurate:
enter a Ba
PI System Asset
tificatio
Group Que

The
new
you

s
any of our tan
is were an act
PI Notifica
cations Delive
bers.
standard insta
CS/Lynx, and
Email/SMTP
gure the Ema
select Tools
e Email Deliv
only a few op
in the install
SMTP Posta
l who manage
ate which ser
urposes we w
tion here even
rs. For this re
PostServer.P
ackup SMTP
ts & Analytics w
ns Part
estions C
e following qu
w insight. Yo
ur own or hav
nks generate O
tual implemen
ations Deli
ery Channels
allation three
d Webservice.
Delivery Ch
ail Delivery C
and Notifica
very Channe
ptions. The f
ation of PI N
al server for N
e the existing
rvers and port
will not be sen
n if it is dysfu
eason enter
PISchool.Int.
server.
with PI AF
2
Checking o
uestions are i
our instructor
ve the group a
Overflow or E
ntation, would
ivery Chan
provide for th
delivery chan
.
annel
Channel, sele
ation Settings
el and right m
first is the SM
Notifications,
Notifications,
postal service
ts to use for th
nding e-mail n
unctional in o
a FQDN for
Do not test t
on our tan
intended to re
may choose t
answer them t
Empty alerts?
d this be an ap
nnels
he mechanism
nnels are insta
ect Notificati
s. The last ta
mouse click to
MTP Server an
it is almost ne
but rather one
es to use PI N
he primary an
notifications i
order to add e-
a postal addre
this (as it won
nk notifica
einforce key in
to have you tr
together out lo
? How can w
appropriate lev
m by which al
alled with PI
ion from the
ab Is Deliver
o select Setti
nd the backup
ever advisabl
e should coor
Notifications w
nd backup SM
in the class, bu
-mail / Active
ess here even
nt work). Yo
ations
nformation, o
ry to answer t
oud.
we check?
vel of alerting
lerts are deliv
Notifications
navigation p
ry Channels.
ings.
p server. As
le to install a
rdinate with th
with them. T
MTP Servers.
ut we will req
e Directory
n though it is n
ou do not hav
or to discover
the questions
g?
vered
s:
pane

he I.T.
They

quire a
not
ve to
r a
on

The next o
almost all
can literal
advisable
Email as i
not a real
elses add
address lik
sending a
At the bot
server and
removed p
these time
who mana
Once you
by Active
subscriber
6.2.2 O
The next s
sophistica
delivery c
Office Co
Lynx, this
The PI No
Delivery C
installatio
configurin
Relay Ser
Channel a
a connecti
Web servi
triggered.
robust sec
As with th
the naviga
find Deliv
select Sett
domain na
OCS Serv
an optiona
servers wi
cooperatio
option is send
l computer au
lly send with
to specify a s
it will preven
address will w
dress and that
ke DoNotRep
ddress.
ttom of this p
d switching to
part of the co
eouts will be i
ager your pos
u have set up t
e Directory. L
rs dont have
OCS Delivery
standard Deli
ation delivery
channel provid
ommunicator
s can be a pow
otification De
Channel and t
on packages. T
ng contacts to
rvice is an app
and a Microso
ion with the M
ice that takes
This separat
curity model.
he Email chan
ation pane. Se
very Channels
tings. The co
ame in the sty
ver. And set t
al backup OC
ill support HT
on of the I.T.
der Email. A
utomated Ema
anything and
sender Email
t them from e
work but if
could cause p
ply@PISyste
anel is the op
o the backup p
rporate intran
insufficient.
stal servers.
the Email Del
Later when di
entries or em
y Channel
ivery Channel
y of messages
des for integr
(now called L
werful way to
elivery Chann
the PI Notific
The OCS Del
o subscribe to
plication that
oft Office Com
Microsoft Off
requests from
tion of respon
nnel configur
elect Tools/N
s. Right mou
onfiguration h
yle. LYNXSe
the port. You
CS Relay host
TML encodin
personnel res

surprising ch
ailing program
d SMTP does
address here
entering probl
f users are giv
problems. Fo
em.Int and d
pportunity to
postal server.
net or you are
You can set t
livery Channe
iscussing cont
mail addresses
l is the OCS/L
to the Micros
rated email an
Lynx). For th
o connect peop
nel consists of
cations OCS R
livery Channe
receive notif
serves as an i
mmunications
fice Commun
m the OCS De
nsibility perm
ation is straig
Notification Se
use click on th
here is even s
erver.MyCom
u have the opt
t with the sam
ng in the mess
sponsible for
haracteristic o
ms is that the
not check. F
and disable t
lematic addre
ven the choice
or our purpose
disable the ab
set the timeo
Unless your
using a cloud
them in coord
el most Email
tacts will sho
s in Active Di
Lynx Deliver
soft Office Co
nd instant mes
he companies
ple to the pro
f two compon
Relay Service
el is a plug-in
fications via i
intermediary
s Server. The
nications Serv
elivery Chann
mits more flexi
ghtforward. S
ettings from th
he OCS Deliv
simpler. Set t
mpany.com) to
tion of encryp
me parameters
sages. Set the
your OCS/Ly
of the SMTP s
sender is not
or this reason
the ability for
esses. Even a
e they could
es well enter
bility of users
outs for sendin
r only postal s
d based mail
dination with
l addresses sh
w how to setu
irectory.
ry Channel, w
ommunicator
ssaging alerts
s that use Mic
ocess.
nents: the PI N
e. These are tw
n for PI Notifi
instant messag
between the
e OCS Relay S
ver to send me
nel when a ne
ible installati
Select the Not
he menu on th
very Channel
the FQDN (fu
o your compan
pting the conn
s for it. In mo
ese parameter
ynx servers.
standard used
validated. Y
n it may be
r users to set t
an address wh
d enter someo
r a characteris
to set a custo
ng to the post
servers are on
server it is un
the I.T. perso
hould be prov
up those
which provide
r service. Thi
s to clients lik
crosoft OCS
Notifications
wo separate
ications for
ge. The PI OC
OCS Deliver
Service: Main
essages and h
ew notificatio
ons and a mo
tifications opt
he last tab yo
in the listing
ully qualified
nys configur
nection. Ther
ost cases OCS
rs 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
oull
and
red
re is
S
Part 2
age 91
Building P

Page 92


As the OC
and so do
We will n
configure
6.2.3 W
To use thi
that is ava
commerci
to develop
Unlike the
the Notifi
the Web S
section of
PI System Asset

For
Deli

For
Notif
CS server gets
es PI Notifica
not be using th
it.
Web Service D
is delivery ch
ailable to you
ially available
p custom Web
e other two de
cation/Tools/
Service delive
f the PI System
ts & Analytics w
more informa
ivery Channe
more informa
ifications OCS
s information
ations, it is im
he OCS Deliv
Delivery Cha
hannel you mu
r PI Notificat
e, and many d
b services.
elivery chann
/Notification
ery channel is
m Explorer.
with PI AF
ation see "Ad
l User Guide
To a
need
datab
spec
mess
endp
spec
deliv
The
infor
send
spec
deliv
a not
if the
of th
ation see "OC
CS Delivery Ch
n concerning p
mportant that t
very Channel
annel
ust first obtain
tions Schedul
development
nels, the web s
Settings/Deliv
s in the delive
dministration"
, version 1.1,
apply the OCS
d to create a D
base. You ca
ify which one
sage delivery.
point, configu
ify under wha
vered to a reci
OCS Deliver
rmation from
d an instant m
ify the levels
very endpoint
tification is tr
e presence of
he checked pre
CS Specific C
hannel User G
potential recip
they are both
further in the
n a Web servi
er Service. Th
environments
service chann
very Channel
ery endpoints
" in the PI No
pp. 11-14.
S Delivery Ch
Delivery endp
an build multi
e to use to cus
. For an OCS
uration option
at circumstan
ipient over in
ry Channel co
OCS to decid
message. The s
of presence f
t should receiv
riggered, a me
f the subscribe
esences.
Configuration"
Guide, versio
pients from A
on the same
e class and we
ice and host i
here are many
s offer templa
nel has no con
l listing. All
configured in
otifications OC
hannel, you w
point in the co
iple endpoints
stomize the
S delivery
ns are availabl
nces a messag
nstant messag
onsumes prese
de whether to
selected prese
for which this
ve message. W
essage is only
er is online or
" in the PI
on 1.1, pp. 6-8
Active Directo
domain.
e wont need
it on a Web se
y Web servic
ates and other
nfiguration fr
configuration
n 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 insta
clicking o
name and
form:
The web s
you can se
Note: Eac
no global
We will n
6.3 P
Configur
Use the C
rule to pop
notificatio
subscripti
to be deliv
message,
the data th
be sent wi
Standard
about the
underlyin
content fo
removed o
Name: Th
which fire
Descripti
notificatio
Target: T
alling a Webs
on Delivery E
d select WebS
service should
et a default va
ch delivery en
configuration
not be configu
PI Notifica
re the conte
Content tab of
pulate and cu
on message. E
ion can reques
vered with the
and the Cont
hat will be co
ith the notific
content is gen
notification a
g trigger. The
or a notificatio
or edited. It in
he name of th
ed
ion: The desc
on which fired
The name of th
service, create
Endpoints and
ervice from th
d populate the
alue for each
ndpoint with a
n parameters
uring a Web s
ations Con
ent of a Noti
f a notificatio
ustomize the
Each
st different da
e notification
tent tab lists a
llected and m
cation messag
neral informa
and the
e standard
on cannot be
ncludes:
he notification
ription of the
d.
he target

e a delivery e
selecting New
he Delivery c
e list of param
one.
a Web service
for this delive
service deliver
ntent and M
ification
on
ata
n
all
may
ge.
tion
n

endpoint in th
w Delivery E
channel menu
Web
URL
valida
Web
Web
servic
Defau
defau
down
meters which
e delivery cha
ery channel.
ry channel in
Message F

he contacts are
Endpoint. Giv
u. You shoul
Service Addr
of your Web
ate the conne
Services butt
Service: Sele
ce from the d
ult Web Meth
ult Web metho
n menu.
the web serv
annel is auton
n this class.
Formatting
ea by right mo
ve your endpo
ld see the foll
ress: Enter the
b service. You
ection using th
ton.
ect your Web
drop-down me
hod: Select th
od 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
Escalatio
notified re
Priority:
Along wit
automatic
moment o
If a PI We
which sho
added to t
To add ad
Constant
to the noti
Attribute
value from
database.
Web Link
Clickable
report.
Web Link
Clickable
page.
Web Link
File: A fil
File Link
Universal
\\Compu

PI System Asset
hat caused thi
me: The time a
e: The time a
Time: The tim
e state associ
n Level: If yo
egarding this
The priority a
th the standar
cally be added
of the notifica
ebParts server
ows you a tren
the content of
dditional cont
t Value: Any
ification mess
e Value: Any
m any elemen
k >RtRepor
link to an Rt
k >PI WebP
link to a PI W
k >Other: C
le that can be
k: Clickable li
l File Conven
terName\Sh
ts & Analytics w
is excursion.
at which the v
t which the v
me at which th
ated with the
ou are using a
excursion.
associated wi
rd content, all
d in the Trigg
ation can then
r was configu
nd of inputs a
f 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. T
tion (UNC) fi
haredFolder

with PI AF
value first ent
alue left the a
his notificatio
trigger condi
an escalation
ith the trigger
l inputs used i
ger Input sec
n be added to t
ured with PI N
and outputs fr
ion.
Add button a

to any Web p
an email using
The file link c
file path of the
r\File.
tered the alert
alert state.
on event was s
ition.
queue, the nu
r condition.
in the notifica
tion. The valu
the notificatio
Notifications ,
rom the notifi
and select the
page.
g the email de
cannot be a lo
e form
t state.
sent.
umber of peop
ation rule trig
ues of these in
on message.
, a link to a P
ication rule w
e content to ad
elivery chann
cal file path.
ple who have
gger will
nputs at the
PI WebParts tr
will automatica
dd:
nel.
It must be a
e been
rend
ally be


6.4 P
6.4.1 P
Normally
configure
of enterin
cases thos
You can c
Directory
computer
Active Di
6.4.2 S
Because A
only by se
Contacts s
will be ret
implemen
By defaul
subscribed
Notificati
the Globa
search and
PI Notifica
PI Notificatio
PI Notificati
d domain Act
ng all of this p
se subscribers
configure PI n
y Properties
running the P
irectory serve
earching for
Active Directo
earching for t
section of the
turned. If bo
nted, Active D
lt, only AD us
d to a PI notif
ons view in th
al Configurati
d subscribe A
ations Con
ns and Activ
ons will get th
tive Directory
potential subsc
s and their inf
notifications
from the Con
PI Notificatio
er through DH
r Contacts
ory databases
hem. To sea
e PI System E
oth the SMTP
Directory will
sers will be re
fication by m
he PI System
on tab. Chan
AD groups, as

ntacts, Act
ve Directory
he contacts it
y. This preve
cribers and th
formation wil
access to Act
ntacts open in
ons service is
HCP and will
If config
FQDN o
domain i
s can be very
arch, click on
Explorer and e
P/Email and O
show entries
eturned from
modifying the P
Explorer, sel
nge the ShowA
well as indiv
ive Direct
t needs for ma
ents you from
heir contact in
ll already be i
tive Directory
the PI System
on a domain,
configure itse
guration is nec
f the Active D
identity PI No
large, you can
New Search
enter a wildca
OCS/Lynx del
s for both.
a search. AD
PI Notificatio
lect Tools >N
ADGroups pr
vidual contact
tory, & Su
any delivery c
m having to do
nformation be
in the active d
y by selecting
m Explorer, h
it will usuall
elf and this is
cessary you c
Directory / DN
otifications w
an use Active
h under cont
ard search. A
livery channe
D groups can a
ons settings. U
Notifications
roperty to Tru
ts, to a notific
ubscription
channels from
o the tedious t
ecause in mos
directory data
g Tools >Ac
however if th
ly just find th
s unnecessary
an specify the
NS server an
will use.
Directory ent
tacts in the
Appropriate re
els are
also be return
Using the
Settings and
ue. You can n
cation.
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 Di
This may
send Noti
Databases
Try this o
1. T
C
2. If
w
3. If
do
th
4. C
5. S
st

6.4.4 C
A group i
recipients
To create
descriptio
click on th
right mou
drag your
groups.
PI System Asset
Custom Conta
who dont ha
irectory (whic
be appropriat
fications to. C
s on a PI Syst
out:
To Create a Cu
Contacts at t
f youd like en
weve not conf
f youd rather
omain, like E
he same one
Check in your
earch for you
tring.
Contact Grou
s an unordere
. Notificatio
a new group,
on. Click on t
he Contacts it
use click on th
r choice into t
ts & Analytics w

acts
ave entries in
ch is worth pu
te for vendors
Custom Conta
tem.
ustom Contac
the top of the
nter your own
figured a vali
r not, enter the
EmmaStone@
remember th
work.
ur entry by cre
ups
ed collection o
on messages a
, right-click o
the Active Dir
tem at the top
he Contacts ite
he center pan
with PI AF


In most OSIs
return the stu
domain. Try
Active Direc
ursuing), you
s or others no
acts (like U-o
ct, select conta
browser wind
n name in the
d postal serve
e name of you
@Zombieland.c
hese are globa
eating a new s
of delivery en
are sent to all
on Groups and
rectory icon a
p to search an
em at the top
nel below you
soft classroom
udent account
y this
ctory or if you
can enter Cu
ot in your com
o-Ms and Stat
acts from the
dow and selec
contact and s
er you should
ur favorite ac
com (dont u
al).
search and en
ndpoints whic
members of t
d select New
and select gro
d then highlig
of the right h
ur new group.
ms you can se
ts setup in the
u dont have a
ustom Contact
mpany who yo
tes) are availa
Navigation p
ct New Con
specify your E
d not receive m
ctor and make
use this one o
ntering an app
ch includes A
the group sim
Group. Enter
oups or endpo
ght your choi
hand pane to s
You can pu
earch for STU
e classroom
access to your
ts one at a tim
ou may still w
able to all PI
pane, right cli
ntact
Email Addres
mail.
e up an email
or well all bu
propriate sear
Active Directo
multaneously.
r a name and
oints or right m
ce and click O
search and th
ut 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 c
uniquenes
addresses
6.5 S
To subscr
Subscripti
hand searc
Try this o
1. In
yo
2. F
Su
3. S
D
4. C
5. G
N
B
6.6 M
Now that
notificatio
Explorer t
Select My
recent no
There are
adds a not
To install
DesktopA
Unless yo
the Notifi
6.7 A
When you
and trigge
notificatio
includes s
out.
custom group
ss and then ad
into the grou
Subscriptio
ribe contacts,
ions tab of yo
ch panel to ad
out
n PI System E
our tanks and
ind the Tank
ubscriptions t
earch for eith
Directory and
Check in your
Go to Notifica
Notifications.
Browser.
MyPI and
you are subsc
ons history fo
that place is M
yPI and then
otification ale
views simila
tification to y
this, go to \P
Alert executab
ou are subscrib
cation config
Acknowled
ur implementa
ers, you may w
ons are read a
several functio
named Group
dd your custo
up.
ons appl
endpoints, or
our Notificatio
dd contacts, e
Explorer conn
d tank notifica
Overflow No
tab.
her your custo
your custom
work.
tions in the N
Stop and Sta
PI Notific
cribed, you sh
or all of your s
MyPI.
n use the pull
erts and notif
ar to this in PI
your Windows
Program files\
ble. Configur
bed for a Not
guration.
dgements,
ation of PI No
want to imple
and acted on.
onalities whic

pXX where th
m contact and
lying this t
r groups to yo
on or Notifica
endpoints, or g
nect to the PI
ations.
otification Tem
om contact gro
contact and p
Navigation Pan
art them with t
cations in P
hould be able
subscribed no
l down menu
fication histo
I Processook a
s task bar wit
PIPC\Analyti
re it by clickin
tification you
Comment
otifications is
ement procedu
For this PI N
ch require or
he XX is you
d your Active
to your no
our notificatio
ation Templat
groups to you
System and P
mplate in the
oup or your S
put the email a
ne and select
the controls a
PI Clients
to review the
otifications in
u to look for a
ories.
and PI Datalin
th a pop MyP
ics (or \progra
ng right on th
can only see
ts, & Esca
s mature and y
ures to assure
Notifications
permit user re
ur student num
e Directory st
otification
ons, simply go
te and use the
ur notification
PI AF databas
Library and s
Student name
addresses in a
the matching
at the top of th
s
e active notifi
n one place. In
active notific
nk. There is
I display whe
am files (x86
he task bar ico
the history o
alation Tea
you are confi
e that your im
has acknowle
esponse to no
mber or initial
tudent name e
s
o to the
e icon or the r
ns.
se you used to
select the
in Active
as subscribers
g Tank Overfl
he Notificatio
fications and
n PI System
cation alerts,
also a deskto
en there are al
6)) and run
on.
on the history
ams
ident of your
mportant and r
edgements, w
otifications.
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 r
Notificati
flexibility
Notificati
similar in
required a
Note: Aut
industry th
For the N
Subscripti
similar pu
number o
When you
have two
If you hav
and a link
that web s
The PI No
event but
this way t
Subscribe
or PI Desk
acknowle
6.7.1 T
must be a
server. In
PI Notific
domain fi
6.7.2 C
Acknowle
page. If s
they can s
subscribed
required o
Try this o
If you hav
selecting
6.7.3 E
An escala
a specified
PI System Asset
require ackno
ons, or in the
y, it may be be
on Templates
all cases. Fo
acknowledgm
to (auto-ackno
hat indicates
otification or
ions tab and r
ull down menu
f subscribers)
u check in you
consequences
ve configured
k added to the
server.
otification sch
also the time
the subscriber
ers can acknow
ktop Alerts N
dge by replyi
The Acknowle
dedicated Int
n order to wor
cations schedu
rewall (on the
Comments
edgers can lea
someone is att
still leave a co
d to from My
or not.
out:
ve notification
Add Comme
Escalation Te
ation team is a
d time period
ts & Analytics w
wledgements
configuration
est to decide o
s that would b
or the Group
ments (up to th
owledged) is
an acknowled
Notification
right mouse c
u to select the
).
ur changes (a
s:
d an acknowle
e-mails sent
heduler will n
at which the
rs performan
wledge throug
Notifications d
ing with an e-
edgement IIS
ternet Inform
rk properly it
uler by a firew
e internet) the
ave comment
tempting to a
omment. Any
yPI or similar
n alerts in My
ent to add a
ams
a delayed deli
d has elapsed a
with PI AF
s in the config
n of Notificat
on one place
be most logica
there is a pul
he total numb
a legacy term
dgement is no
template, sele
click to select
e number of r
and restart the
edgement web
for this notifi
not only track
requisite num
nce in respond
gh the web pa
displays, or th
-mail.
S/Webserver
mation Server o
cannot be sep
wall. If subsc
e web server w
ts about the n
acknowledge a
y subscriber c
PI Client win
yPI or another
comment.
ivery group w
and the ackno
guration of gr
tion templates
to configure t
al and efficien
l down menu
er in the grou
m from the con
ot required.
ect the Subsc
options. The
required ackn
e notification)
b / IIS server,
fication to per
k the start and
mber of subsc
ding to the ale
age, through t
hrough PI syst
r
or a dedicated
parated by the
cribers want to
will have to b
notification ale
an event alrea
can leave a co
ndows, wheth
r MyPI try rig
which receives
owledgement
roups, in the c
s. Although
them and if y
nt place. Con
u to select the
up).
ntrol and inst
criptions line o
ere youll be p
nowledgement
), the acknow
, a page entry
rmit acknowle
end time of t
cribers acknow
ert is recorded
the PI Proces
tem Explorer
d pool and po
e Active Dire
o acknowledg
be visible from
ert event thro
ady sufficient
omment on an
her acknowled
ght clicking o
s alerts on a n
t requirement
configuration
this can be u
you are using
nfiguring them
number of
trumentation
on the
presented wit
ts (up to the t
wledgement wi
y will be confi
edgement thro
the notificatio
wledge the al
d.
ssbook, PI Da
r. They canno
ort on a shared
ectory users o
ge from outsi
m there.
ough the web
tly acknowled
ny event they
dgements wer
on the event a
notification on
is 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
escalation
clear.
When a n
acknowle
the escala
Building e
subscriber
escalation
receive al
If you wa
that the fi
alert you


delay is built
n team with th
otification ale
dgement requ
ation team wil
escalation tea
rs area of not
n teams to a n
erts.
nt to have add
rst escalation
u can just add
into the grou
he delay in the
ert is sent to i
uirement is no
ll be sent aler
ams is very sim
ifications or n
otification tha
ditional escal
n team does no
d another team

up (not the ack
e title (i.e. M
initial subscrib
ot satisfied by
rts which will
milar to build
notification te
at does not re
ation teams w
ot acknowled
m with a long
knowledgeme
Management T
bers a timer i
y the time the
be labeled as
ding groups an
emplates to im
equire acknow
which will rec
ge or encoura
ger timer.
ent). You cou
Team 20 minu
is started and
escalation te
s escalation al
nd you can in
mplement them
wledgements,
ceive alerts in
age acknowle
uld even nam
utes) to mak
if the
ams timer is
lerts.
nclude them in
m. If you add
they will nev
n the eventual
edgement 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 i
Enumerat
identity. E
as a secur
Windows
The secur
table. The
permissio

Permiss
Read

Write

Delete
Admin
PI System Asset
ore PI A
PI AF Obj
n AF is tightl
tions Sets, )
Each AF obje
rity descriptor
users and gro
rity permissio
e available sec
ns for.
sion
ts & Analytics w
AF
ject Secur
ly bound to w
) and their eff
ct has a set of
r, this informa
oups.
ons that you ca
curity permis
Definiti
The abil
permiss
The abil
have Wr
cannot m
of the sp
The abil
The abil
object.
with PI AF
rity
windows secur
fective permis
f access contr
ation controls

an specify for
sions depend
ion
lity to read or
ion, it is not p
lity to create a
rite permissio
modify any ob
pecific permis
lity to delete a
lity to modify
rity. AF objec
ssions are bas
rol informatio
s the type of a
Not
perm
user
mai
is re
assi
user

r AF objects a
on the type o
r see the objec
possible to ob
and modify a
on on the AF
bject within th
ssion on that
an object.
y the security
cts (Elements
sed on the Wi
on associated
access allowe
te: It is prefer
missions to gr
rs. Because it
intain user acc
ecommended
ignment of pe
r-by-user basi
are described
of object you
ct. Without th
btain the objec
an object. If u
Database, the
the database, r
object.
settings, or o
s, Tables,
indows user
with them. K
d to a set of
rable to assign
roups instead
t is inefficient
counts directl
that the
ermissions on
is be the exce
d in the follow
are 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
Subscrib
Others

You can s
create new
security. W
becomes i
The follow
(PI System
(dark) box
ta
ata

be
be
set permission
w objects, exc
When you cre
its default sec
wing chart sh
m). Yellow (l
xes are collec
The abil
of Elem
The abil
attribute
The abil
The abil
oneself.
The abil
notificat
ns for individu
cept for child
eate a child el
curity.
hows the avail
ight) boxes ar
ctions availabl

lity to read da
ments.
lity to write d
es.
lity to run ana
lity to subscri

lity to subscri
tions.
ual AF object
elements, the
lement, the se
lable securabl
re collections
le at the AF D
ata reference v
data reference
alysis cases.
ibe and unsub
ibe and unsub
ts or for colle
e collection se
ecurity descrip
le collections
s available at t
Database leve
values from A
e values to an
bscribe notific
bscribe others
ections of obje
ecurity is used
ptor of the pa
of AF object
the AF Serve
el.
Attributes
element's
cations to
s for
ects. When yo
d as the defau
arent element
ts in an AF Se
er level and gr
More
Pag
ou
ult
erver
reen
PI AF
ge 101
Building P

Page 102

PI System
(AF Serve

Note: The
database.
recompute
PI System Asset
Notif
T
D
m
er)
e write permis
This allows f
e security des
ts & Analytics w
ication Contact
Templates
Databases
Contacts
ssion on an A
for a simpler m
scriptors for a
with PI AF
Database
AF Database i
mechanism fo
all objects wit
Analyses
Analysis Templa
Categories
Elements
Element Templa
s enforced au
or disabling W
thin the datab
ates
ates
En
R
utomatically o
Write permiss
base.
numeration Sets
Notifications
Reference Types
Tables
Transfers

on every other
sion without h
r object in the
having to
e


To modify
collection
System / A
click on th
Systems d
select Sec

y permissions
ns belonging t
AF Server, rig
he PI System
dialog box an
curity.
s on
to a PI
ght
in the
nd


The AF Unit
across all AF
permissions
However, yo
database. Cli
right-click in

ts of Measure
F Databases in
for individual
ou can set perm
ick on the pad
n a blank area
e (UOM) datab
n an AF Serv
l UOMs or U
missions for t
dlock icon in
a and select Se
abase is shared
er. You canno
UOM classes.
the entire UO
the toolbar or
ecurity.
More
Pag
d
ot set
OM
r
PI AF
ge 103

Building P

Page 104


To modify
collection
AF Datab
the AF Da
Select Da
and select
Alternatel
collection
from its lo
System Ex

PI System Asset
y permissions
ns belonging t
base, right clic
atabase in the
atabase dialog
t Security.
ly, you can ac
ns security di
ocation in the
xplorer brows
ts & Analytics w
s on
to an
ck on
e
g box
ccess a
irectly
e PI
ser.

with PI AF

When modify
replace the se
members of t
and select the
objects with
objects chec
security desc




fying the secu
ecurity descri
the collection
e Replace pe
h entries show
k box. This c
criptor for a sp
urity for a coll
iptor for all p
n. Click the A
ermission ent
wn here that
can also be us
pecific hierar

lection, you c
reviously cre
Advanced but
tries on all ch
apply to chi
ed to modify
rchy of eleme
can
ated
tton
hild
ild
the
nts.

7.2 D
Problem
In most O
group on
privilege
your tank
Remove t
What effe
privilege r







Directed E

In t
diff
inv
the
hav
Description
OSIsoft classro
all computers
on all comput
s and alerts.
the local admi
ect did this ha
reflected in e
xercise A
this part of th
fferent concep
vited to watch
same time. Y
ve directions.
ooms, the gro
s and that giv
ters and PI A
Add your stu
inistrators gro
ave? Can oth
lements and o


AF Object
he class you w
pts presented i
h what the inst
You may play
oup Students
es all Student
F Databases.
udent account
oup privilege.
her students n
other objects
ts Security
will perform a
in this chapte
tructor is doin
y a game or h
s is included
tXX domain a
Find your PI
and give it al
.
ow edit your
inside of the
y
a learning acti
er or section.
ng or perform
hold a quiz. Y
in the local a
accounts adm
I AF Databas
ll privileges o
database? H
database?
ivity to explor
You may be
m the same ste
Your instructo
administrators
ministrative
se that contain
on 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 eleme
date of ea
versions t
browser.
will allow
This can b
Benchma
Although
you may w
Note that
(the begin
the most r
increment
00:03:00,
Recogniti
A more so
relationsh
implemen
this versio
version w
Query Da
The query
The defau
versions, y
change th
Query Da
The query
dynamica

PI System Asset
PI AF Vers
ents in PI AF
ach checked
this is indicate
If you right m
w you to selec
be used in two
ark versionin
PI AF databa
want to benc
the earliest d
nning of time
recent version
ting one hour
etc..).
ion of changin
ophisticated im
hips between e
nt this version
on to begin ap
with a subsequ
ate PI System
y date in PI Sy
ult date points
you will see t
he Query Date
ate PI Proce
y date for PI A
ally to the tim
ts & Analytics w
sioning
database can
in/saved ver
ed by a small
mouse click o
t the versions
o ways.
ng
ases are norm
chmark indiv
ate you can s
for PI Server
n is always us
r from this sem
ng configurat
mplementatio
elements appr
ning, when yo
pplying to. Fr
uent effective
m Explorer
ystem Explor
s to the last ve
the latest or m
e.
ssbook & PI
AF in PI Proc
e of evaluatio

with PI AF
n be versioned
rsion of PI AF
clock icon pr
on this elemen
s and view the
mally backed u
vidual elemen
et as the effec
rs and PI Syst
sed, each tim
minal time (i.
ions in versio
on recognizes
ropriately cha
ou make chang
rom the effec
time, this ver
rer is set very
ersion in time
most future ve
Webparts
cessbook and
on of the disp
d. With inten
F elements. W
resented with
nt, there is a
e details of th
up as a whole
nts so that you
ctive date is m
tems). To kee
me you check i
e. 1-1-70 00:
oning effectiv
s that the conf
anges over the
ges and check
ctive date unti
rsion will be s
simply by th
e (not the curr
ersion in PI Sy
PI Webparts
lay, even with
ntion, you can
When an AF E
h the PI AF el
Show History
heir configura
in a mainten
u can see the
midnight on J
ep benchmark
in, set your ef
:01:00, 1-1-70
ve dates.
figuration, str
e life of a pro
k in, apply th
il the current
seen and used
he Query Date
rent time), so
ystem Explor
are automatic
hin a trend.
n set the effect
Element has
ement icon in
y option wh
ation.
nance procedu
older version
J anuary 1
st
of
k versions wh
ffective dates
0 00:02:00, 1
ructure, even
ocess. To
e effective da
time, or anoth
d by PI AF.
e toolbar butto
if 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 l
the level i
time perio
Currently
\\PIserver
new dated
Midnight
Midnight

Directed E

Th
sp
yo
es
Create differen
See these chan
Explorer
See the impac
Description
last several da
in Tag B has c
od.
the configura
r\Sinusoid wit
d versions
yesterday mo
this morning
xercise E
his is a solo o
pecific topic a
ou if you need
nt versions of
nges by show
ct on a PI Proc
ays due to e
changed seve
ation string fo
th an effectiv
orning - \\PIs
\\PIserver\


Element V
or group activ
area. Your ins
d assistance d
f an AF eleme
wing the histor
cessbook tren
electrical prob
eral times. W
or the level at
ve date of 1/1/
server\CDT15
\CDEP158
Versioning
ity that is des
structor will h
during the acti
ent with spec
ry and setting
nd.
blems in that
We want to sho
ttribute of Tan
/1970 00:00:0
58
g
signed to max
have instructi
ivity.
cific Effective
g the query da
area, the instr
ow the correc
nk B is set to
00. Wed lik
ximize learnin
ions, and will
e dates.
ate in PI Syste
rumentation t
ct 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-S
1. In
h
2. S
3. F
C
co
4. C
V
to
5. N
6. C
7. C
0
8. R
on
9. R
th
10. S
y
v
11. If
12. O
h
13. In
N
14. A
15. C
id
le

PI System Asset
Step Solutio
n PI system E
ave built you
elect Tank B
ind the Leve
CDT158 or ju
onfiguration
Check in you
Version chec
o choose yes
Note the cloc
Change the P
Check in agai
0:00:00 time
Right mouse
n the variou
Returning to t
he last versio
elect Query
esterday at a
alue and dat
f you set the
Open up PI P
ammer tool
n the trend c
Navigate to T
At the bottom
Click okay.
dentify when
evel?
ts & Analytics w
on
Explorer con
ur tanks.
B in the Elem
el attribute a
ust replace S
n string.
ur work, but w
ck box and e
sterday morn
k icon on th
I Point data
in and again
e today.
click on the
s elements a
the Tank B a
on.
Date from th
approximate
ta reference c
query date t
Processbook.
and draw a T
onfiguration
Tank B and s
m of the trend
Can you see
n the nature o

with PI AF
nnect to the
ments brows
and use the S
Sinsusoid wit
while the ch
effective dat
ning at midni
e Tank B ele
reference ta
n select Crea
Tank B elem
and note the
attributes pa
he PI System
ly this time o
configuratio
to 24 hours e
Create a ne
Trend on the
n screen, sele
select the Le
d configurati
e the tag chan
of the data c
PI System a
er, and view
Settings butto
th CDT158
heck in panel
te option. Cl
ight.
ement in the
ag again thi
ate Version
ment in the b
changing tag
anel press r
m Explorer b
of day (*-24
on string chan
earlier does i
w *.PDI disp
e display.
ect the menu
vel and Mas
ion screen se
nges on the
changes. Do
and open the
w the attribut
on and tag se
after the serv
l is still displ
lick the box
e browser.
is time to CD
and set the
browser and
g name and
refresh the
button bar an
4h). Press th
nge to the C
it change ba
play from th
u next to tag
ss attributes
et the startin
midnights?
oes the Mass
PI AF Data
tes tab.
earch to sele
ver name in
layed, note t
and use the
DEP158.
effective to
select show
the changing
e tag should b
nd set the qu
he refresh bu
CDT158?
ack to Sinuso
he File menu
search and s
for the trend
ng time to *-
Use the tren
attribute pro
abase where y
ect the tag
the
the Create
calendar sel
midnight /
w history. Cl
g effective d
be 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 De esign

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

Thi
top
assi
Objectives
Design Templ
mplement ele
Data Referenc
Develop Notif
calculations
Description
Mf
Pizz
Pizz
Pizz
Jca
Sup
Jca
Sup
Jca
Sup
ts & Analytics w
ercise: Spe
is is a solo or
ic area. Your
istance during
lates for PI A
ements from t
ces
fication Temp

You are ins
currently fo
Speedys h




fgModel
zaStar
zaStar
zaStar
r
perVan
r
perVan
r
perVan
with PI AF
eedys Pizz
group activit
r instructor w
g the activity.
F which use t
these template
plates and No
talling PI & P
ocused on Spe
has eight del
CA
CA
CA
CA
CA
CA
za Adva
ty that is desig
will have instru
.
template inhe
es which use
otifications to
PI AF for Spe
eedys deliver
ivery vehicl
License
Number
AHYK427
AHRZ648
AHBB139
AHAR990
AHEED21
AHQB932
ance Temp
gned to maxim
uctions, and w
eritance
PI Point Dat
generate aler
eedys Pizza a
ry fleet.
es:
plate Desig
mize learning
will coach yo
ta and Formu
rts based on th
and you are
GasTank
Capacity(g
20
20
20
30
30
30
gn
g in a specific
ou if you need
la
he
k
gal)
c
d

SP7
SP8

Speedys
importan

All of Spe


Tripmeter
fill up)
Gas Tank
Speed
Time Cou
vehicle le
on return)

Each typ
The Pizza

Warming
Engine Te
Oil Level

The J Car
30 U.S. g

Motor RP
Engine Te
Sto
Sto
shasa30mi
ntthatallpiz
eedys vehicle
r (Miles since
k Level
unter (time si
eft the store, r
)
e of delivery
aStar vans als
Oven Tempe
emperature
r Supervans
gallons.
PM
emperature
oreRunner
oreRunner
inuteguaran
zzasaredeli
es have been
Uo
e last Mi
%
Mp
ince
reset
Mi
y vehicle can
o capture:
erature D
D
%
capture add
R
D

CA
CA
nteeanditta
veredwithin
instrumented
oM Da
iles Int
Do
ph Do
inutes Do
n also send o
They
DegF D
DegF D
% D
ditional data
RPM
DegF
AHOT263
AHEE563
akes15min
n15minutes
d for a few thi
ataType P
M
teger S
ouble S
ouble S
ouble S
other informa
y have a gas t
Double S
Double S
Double S
too: They
Double S
Double S
utestomak
sofleaving
ings:
PI Tag
Mask
SP?.Trip
SP?.GasLvl
SP?.Speed
SP?.Timer
ation over th
tank capacity
SP?.OvenT
SP?.EngT
SP?.OilLvl
y have a gas
SP?.MtrRPM
SP?.EngT
15
15
keapizzaso
thestore.


The first t
measurem
back to th
real-time
radio The
for each v
maintaine
he radio link
of 20 U.S. ga
s tank capaci
M
More
Pag
itis
three of these
ments are sent
he store with
updates via
e time counte
vehicle 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
Speedys
And they
to the man
Timer > 1

Your task
Speedys
Hints/Sug
Use AF te
template.
templates
For the Fu
fuel consu
Level) * c
for each v
In order to
template.
notificatio
elements i
If you put
for the fue
Thats ok
below the
Capacity
templates
set it for e
PI System Asset
ongitude
atitude
StoreRunner
e
S
*
atitude S
e smaller vehi
wants one ca
want to have
nager on duty
15 Minutes
k is to build th
vehicle moni
ggestions:
emplate inher
(the excepti
you can set t
uel Efficiency
umed since th
capacity ), rig
vehicle (fuel
o build a Noti
(Timer, Spee
on for one veh
in the templat
t the gas tank
el efficiency c
ay use some
e settings butt
attribute will
). Alternative
each 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, e
itoring system
ritance so that
ion to this mig
the default for
y calculation
he fill-up whe
ght? Optiona
efficiency * r
ification, ever
ed, Gas Tank
hicle, convert
te.
capacity in th
calculation, it
ething else (li
on. When it
be there (pro
ely you can ju
with PI AF
%
Seconds*
Seconds*
lso produce a
Double
Double
5 U.S. gallon
m every vehic
set with alerts
Student numbe
eed > 40 mph
elements, and
m.
t those attribu
ght be gas tan
r each type of
you actually
en the trip met
al: you could
remaining fue
rything used i
k Level must b
t it to a notific
he derived tem
t wont be the
ike Speed) in
actually calc
vided you spe
ust make Gas
Double S
Double S
Double S
additional da
SP?.GPSLo
SP?.GPSLa
n gas capacit
cle: Fuel E
s which will b
er)
h
d PI Notificat
utes common
nk capacity
f vehicle).
y need the inv
ter was reset)
d also produce
el).
in the notifica
be in the base
cation templa
mplates as sug
ere in the form
the wizard an
ulates in the e
ell it the same
Tank Capaci
SP?.OilLvl
SP?.GPSLong
SP?.GPSLat
ata:
ong The G
in sec
degre
(deliv
that b
minu
at
ty
Efficiency in
be sent to an
Gas Tan
tions required
to all vehicle
if you put tha
verse of the re
). Tripmeter
e the range ca
ation must be
e template). B
ate and then ap
ggested abov
mula data refe
nd then chang
elements th
e in all of the
ity part of the
g
GPS readings
conds the
ees are assum
very range is
big for 15
utes)
n MPG (dou
XML file and
k Level < 15
d to support
es are in the sa
at in the deriv
emaining fue
miles / ((100
alculation in m
e in the target
Build the
pply it to the
ve when you
erence wizard
ge 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 G
manage
Question
1. Gene
a) st
and d
b) st
the te
Whic

2. Do y
data

3. Some
temp
powe
requi
your
comp
comp
acros

4. Do y
AF to

5. PI AF
the h
profe
witho
witho
make
and p


Group Disc
ement.


s
erally there ar
tart with the P
develop temp
tart by develo
emplated PI P
ch approach s
you think you
which can ad
e processes (l
plates because
er plants or oi
ire hundreds o
process fall?
plex processe
ponents, can y
ss a fleet of si
you think you
o get value fr
F implementa
hard way beca
essionals brin
out the critica
out as much v
e valuable tem
process engin
cussion W
re two approa
PI tags organ
lates from tha
oping the temp
Point data refe
seems more ap
will be able t
dd value to a P
like data cent
e they have a
il refineries) h
of templates.
Although im
es, can you see
you still see b
ister plants?
u have to have
rom it?
ation projects
ause they are m
ng to the effor
al input of sub
value because
mplates. Do
neers working

Where are
aches to imple
nize them int
at - or
plates you kn
erences confi
ppropriate to
to find a datab
PI AF databas
ers or wind tu
great many o
have many un
Others are so
mplementing P
e where it cou
benefit in usin
e the whole sy
s that are done
missing the d
rt. On the oth
bject matter e
e most I.T. de
you think you
g together?
e my asset
ementing PI A
o assets dis
now you will n
guration strin
you for the p
base of assets
se for this pro
urbine farms)
f just a few ty
nique things a
omewhere in
PI AF is cons
uld provide m
ng templates?
ystem, the ent
e entirely by p
data wrangling
her hand, if I.T
xperts they
partments do
ur PI AF imp
ts, part 2 /
AF
scover the com
need, and ass
ngs.
process you ar
s useful for PI
ocess?
can be descr
ypes of comp
and very comp
between. Wh
siderably mor
more value? I
? How about
ntire plant or t
process engin
g and system
T. department
y will likely pr
o not understa
plementation p
/ PI AF sy
mmonalities a
ign the appro
re most famil
I AF or datab
ribed with onl
ponents, while
plex relations
here on this sp
re challenging
If you have ve
when you im
the entire flee
neers will ofte
knowledge th
ts attempt to
roduce somet
and the proces
project can be
More
Pag
ystem proj
around the ass
opriate PI tags
liar with?
bases of conte
ly a handful o
e others (like
ships and cou
pectrum wou
g for more
ery few repea
mplement PI A
et described by
en do many th
hat I.T.
implement PI
thing shallow
ss well enoug
enefit 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 have
them. Th
the PI dat
Given Env
A working
and runnin
The PI Da
tags are cr
You have
install dat
Sample Fi
There is a
TXLakeW
Sample PI
All PI tag
Performan
Approach
We will c
will be ac
PI System Asset
nal Exer

Objectives
Use the PI AF
Use PI AF tem
Use PI Point D
mport a table
Link in a table
Use the PI AF
Build and use
Use the Roll-u
Description
215 Wind Po
he engineers h
a and the spre
vironment
g PI System,
ng. The user
ata Archive S
reated and are
a spreadshee
te, latitude an
iles
a spreadsheet
WPUs.xlsx
I Tags
gs with data ha
nce Equation
h
create an asset
ccomplished w
ts & Analytics w
cise A
This is a sol
in a specific
will coach y
F Excel Build
mplates
Data reference
e and build a T
e for a table re
F Formula Ref
PI AF Categ
up Data refere
owered Turbi
have interestin
eadsheet data
with PI Data
has write acc
erver must ha
e generating d
et that gives so
d longitude).
pre-configure
ave been conf
Scheduler on
t database pri
within Micros
with PI AF
A Wind F
lo or group ac
c topic area. Y
you if you nee
der
es
Table Referen
eference from
ference
ories
ence.
ine units in yo
ng data in var
a intoPI AF us
Archive Serv
cess to the ser
ave the Rando
data.
ome basic inf
ed for you to
figured. They
n the PI Data
marily using
soft Excel.
Farm in
ctivity that is
Your instructo
ed assistance d
nce
m SQL Server
our wind farm
rious spreadsh
sing a commo
ver and PI As
rvers.
om interface c
formation reg
use in this ex
y are using th
Archive Serv
the tool PI A
n PI AF
designed to m
or will have i
during the ac
r
m and you hav
heets. Youd
on template.
sset Framewo
configured. T
garding your w
xercise:
he Random in
ver.
AF Builder. M
maximize lear
instructions, a
ctivity.
ve PI tags bui
like 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 d
class. . In
element (w
Check in y

Create a B
Open you
TXLakeW
We will h
First we w
In the firs
=CONCA
Then doub
data.
ur Database
database to rep
PI System Ex
without a tem
your work.
Baseline of U
ur spreadsheet
WPUs.xlsx .
have to manip
want a more d
st available co
ATENATE(W
ble click the l
present the w
xplorer, creat
mplate) called
nits
t that has som
pulate the info
descriptive na
olumn (H) in t
WPU_TxLKE
lower right co

wind farm, Ple
te a new datab
TxLake to re


me basic inform
ormation a litt
ame for each u
the first data r
E, A2 )
orner of the ce
ease name this
base called W
epresent the to
mation about
tle to make it
unit than 001
row (2) enter
ell to propaga
Final
s a unique na
Wind Farm. C
op level of yo
each of your
ready for the
1, 002, etc
r:
ate this down
l Exercise A
ame within the
Create a new
our wind farm

r units
e PI AF Build
c.
to the last ro
Wind Farm in
Pag
e
m.
der.
w of
PI AF
ge 115
Building P

Page 116


T

Now we s
worksheet
Insert ano
Column C
Populate t
data.
PI System Asset
Tip
should have th
t.
other workshe
C of the new
the columns a
ts & Analytics w
You can
lower rig
data row
the data.
he names of a
eet and copy c
sheet.
as shown belo
with PI AF
select a cell a
ght corner to p
in the worksh
This is easie
all of the units
column H and
ow. The cells
and click on t
propagate a fo
heet, as long
er than draggi
s. We need th
d Paste Speci
In this n
enter th
Column
Column
Column
WPU n
Column

s in Columns
the small blac
ormula or dat
as you are in
ing to the bott
he unit names
ial - Values th
new sheet, in
he following h
n A selected
n B Parent
n C Name
names)
n D ObjectTy
A, B, and D

ck square in th
ta down to the
the column n
tom.
s in a new
his series into
sert a row and
headers
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 (C
database.
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 System
were created
eate an Eleme
Final

n
m Explorer va
d.
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 shoul
properly a

Add one a
Check in y
Return to
Search fro
select adv
for all ele
WPU elem
holding d
them.
PI System Asset
use click and
brary youll fi
d add an attri
applied in the
attribute Mod
your work.
the elements
om the upper
vanced search
ments. Selec
ments (not the
own shift and
ts & Analytics w
select Conve
nd the new te
bute to the Te
next step.
del of type Str
tab and selec
right 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 (Sh
Parent, Na
Add a hea
Copy and
Define the
Column A
resulting scre
and select you
your work an
the Templat
the spreadshe
heet2) and co
ame, Objectty
ader for colum
d Paste Specia
e 215 rows of
A
een select them
ur new templa
nd review an e
te Attribute
eet to get the
opy row 1 of
ype,).
mn E of Attr
al values the e
f data for this
X

m all and then
ate.

element or tw
Model
model of the
Sheet 1 into t
ibuteValue
element name
sheet as follo
n right mouse
wo to see if the
WPU. Back
this sheet (wi
es into colum
ows
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 an
rs (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 (C
should ex

We no lon
Build the
PI System Asset
B
C
D
E
Create/Edit) th
xport the Mod
nger need the
e Attribute R
ts & Analytics w
=TxLake
Model
Attribute
have a hea
The mode
his to your dat
del informatio
WPUs sprea
References
with PI AF
e\& H??
for the obje
ader)
el copy and pa
tabase chec
n.
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 t
each elem
revolutio

Because t
references

Because t
<<unit na
We can na
\\%Serve
This way
Repeat the
Note there
YawMoto
your elem
Go back t
wind turb

A more a
to configure t
ment. Create a
ns per minut
the tag naming
s.
the tags have
ame>>.<func
ame our elem
er%\%Eleme
the tag refere
e process for
e four other ta
orAmps, and Y
ments as well.
to the element
ine elements
advance PI D
the template t
a new Attribu
te (Angular V
g convention
the following
ction>
ments and attri
ent%.%Attr
ences are buil
the GenWatt
ags associated
YawPos. Fee

ts tab in PI Sy
picked up the
Data Referenc

to associate th
ute with the n
Velocity). Th
is strong we
g convention:
ibutes using th
ribute%
t when we ins
ts using Wat
d with each w
el free to build
ystem Explor
e new pi tag d
ce Attribute
he PI tags for
name RotorR
he value is a D
can use the te
hat conventio
stantiate the e
ts (Power) a
wind turbine:
d these attribu
rer and press R
data reference
in the templ
Final
Rotor RPM a
RPM . Use a
Double.

emplate to po
on.
element from
as the unit of
WindDir, W
utes and asso
Refresh to see
e attributes.
ate
l Exercise A
and Generatio
unit 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 D
This is a o
GenkwH
Use 80 as
You can s
button and
there.

Building
One of the
First in th

Model
V90
V82
PI System Asset
Data referenc
one hour total
as a Double
the minimum
specify the tag
d select the G
a simple tab
e most power
he Library, cre
Manufac
Vestas
Vestas
ts & Analytics w
e to get the K
l for the last r
and 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 generatio
running hour f
tal Retrieval
od.
5Element%.G
ibute as the so
a table looku
of PI AF is the
WPU Models
atedYield
KWh)
2
8
on from the in
from PI. Cre
Method, Tim
Genwatts -or
ource of the ta
up
e ability to ge
s. The wind
bladele
(M)
115
82
nstantaneous
eate an Attrib
me Weighted,
r- click on the
ag and it will
et data from o
farm uses fou
ength
kw generatio
bute called
, over the last
e attribute rad
l pick it up fro
other data sou
ur models:
on.
t hour.

dio
om
urces.

V80
GE4700
(The exer
and blade
We want t
In our WP
will go to
SELECT


Optionally
length and
attributes
Check in y
properly.

Using the
We can no
WPU Eff
( ( Genk
You will h

Getting m
In System
provider 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
[RatedYiel
Tip
y you can b
d manufacture
of template t
your work an

e formula dat
ow create a fo
fectiveness w
kwH / Rat e
have to assign
maintenance
m Explorer Lib
select OLEDB
pull down lis
d security. Se
pull down sel
y is SEL
29
33
uires the Rate
e table.)
ted yield to co
, Create a Tab
odels table an
ld(KWh)]F
If you want
of making
is a compli
build an enum
er in your tab
oo (and then
nd look at the
ta reference
ormula data r
with the follow
edYi el d)
n variables, u
data from an
brary Create
B Provider fo
st select the SQ
et the table to
lect WindFarm
LECT * FRO

9
3
ed Yield. It is
ompare it to t
ble Lookup a
nd retrieve the
ROMWPUMode
t to give user
a mistake use
cated way of
meration set w
ble, it wouldn
of course into
elements to s
for a perform
eference elem
wing formula
* 100 )
use what you s
n external da
e a new Link
r Microsoft S
QLServer you
o refresh every
mMaint and t
OM TxLakeM
60
87
s optional wh
the real yield
attribute calle
e RatedYield
elsWHEREM
s a way to inp
e an Enumera
f saying list.
with the model
t be too muc
o all of your e
see if these ch
mance calcul
ment attribute
and the UoM
see fit.
atabase a m
ked table cal
SQLServer.
ur instructor p
y thirty minut
test the conne
aint
Final
hether you inc
to get an effic
ed RatedYield
with the follo
Model=@Mod
put data witho
ation Set. An

ls and if you i
ch trouble to r
elements.
hanges are im
lation.
in our templa
M of Percent/%
more advance
lled WindFar
provides and
tes.
ection.
l Exercise A
clude manufac
ciency result.
d using the w
owing query:
del
out the possib
n Enumeratio
included the b
retrieve 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 th
Maint Dat
Table retu
%Elemen

Check in y
PI System Asset
K Check
ck on the Ta
he WPU Temp
te of data typ
urning Last M
nt%
your work an
ts & Analytics w
k in your work
able tab you c
plate, lets loo
e DateTime w
Maint Date wh
nd check out t
with PI AF
k.
can see the ta
ok up the Las
with a Table L
hen the WPU_
the elements.

able imported
st Maintenanc
Lookup Data
_ID is equal t

d.
ce date with a
Reference to
to the elemen
a new attribut
our New Lin
nt name

e Last
nked

Element R
Create a P
WPU nam
Create a n
Select all
Use the m
to display
Relative Disp
PI Processboo
me/number, an
new display, s
of your elem
menu next to T
y.

lay for the In
ok element rel
nd other impo
select elemen
ents by search
Tag search an

There a
includin
MaintSc
whether
turbine.
Lastjob
mainten
Optiona
for thes


formation
lative display
ortant data in
nt relative dis
hing for them
nd Element Re
re other field
ng.
ched a Boo
r maintenance

Code a strin
nance on the e
al you can m
e 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/Fa
e has been sch
ng with the jo
each turbine
make table da
pieces of data
KWh Genera
elative display
st item on the
he element na
ect the attribu
l Exercise A
base of interes
alse) indicatin
heduled on th
ob code for th
ata lookup attr
a too.
ation, effectiv
y.
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

You might also like