VNC Connection notification
a_riot42
Posts: 1,624
I called TS about this and they aren't sure how it works so I thought I would ask here. I would like to be able to toggle a button on a MVP 8400 if someone uses VNC to connect to the panel. Is there a way that the system gets notification if a VNC connection is made to a touch panel? I have tried printing data.text in the TPs string and command handlers but nothing is printing. The only time I see a string in the console is if I am connected using VNC and the system reboots. Then when the TP comes online I get a string like G4CW-"",192.168.0.1, 5900,1. But connecting and disconnecting to the panel using VNC doesn't create a string or command event so that I can toggle my button. Anyone had success with this before?
Thanks,
Paul
Thanks,
Paul
0
Comments
I haven?t tried it personally but it sounds doable.
I don?t think the TPs generate any channel events or any other events when a VNC connection is established (sure sounds like a good feature request though) so I doubt that we?ll get any notifications via the Netlinx master.
However, if you telnet into the touch panel itself and enable extended diagnostics with a ?msg on? you will get notified when a VNC connection (a.k.a. Web Control) is allocated and disconnected and you also get the IP of the device making the connection which is kind of slick.
Here?s the output of a TP telnet session while I connected and disconnected to the TP via VNC with a 192.168.1.206 computer:
It won?t be as simple as monitoring an event but your code can certainly open a telnet session with the touch panel and watch for the messages. Maybe more work than it?s worth?
Paul