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.

RTMC Pro Text Alarm - Rain over last 24 hours


mra3465 Apr 29, 2022 12:08 PM

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!


JDavis Apr 29, 2022 10:27 PM

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.


Thein May 1, 2022 07:00 AM

Hi mra3465,

Put a report range of more than 24hr on the screen, it will work.

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