gkchan
February 8, 2022, 4:03am
1
In this case, our Ignition client is running on different host machine from Ignition tag server.
Is it possible we establish tcp socket connection to another remote host from ignition client machine?
2 Likes
pturmel
February 8, 2022, 12:50pm
2
In Vision, yes, with scripting. A bit complicated to manage a background thread’s life cycle, unfortunately.
gkchan
February 8, 2022, 1:20pm
3
How can we use scripting in vision client to do this? Do u mind sharing me a sample?
Oh, some combination of these two topics:
How can we communicate Ignition with external applications over TCP/IP sockets or websockets using gateway Jython scripts,? Does the gateway scripts have libraries for TCP sockets or websockets communication? I don’t see it in python gateway script library documentation. Has anyone developed a module for it (either commercial or free module). The existing TCP/IP module in Ignition is specifically designed for bar code reader which is not generic in nature.
Can JAVA/Jython combination be used so…
Hi all,
I have a machine which provides a TCP/IP server that upon each client connection, sends a large set of segments that reflect a complete copy of the current state of the system (initial download) before streaming each event that occurs from there.
If I open up a cmd and enter: Telnet <IP address> <Port>[ENTER] it behaves as described above.
I then tried something like this on button press within a vision client:
from telnetlib import Telnet
HOST = <IP address>
PORT = <Port>
tn = Telne…
gkchan
February 11, 2022, 3:07am
5
These are scripts running from gateway. Can we run the scripts / establish the connection from the client PC instead?