I am getting Error 1 at TCP read. I am getting this error since I created a TCP listener. My Vi worked fine when I had the TCP open instead of the listner. On checking, the Connection Id is same at probes 10, 11, 12, 13, 14
Attached is the vi. Please help.
You are mixing up two different wire types. Ideally we should have given you a broken wire here.
What you really want to do is use the "connection ID" output of the Wait on Listener primitive (bottom terminal) for doing your reading. The wire you're currently using is the listener ID (which can be reused to listen for another connection). Each time you get a new connection it gives you a new connection ID which can be used for reading and writing to that specific connection. They should also both be closed.