Using PI Adaptors for StreamInsight

Discussion created by on Jun 12, 2011
Latest reply on Jun 14, 2011 by Ahmad Fattahi



I am a biginner in PI and streaminsight, I have created a module using ACE whitin which I need to compare the avrage  value of a tag for last 24 hours.  doing it with ACE required a simple code like :


If Flow1.Avg("-24h", "*", 0) - Flow1.Value > Flow1.Avg("-24h", "*", 0) * 0.1 Then
            FlowOut.Value = "Bad Data"




I just wonder if it is possible to do the same with StreamInsight ?!