If you're after a rate, why wait an hour? You can calculate a rate from the time between pulses.
Not the best way to do it. Depending on the frequency, it's a smoother value if one totalises per second or seconds.
If you're after a rate, why wait an hour? You can calculate a rate from the time between pulses.
Agreed, but we don't yet know anything about the frequency. All we know is that a pulse represents 100 US gallons. I would qualify your statement by saying, "not always the best way to do it." Whether to totalize by counting pulses over a fixed time or by measuring time between pulses is generally a judgement call based on how frequently you want the rate to be updated and how much the flow varies over time.Not the best way to do it. Depending on the frequency, it's a smoother value if one totalises per second or seconds.
Then all you need to do is count pulses. The accumulated count multiplied by 100 is the number of US gallons since the last time you reset the counter.I am looking for totalizer result.