Simple accumulator

I’m trying to constantly count from a source on each cook / frame.
ie mychan += input1

I haven’t found a way to do this without getting an infinite recursion error.
Ive tried constant > math > null (null gets pulled into math via expression)
I’ve tried constant > expression null (much the same)
and a few other variants, all with the same infinite recursion error. hmmm… perhaps there is a need for an accumulator chop or is there something that will keep adding an input value to the final result?

I’ll write this in a script chop for now.

speed chop is what you are looking for(integration). There’s some chop for differentiation too but I forgot it’s name right now.

Right Speed CHOP. Opposite is Slope CHOP.