Ireland
Asked — Edited
Resolved Resolved by Rich!

Adc Disconnecting Ezb

would appreciate assistance please included a short set of instructions that reads a potentiometer on a motor shaft and then moves a motor forward & reverse
but for some reason it crashes my EZB after a few moves

script :one set(d22, on) ADC_Wait(ADC7, lower, 120) set(d22, off) sleep(900) set(d23, on) ADC_Wait(ADC7, higher, 180) set(d23, off) sleep(900) goto(one)

Debug report 27/10/2014 22:23 - Attempting connection on 192.168.1.1:23 27/10/2014 22:23 - Connected to 192.168.1.1:23 27/10/2014 22:23 - EZ-B reports EZ-B v4 OS 27/10/2014 22:23 - Welcome to EZ-B v4 Beta! 27/10/2014 22:23 - EZ-B v4 ID: 46-54-0-0-47-255-58-58-56-38-37-38 27/10/2014 22:23 - Connected 27/10/2014 22:23 - Disconnected 27/10/2014 22:23 - Attempting connection on 192.168.1.1:23 27/10/2014 22:23 - Connected to 192.168.1.1:23 27/10/2014 22:23 - EZ-B reports EZ-B v4 OS 27/10/2014 22:23 - Welcome to EZ-B v4 Beta! 27/10/2014 22:23 - EZ-B v4 ID: 46-54-0-0-47-255-58-58-56-38-37-38 27/10/2014 22:23 - Connected 27/10/2014 22:23 - Setting battery monitor voltage: 6.6 27/10/2014 22:23 - Setting battery protection: True 27/10/2014 22:23 - Setting i2c rate: 100000 27/10/2014 22:24 - 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 System.IO.Stream.ReadByte() at EZ_B.EZB.(Int32 , Byte[] ) 27/10/2014 22:24 - BbytesToExpect: 2 27/10/2014 22:24 - ? Received: 27/10/2014 22:24 - Disconnected


ARC Pro

Upgrade to ARC Pro

Stay at the forefront of robot programming innovation with ARC Pro, ensuring your robot is always equipped with the latest advancements.

Author Avatar
Ireland
#9  

Richard It has to be something along that line as with only the ADC port connected it will crash out will do some further tests when I get home later thanks

Author Avatar
Ireland
#10  

Thanks to all did a full re install of EZ Builder seems to have resolved issue well it has worked for more than a few minutes so fingers crossed

At times like this I need a resolved by " all " option

Author Avatar
Ireland
#11  

@Richard @Robot -Doc @Rich So who do I give the credit for resolving and assisting my question had to draw from hat for this one Thanks to all as usuall for quick response

:P:P:P