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.

Rain duration


Makada Nov 12, 2017 03:26 PM

Hi,

Can someone give me a crbasic example on how to calculate the duration of current rain?


Makada Nov 14, 2017 09:47 AM

...it has to start the time when first tip happens, then a certain time after the last tip to stop the timer...


nsw Nov 15, 2017 05:00 PM

I dont have an example, but I think you should get what you need by using the "Timer" instruction, if you are using PulseCount to get the pulses from the raingauge.

Alternatively, if you want to know very accurately the time between edges, you can have a look at the "TimerIO" instruction. The CRBAsic Help Example gives some ideas. Of course, you will probably need combinations of TimerIO and Timer to get what you need in your case.


Makada Nov 15, 2017 05:49 PM

Thanks for the reply.

Im using PulseCount (Rain_mm,1,1,2,0,0,2,0)

Yes, i noticed those timer functions in the crbasic help, but my knowledge regarding crbasic isnt sufficient to use or combine those timer functions unfortunately...

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