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.

Moving 24hr rainfall totalization


fchan Jun 20, 2022 02:00 PM

Hi,

I am trying to program a quantitative threshold that will trigger a notification to a client (i.e., turn on modem, then SMS/email). The thresholds are hourly average wind speed and 24-hour rainfall.

On the hour, I can pull the last hourly wind speed values from the hourly DataTable. However I am wondering how to pull the last 24 hours of rainfall. 

Would this involve creating some sort of counter in the measurement section? 

What about setting IF conditionals for "DataInterval" so the daily (24hr) DataTable updates and outputs every hour? Then I could just pull from that. Could these IF conditionals be housed in a SubRoutine?

Thanks! 


smile Jun 21, 2022 02:31 AM

try to use the TotalRun instr.

ie  TotalRun (last_pg24,1,Rain_mm,17280)

Smile

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