smakdown61
Member
I'm adding in some additional totalizer code using an existing template. The person who did the existing code used a gain of .0167 and a time base of zero (seconds) to convert gal/min to gal. It's also in the continuous task. While this seems to produce an accurate total, shouldn't this function only be executed in a periodic task once per second since the time base is in seconds?