Sample and hold if greater

dear vvvvorum,

please take a look at the attached patch, where i’m trying to do the following:
sample and hold a value as long as the new input value is smaller then the S+H output value.

problem is, i cant connect the output of > to the S+H set inlet… what am i doing wrong?

sampleandholdifgreater.v4p (2.1 kB)

hi, feedback loops in one frame are not allowed in vvvv. you have to connect a FrameDelay (Animation) in between. read here why: Creating Feedback Loops

greets

mkay, thanks a ton!