I have 2 or more tags and I need to show the highest? How may can do that calculation?
You can use "Max" function in PI Analysis to identify the Max Value and Max Tag. Following are the examples,
Max Value- Below logic will give you highest value as a result.
Max Tag- Below logic will help you to identify which tag is having highest value
If (Max('Tag1','Tag2') = TagVal('Tag1','*')) Then "Tagname1"Else "Tagname2"
Note: If you more that 2 tags you need to have Nested If statements.
You can also use a PI Point array (as an AF Attribute) and then call Max('PIPointArray').
I have never used PI Point Arrays, but this sounds like a useful application
Retrieving data ...