Send reapyt interval number from ui interface or variablia to inject node

#1

I ned send rnumer to reapyt iterval from ui interface or variablia to inject node. How can i do that?

0 Likes

#2

You can’t set the interval for the inject node remotely.
But you can always use a function node with a simple javascript setInterval command to do the same (as long as you clear any existing timer before setting the new one)

0 Likes

#3

Thank you. Works.

var aaa= 3000
setInterval(function() {node.send(msg);}, aaa);

0 Likes