Page 1 of 1

feedback from device over TCP?

PostPosted: Wed Sep 02, 2015 3:44 am
by yeti195
Hello,

I have an Atlona 16x16 DVI matrix. I'm making a WD page to control it, and I've got all the commands working on the sending side to control it. Now I'd like to get feedback from it. It has a command called "Status" and it responds with what inputs are assigned to what outputs. Is there a way I can take this string that comes in, and parse the it and have it toggle the buttons I've created. Also, if I recall a preset, the Atlona with respond with what's assigned. I'd like to to color the corresponding buttons.

I'll upload a screen shot of the page as I have it now, and here's an example of the Status string that it sends out.

x1Vx1 , x1Ax1 , x2Vx2 , x2Ax2 , x3Vx3 , x3Ax3 , x4Vx4 , x4Ax4 , x5Vx5 , x5Ax5 , x6Vx6 , x6Ax6 , x7Vx7 , x7Ax7 , x8Vx8 , x8Ax8 , x9Vx9 , x9Ax9 ,x10Vx10,x10Ax10,x11Vx11,x11Ax11,x12Vx12,x12Ax12,x13Vx13,x13Ax13,x14Vx14,x14Ax14,x15Vx15,x15Ax15,x16Ax16

I just got WD Pro, and I think I'd have to do it with a Node, but I have not made any yet. Any example of receiving strings in, parsing it, and then changing a button color would be great.

Thank you for any help. I appreciate it. :D

Re: feedback from device over TCP?

PostPosted: Wed Sep 02, 2015 11:20 am
by Thomas Mrozek
Hi,
you get TCP Strings into WD via 'TCP' Input Node. Then you add a Generic Script Output Node for each command you get from the matrix to your TCP Input Node. In the script node you have the colour commands.
Text Filter nodes in between both Nodes are also possible for different parsing.
Cheers
Thomas