S
Steve McKewen
I am working on network connected controllers, controlled from PCs.
The PCs open a network connection (TCPIP socket connection) to a controller
and then carry on a conversation with the controller, monitoring inputs and
switching outputs. That part works fine.
Our software will connect to a device work fine. If the device turns off or
is disconnected, the connection failure is detected and then reconnected and
operation resumes.
The problem is this:
During testing with mulitple controllers, we normally only have one
operational controller and the rest have failed connections. Only the
controller that we are currently testing is actually present in the test
environment.
In this situation the one working device won't connect.
We have changed the number of devices that are attempting to connect, and
fewer devices allows the one working device to connect; but why?
A failed connection takes about 13 seconds to fail, and doesn't cause much
communication or processing.
The network traffic is minimal.
When the connection succeeds, the connection works exactly as normal. There
doesn't seem to be any performance degradation - if it works it works fine.
On a fresh install of windows (XP or Vista) the test system works fine with
24 failed devices and one working.
On my development systems, it won't work.
I even get the same effect if I run a simulator on the same PC that is
running the test so that I am connecting to 127.0.0.1 and have no network
connection to any other devices.
I have turned off all unneccessary protocols and applications.
I can't find any difference in the drivers.
Any help or suggestions appreciated.
Steve
The PCs open a network connection (TCPIP socket connection) to a controller
and then carry on a conversation with the controller, monitoring inputs and
switching outputs. That part works fine.
Our software will connect to a device work fine. If the device turns off or
is disconnected, the connection failure is detected and then reconnected and
operation resumes.
The problem is this:
During testing with mulitple controllers, we normally only have one
operational controller and the rest have failed connections. Only the
controller that we are currently testing is actually present in the test
environment.
In this situation the one working device won't connect.
We have changed the number of devices that are attempting to connect, and
fewer devices allows the one working device to connect; but why?
A failed connection takes about 13 seconds to fail, and doesn't cause much
communication or processing.
The network traffic is minimal.
When the connection succeeds, the connection works exactly as normal. There
doesn't seem to be any performance degradation - if it works it works fine.
On a fresh install of windows (XP or Vista) the test system works fine with
24 failed devices and one working.
On my development systems, it won't work.
I even get the same effect if I run a simulator on the same PC that is
running the test so that I am connecting to 127.0.0.1 and have no network
connection to any other devices.
I have turned off all unneccessary protocols and applications.
I can't find any difference in the drivers.
Any help or suggestions appreciated.
Steve