Math.Integrator

Can’t find a node to simply add up values over time.
I got a serial device sending sensor readings (as intergers) and I need to add them up as they come in. I this possible?
thx, v.

@volkerku,

I’ve made a composition that holds a sum so it can be added to a new value, which sounds like what you are trying to do. Section 4.3.5 of the Vuo user manual on feedback loops provides additional information.

add_random_numbers.vuo (2.72 KB)

Or use Count, feeding the numbers into the Increment port, as in the attached composition.

AddOverTime.vuo (2.21 KB)

thanks. Didn’t know count accepts values, not only boolean. that’s perfect.