Our full technical support staff does not monitor this forum. If you need assistance from a member of our staff, please submit your question from the Ask a Question page.


Log in or register to post/reply in the forum.

Average and StdDev depending on TimeStamp


crdrodriguezre Jun 22, 2020 06:51 PM

Hello!

I have a datalogger CR300-CELL200 and a CR1000X. Both of them are monitoring an ambient temperature each second. I want to create a program which helps me to calculate the average and the standard deviation for each minute from second 00 to second 59 along the 24 hrs, according to the datalogger's clock. Does it exist a function which fits to my requirement?

Thank you so much.


JDavis Jun 23, 2020 03:14 PM

It could be done with a data table. Just offset the time in the DataInterval instruction. Below is an example.

DataTable (Test,1,-1)
  DataInterval (59,60,Sec,10)
  Average (1,AirTemp,IEEE4,False)
  StdDev (1,AirTemp,IEEE4,False)
EndTable

Log in or register to post/reply in the forum.