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

ARC Pro will give you immediate updates and new features needed to unleash your robot's potential!

#9  

You simply can't let the adc control run. It takes up too much resources. I only use it to quickly check the port voltage then pause it. Another thing you can try is to open up the control and adjust how often it reads the voltage. I slowed mine down to 250 ms and that seemed to help.

I'm told that the new v4/2 ezb is much faster and this is not an issue (unless it's your system that is slow).

PRO
USA
#10  

Dave. Thanks, good to know. Didn't realize it couldn't just run. I moved it to 2000 still knocks it offline, but it takes longer.

PRO
Synthiam
#11  

dbeard - it technically shouldn't knock it offline. What happens if you pause the control during connection, and unpause after connecting?

I suggest upgrading your ez-b with EZ-B v4/2 Comm Upgrade

Also, to answer dave's question - i doubt you'll ever be able to flood the data channel on an iotiny or ezb v4.x/2... they're remarkable

PRO
USA
#12  

I will try that, If the control is paused (when I connect and never unpause it), runs without disconnecting. My EZB upgrade arrives tomorrow!

PRO
Synthiam
#13  

Woo! You're going to love the upgrade.

ARC has grown sooooooooooooo much with features that the first generation EZ-B has trouble keeping up. Sometimes silliness happens with the first gen ez-b v4. I'm pretty excited for you to experience the ez-b v4.x/2!

I'm going to make a quick video today on how to perform the upgrade. Nothing fancy, but at least it'll demonstrate how to do:D