Quantcast
Channel: DIAdem topics
Viewing all articles
Browse latest Browse all 3197

Display average of X samples

$
0
0

Hi.

I'm using Diadem to display a value at a specific data point, using this:

 

Flow [lpm]:
@@str(Data.Root.ChannelGroups.Item(3).Channels.Item("Flow1").Values(Pno(Data.Root.ChannelGroups(3).Channels("Time\ai0"),5)),"AutoAdj")@@
@@str(Data.Root.ChannelGroups.Item(3).Channels.Item("Flow1").Values(Pno(Data.Root.ChannelGroups(3).Channels("Time\ai0"),15)),"AutoAdj")@@
@@str(Data.Root.ChannelGroups.Item(3).Channels.Item("Flow1").Values(Pno(Data.Root.ChannelGroups(3).Channels("Time\ai0"),25)),"AutoAdj")@@
@@str(Data.Root.ChannelGroups.Item(3).Channels.Item("Flow1").Values(Pno(Data.Root.ChannelGroups(3).Channels("Time\ai0"),35)),"AutoAdj")@@
@@str(Data.Root.ChannelGroups.Item(3).Channels.Item("Flow1").Values(Pno(Data.Root.ChannelGroups(3).Channels("Time\ai0"),45)),"AutoAdj")@@
@@str(Data.Root.ChannelGroups.Item(3).Channels.Item("Flow1").Values(Pno(Data.Root.ChannelGroups(3).Channels("Time\ai0"),55)),"AutoAdj")@@
@@str(Data.Root.ChannelGroups.Item(3).Channels.Item("Flow1").Values(Pno(Data.Root.ChannelGroups(3).Channels("Time\ai0"),65)),"AutoAdj")@@
@@str(Data.Root.ChannelGroups.Item(3).Channels.Item("Flow1").Values(Pno(Data.Root.ChannelGroups(3).Channels("Time\ai0"),75)),"AutoAdj")@@
@@str(Data.Root.ChannelGroups.Item(3).Channels.Item("Flow1").Values(Pno(Data.Root.ChannelGroups(3).Channels("Time\ai0"),85)),"AutoAdj")@@
@@str(Data.Root.ChannelGroups.Item(3).Channels.Item("Flow1").Values(Pno(Data.Root.ChannelGroups(3).Channels("Time\ai0"),95)),"AutoAdj")@@
@@str(Data.Root.ChannelGroups.Item(3).Channels.Item("Flow1").Values(Pno(Data.Root.ChannelGroups(3).Channels("Time\ai0"),105)),"AutoAdj")@@

 

But I would like to see the average of 120 data points/ samples at the 5, 15, 25, etc marker.

Can anyone please help me here 🙂

 

Brian


Viewing all articles
Browse latest Browse all 3197

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>