feedback from device over TCP?

Moderator: Moderator Group

feedback from device over TCP?

Postby yeti195 » Wed Sep 02, 2015 3:44 am

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
You do not have the required permissions to view the files attached to this post.
yeti195
 
Posts: 8
Joined: Wed Nov 20, 2013 7:10 pm

Re: feedback from device over TCP?

Postby Thomas Mrozek » Wed Sep 02, 2015 11:20 am

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
Thomas Mrozek
Product Manager
User avatar
Thomas Mrozek
 
Posts: 138
Joined: Mon Apr 20, 2009 11:08 am


Return to Widget Designer V4.7

Who is online

Users browsing this forum: No registered users and 13 guests