Hi, we want to record rain from a TB3 at one minute intervals, but only write to the table those records with rain. Easy enough with a 1 minute scan, but it's nice to keep the scan at 10 seconds.
CR200
10 second scan
DataTable(Tips,Rain_in >0.00000,6000)
DataInterval(0,1,Min)
Totalize(1,Rain_in,False)
EndTable
I tried the above but it will write the total (since the previous write) only when a tip happened in the last scan of the minute.
'TB4 Rain Gauge measurement Rain_in:
PulseCount(Rain_in,P_SW,2,0,0.01,0)
We have been writing to the table when any scan has a tip, but we don't like having to deal with the seconds in our database.
DataTable(Tips2,Rain_in<>0.00000,6000)
Totalize(1,Rain_in,False)
EndTable
Thanks
Dave


