Receive the same command multiple times

Moderator: Moderator Group

Receive the same command multiple times

Postby Dennis Kuypers » Sat Feb 13, 2016 8:40 pm

Hello,

you probably encountered a situation where you get a command from some external device and then your TCP Input node shows you the correct text, but when the command is sent again then the node values does not change and you can not react to that. There is a very simple solution.

For the sake of this example lets assume that the command is "(DoStuff)". Your node is set to get the command between the parenthesis.

Add a script node and use the TCPInject command to clear your input.
Code: Select all
TCPInject,1,(idle)
Your node's input then changes to "idle" and the next time you receive "DoStuff" the node will properly trigger.

Dennis
Dennis Kuypers
Product Developer, Software

Online Manual
User avatar
Dennis Kuypers
coolux Germany
 
Posts: 771
Joined: Thu Jul 05, 2012 12:18 pm

Re: Receive the same command multiple times

Postby malkuth23 » Mon Feb 15, 2016 2:53 am

Very useful. Thank you.
Matthew Newman-Saul
Theatrical Concepts
mattns@theatrical.com
User avatar
malkuth23
 
Posts: 350
Joined: Tue Apr 20, 2010 7:14 pm
Location: New Orleans, LA


Return to Widget Designer V4.7

Who is online

Users browsing this forum: No registered users and 3 guests