Hi, is there a way to either integrate a channel over time, or to update a value, such that the new value is the old value plus another channel?
For example, t = 0.998s and channel 1 = 10 and channel 2 = 3, then at t = 1.000s, make channel 1 = previous value plus channel 2, ie 10 + 3 so channel 1 reports 13.
Thank you for the response. Both questions were aimed at trying to do he same thing, convert a fuel flow (cc/min) into a total fuel flow, ie L for the virtual fuel tank. The Data Master tip is handy, but won’t work in this case.
Think I might have to get an arduino or something to do this, since I can’t see a way to do this via my ECU (Megasquirt 3). Thanks for the help.
I might play around with increasing the frequency of the calculation, but I don’t think it should be necessary, since the ECU is averaging the fuel flow over the 1000ms.