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?
try to use the TotalRun instr.
ie TotalRun (last_pg24,1,Rain_mm,17280)