I have a data table with hourly rainfall values. I am trying to write a text alarm that goes off when the total amount of rain in the previous 24 hours is greater than zero. I followed the example in "Help", but it doesn't seem to be working for me. This is the current expression and I'm wondering if anyone has any advice for editing.
StartRelativeToNewest(24*nsecPerHour, OrderCollected); TotalOverTime("Server:MOA.Hourly_met.RV_Precip_Accur_IN_Tot", Timestamp("Server:MOA.Hourly_met"),24*nsecPerHour)
Thanks!
Doing the expression calculation directly in the alarm control should work. Seeing the calculated value should help you find where the issue is.
I suggest creating a Virtual Data Source to hold the 24-hour rainfall value. That will let you put it in a display box, and see if it is calculating correctly.
To do the calculation, use a Value Forwarder. That is where you will put the expression.
You can reuse the Virtual Data Source as the source for the alarm trigger.
Hi mra3465,
Put a report range of more than 24hr on the screen, it will work.