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.

problems collecting data


skimt Jan 22, 2013 03:58 AM

A Brief background...

I am a novice coder and I am taking over a weather observation program where we are trying to install a CSI Noah precip gauge on a remote CR200 weather station with other instrumentation already present. From all resources checked, the code seems correct, but we are not collecting an hourly total of precip. The strange part is that we are able to collect a 24 hour running total. The important part of our code is

The Table1 data table has a DataInterval(0,60,min)
and the code for the relevent hour and 24 hour data table are
totalize(1,rain_in,False)
sample(1,tot24)


the program code for rain_in and tot24 consist of
PulseCount(Rain_in,P_SW,2,0,0.01,0)
Tot24=Tot24+rain_in
If Iftime(300,1440,Min) Then Tot24=0

Our datalogger has a scan interval of 10 seconds. Again, to restate the question. If we receive 3 consecutive hours of .1 inches of precip in the afternoon, the table presents 0" precip in the hourly table, but will accumulate .3" of precip in the 24 hour running total. What am I missing? Any and all help will be appreciated.

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