Detecting break in data stream

yworrybehappy's icon

Hi Max people,

I have an a sensor feeding a stream of data into max. I'm sure this is very simple, but I can't figure out how to detect a break in the data (the data is appearing in an integer box, and I need a bang to occur after two seconds of the integer not changing.)

Thanks!

Christopher Dobrian's icon
Max Patch
Copy patch and select New From Clipboard in Max.