Asked — Edited

Ezb Controller Disconnects With Error

My EZB controller keeps disconnecting after a couple of minutes and issues the message below, any ideas as to the problem?

Comm Err: System.IO.IOException: Unable to read data from the transport connection: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags) at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size) --- End of inner exception stack trace --- at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size) at EZ_B.EZB.Ux3dmvwAYl(Int32 , Byte[] cmdData) BbytesToExpect: 2 ? Received: 0 0 Disconnected


ARC Pro

Upgrade to ARC Pro

Stay on the cutting edge of robotics with ARC Pro, guaranteeing that your robot is always ahead of the game.

#1  

Are you doing anything when it disconnects? Ie what controls are you using? What devices are connected to the ez-b?

PRO
USA
#2  

I'm not using ARC and no scripts are running. The controls open are Read ADC, Connection Box, Script Manager, Sound Servo, Speech Settings and Speech Synthesis. I get this error within 5 minutes of connecting to EzRobot. Just sitting there doing nothing.

PRO
Synthiam
#3  

Is your ezb damaged?

Does it make the startup sound when powered on? Does it make a connection sound when ARC connects?

Lastly, try removing some controls and see if one of them is timing out the connection. Or at least pause the controls before connecting. Diagnose the issue with process of elimination:)

PRO
USA
#4  

Makes the connection sound and I get connected via WIFI great. Working through process of elimination.

PRO
Synthiam
#5  

Nice. Keep me updated

#6  

Try turning off your anti virus protection. Also make sure you have a good WiFi signal and you're using a uncrowded channel.

PRO
USA
#7  

It is the Read ADC Value control. It does it even when the sensor is disconnected from the robot. If I have the control not paused but nothing connected to the robot. I get disconnected.

PRO
USA
#8  

So I have tried different ports and different interval times up to 1500 ms. The connection still drops. Any other things to try?