Home AMX User Forum NetLinx Studio
Options

Debugging an error

I am fairly new to AMX, but have been coding C,C++, C#, and Pascal for years.
I am getting an error when debugging the system:

Line 750 (15:16:00):: ICSPTCPRx5::CloseSocket: Closing Socket
Line 751 (15:16:00):: CICSPTCP Rx connection to 192.168.2.12 has been closed locally or by peer
Line 752 (15:16:03):: Closing connection to 192.168.2.12 due to duplicate (0:1:3 already exists)

Anyone have any ideas?
I have verified the IPs for all 4 NI controllers as well as the touch panels.
The IP in the error is the IP for one of the NI-700 slaves.
It is not dupliacted anywhere.
Any help will be much appreciated.
Thank you.
Jim D

Comments

  • Options
    John NagyJohn Nagy Posts: 1,734
    We've seen similar errors when a touch panel drops offline and comes back repeatedly, eventually the NI thinks it is connected but really isn't, so on the return connection, the panel is refused. Newer NI firmware virtually eliminates this.

    You say it's a SLAVE address, well, it could be the same issue. Does it clear with a reboot of the master that is convinced there's a duplicate? That's the only way to clear it when it's a panel false duplicate. If it clear, then comes back after a while, see if you can log the connection status across time. The slave may be popping in and out.

    Do you have your URL LIST linking going only one way? Pointing both the units at each other can make funny looping issues that rhyme with this problem.
Sign In or Register to comment.