well you wrote an endless loop. there’s no such thing as an input ‘trigger’ in vvvv. such a thing would exist if the execution model of vvvv would be push based -> sources push values down to the sinks.
but as it happens vvvv’s execution model is pull based -> sinks pull values down from the sources.
the sinks pull the data every frame -> your method gets called every frame (if there’s no switch in between) -> simply look at your inputs, do some computation and write the results to the outputs, or the data won’t get back to the sinks and the ‘pulling’ sinks will simply wait forever ;)