Forum

Last Slice Changed

Hi,
How can I output one single value showing the slice last changed. A short example:
I have a spread of 127 Slices that change between 1 and 0. I now want to display as a Value the Slice that changed the last.
I hope you can help me.
Thanks!

Some one else asked this before ;)

But also see my connected patch, it should work, if you are dealing with booleans. Use a CDR or CAR node if you have more values changed in one go.

Some one else asked this before ;)

But also see my connected patch, it should work, if you are dealing with booleans. Use a CDR or CAR node if you have more values changed in one go.

LastChange127.v4p (13.1 kB)

the key to the solution is the Change and the Select node, see patch:

the key to the solution is the Change and the Select node, see patch:

last_changed.v4p (6.8 kB)

he, west was fast… now you have two solutions. the one from west gives you the slice number, my slotion the value of the changed slice. but both have basically the same concept.