Quantcast
Channel: OSIsoft Users Community
Viewing all articles
Browse latest Browse all 1120

PI ACE code snippet for total from t to *

$
0
0

Hello everybody,

 

I want to have PI ace code for calculating total of 30 tags.

Here is brief description of problem statement:

 

1) There are 30 tags...Tag1(x events), Tag2(x events),....Tag30(x events). with per second frequency in piarchive.

2) I want to calculate total of 3x events from 't' to '*'.

3) I have some values in pi archive as -9999999 so i want to discard those values in calculations. I want to consider all values for calculation which are positive in nature.

 

Can anyboby provide code for it.?

 

 

Thanks & regards,

IluZaud


Viewing all articles
Browse latest Browse all 1120

Trending Articles