Communication error SerialException: Timeout

65 views
Skip to first unread message

ivan zelehovski

unread,
Mar 27, 2019, 7:45:52 AM3/27/19
to cirqwizard
Hello,

I tried setting up the machine, but it keeps giving me "Communication error". I suppose the error is on my side since it was working (about half a year ago) but with different computer.
My system
Windows 10 x64
Ports (COM & LPT) -> USB Serial Port (COM6) -> FTDI

Screenshot_2.png



CirQWizard is working correctly, but anytime it needs to communicate with the machine, it shows this exact error (shows for "home" test, flashing, anything).


error log:
org.cirqwizard.serial.SerialException: Timeout.
at org.cirqwizard.serial.SerialInterfaceImpl.sendCommand(SerialInterfaceImpl.java:167)
 at org.cirqwizard.serial.SerialInterfaceImpl.send(SerialInterfaceImpl.java:190)
at org.cirqwizard.serial.CNCController.send(CNCController.java:47)
     at org.cirqwizard.serial.CNCController.send(CNCController.java:40)
     at org.cirqwizard.serial.CNCController.send(CNCController.java:65)
     at org.cirqwizard.serial.CNCController.home(CNCController.java:72)
     at org.cirqwizard.fx.FirstRunWizard.home(FirstRunWizard.java:321)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
       at java.lang.reflect.Method.invoke(Method.java:498)
    at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:71)
      at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
       at java.lang.reflect.Method.invoke(Method.java:498)
    at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:275)
     at javafx.fxml.FXMLLoader$MethodHandler.invoke(FXMLLoader.java:1771)
   at javafx.fxml.FXMLLoader$ControllerMethodEventHandler.handle(FXMLLoader.java:1657)
    at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:86)
     at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:238)
at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:191)
at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:59)
       at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58)
       at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
  at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
       at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
  at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
       at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
  at com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74)
     at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:49)
 at javafx.event.Event.fireEvent(Event.java:198)
at javafx.scene.Node.fireEvent(Node.java:8413)
 at javafx.scene.control.Button.fire(Button.java:185)
   at com.sun.javafx.scene.control.behavior.ButtonBehavior.mouseReleased(ButtonBehavior.java:182)
 at com.sun.javafx.scene.control.skin.BehaviorSkinBase$1.handle(BehaviorSkinBase.java:96)
       at com.sun.javafx.scene.control.skin.BehaviorSkinBase$1.handle(BehaviorSkinBase.java:89)
       at com.sun.javafx.event.CompositeEventHandler$NormalEventHandlerRecord.handleBubblingEvent(CompositeEventHandler.java:218)
     at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:80)
     at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:238)
at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:191)
at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:59)
       at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58)
       at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
  at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
       at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
  at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
       at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
  at com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74)
     at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:54)
 at javafx.event.Event.fireEvent(Event.java:198)
at javafx.scene.Scene$MouseHandler.process(Scene.java:3757)
    at javafx.scene.Scene$MouseHandler.access$1500(Scene.java:3485)
at javafx.scene.Scene.impl_processMouseEvent(Scene.java:1762)
  at javafx.scene.Scene$ScenePeerListener.mouseEvent(Scene.java:2494)
    at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:394)
  at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:295)
  at java.security.AccessController.doPrivileged(Native Method)
  at com.sun.javafx.tk.quantum.GlassViewEventHandler.lambda$handleMouseEvent$353(GlassViewEventHandler.java:432)
 at com.sun.javafx.tk.quantum.QuantumToolkit.runWithoutRenderLock(QuantumToolkit.java:389)
      at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(GlassViewEventHandler.java:431)
    at com.sun.glass.ui.View.handleMouseEvent(View.java:555)
       at com.sun.glass.ui.View.notifyMouse(View.java:937)
    at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
 at com.sun.glass.ui.win.WinApplication.lambda$null$147(WinApplication.java:177)
at java.lang.Thread.run(Thread.java:748)


ivan zelehovski

unread,
Mar 27, 2019, 8:05:56 AM3/27/19
to cirqwizard
EDIT:
tried running it on second WIN10 machine, still got the same error. Will try running it on XP machine next

Simon Salykov

unread,
Mar 27, 2019, 8:06:49 AM3/27/19
to ivan zelehovski, cirqwizard
Hi Ivan,

Did you specify all the necessary settings? At the very least machine's parameters from the calibration sheet?

Regards,
Simon

--
You received this message because you are subscribed to the Google Groups "cirqwizard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cirqwizard+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

ivan zelehovski

unread,
Mar 27, 2019, 8:11:24 AM3/27/19
to cirqwizard
Hello Simon,
 Yes, I have specified machine parameters and port which the machine is using to communicate with the computer.

haven't bothered configuring milling, contour, etc. since i hadn't been able to use home function properly.

rattc...@gmail.com

unread,
Jun 2, 2019, 2:46:03 PM6/2/19
to cirqwizard
среда, 27 марта 2019 г., 14:45:52 UTC+3 пользователь ivan zelehovski написал:
> Hello,
>
>
> I tried setting up the machine, but it keeps giving me "Communication error". I suppose the error is on my side since it was working (about half a year ago) but with different computer.
> My system
> Windows 10 x64
> Ports (COM & LPT) -> USB Serial Port (COM6) -> FTDI
>
>
>
>
>
>
>
Please help
траблы с циркоидом.jpg

jorda...@gmail.com

unread,
Oct 21, 2019, 4:22:17 PM10/21/19
to cirqwizard
good morning, did you find a solution?

El domingo, 2 de junio de 2019, 14:46:03 (UTC-4), rattc...@gmail.com escribió:
среда, 27 марта 2019 г., 14:45:52 GMT + 3 пользователь Ivan zelehovski написал:
> Hola,
>
>
> He intentado configurar la máquina, pero me mantiene dando "error de comunicación". Supongo que el error está de mi lado ya que estaba funcionando (hace aproximadamente medio año) pero con una computadora diferente.
> Mi sistema
> Windows 10 x 64
> Puertos (COM y LPT) -> Puerto serie USB (COM6) -> FTDI
>
>
>
>
>
>
>
> CirQWizard está funcionando correctamente, pero en cualquier momento que necesita para comunicarse con la máquina, se nota este error exacto (se muestra para la prueba de "inicio", intermitente, cualquier cosa).
>
>
>



>
>
> Org.cirqwizard.serial. SerialException: Tiempo de espera.
> en org.cirqwizard.serial. SerialInterfaceImpl. sendCommand ( SerialInterfaceImpl.java:167)
> en org.cirqwizard.serial. SerialInterfaceImpl.send ( SerialInterfaceImpl.java:190)
> en org.cirqwizard.serial. CNCController.send ( CNCController.java:47)
> en org.cirqwizard.serial. CNCController.send ( CNCController.java:40)
> en org.cirqwizard.serial. CNCController.send ( CNCController.java:65)
> en org.cirqwizard.serial. CNCController.home ( CNCController.java:72)
> en org.cirqwizard.fx. FirstRunWizard.home ( FirstRunWizard.java:321)
> al sol.NativeMethodAccessorImpl. invoke0 (Método nativo)
> en sun.reflect. NativeMethodAccessorImpl. invocar ( NativeMethodAccessorImpl.java: 62)
> en sun.reflect. DelegatingMethodAccessorImpl. invocar ( DelegatingMethodAccessorImpl. java: 43)
> en java.lang.reflect.Method. invocar (Método.java:498)
> en sun.reflect.misc.Trampoline. invocar (MétodoUtil.java:71)
> en sun.reflect. GeneratedMethodAccessor1. invocar (fuente desconocida)
> en sun.reflect.DelegatingMethodAccessorImpl. invocar ( DelegatingMethodAccessorImpl. java: 43)
> en java.lang.reflect.Method. invocar (Método.java:498)
> en sun.reflect.misc.MethodUtil. invocar (MethodUtil.java:275)
> en javafx.fxml.FXMLLoader $ MethodHandler.invoke ( FXMLLoader.java:1771)
> en javafx.fxml.FXMLLoader $ ControllerMethodEventHandler. handle (FXMLLoader.java:1657)
> en com.sun.javafx.event. CompositeEventHandler. dispatchBubblingEvent ( CompositeEventHandler.java:86)
> en com.sun.javafx.event. EventHandlerManager. dispatchBubblingEvent (EventHandlerManager.java:238)
> en com.sun.javafx.event. EventHandlerManager. dispatchBubblingEvent ( EventHandlerManager.java:191)
> en com.sun.javafx.event. CompositeEventDispatcher. dispatchBubblingEvent ( CompositeEventDispatcher.java: 59) BasicEventDispatcher. dispatchEvent ( BasicEventDispatcher.java:58) > en com.sun.javafx.event. EventDispatchChainImpl. dispatchEvent ( EventDispatchChainImpl.java: 114) > en com.sun.javafx.event. BasicEventDispatcher. dispatchEvent ( BasicEventDispatcher.java:56)
> en com.sun.javafx.event. > en com.sun.javafx.event. EventDispatchChainImpl. dispatchEvent ( EventDispatchChainImpl.java: 114) > en com.sun.javafx.event. BasicEventDispatcher. dispatchEvent ( BasicEventDispatcher.java:56) > en com.sun.javafx.event. EventDispatchChainImpl. dispatchEvent ( EventDispatchChainImpl.java: 114)





> en com.sun.javafx.event. EventUtil.fireEventImpl ( EventUtil.java:74)
> en com.sun.javafx.event. EventUtil.fireEvent (EventUtil. Java: 49)
> en javafx.event.Event.fireEvent ( Event.java:198)
> en javafx.scene.Node.fireEvent ( Node.java:8413)
> en javafx.scene.control.Button. fire (Button.java:185)
> en com.sun.javafx.scene.control. comportamiento.ButtonBehavior. mouseReleased (ButtonBehavior. java: 182)
> en com.sun.javafx.scene.control. skin.BehaviorSkinBase $ 1. handle (BehaviorSkinBase.java: 96)
> en com.sun.javafx.scene.control. skin.BehaviorSkinBase $ 1. handle (BehaviorSkinBase.java: 89)
> en com.sun.javafx.event. CompositeEventHandler $ NormalEventHandlerRecord. handleBubblingEvent ( CompositeEventHandler.java: 218)
> en com.sun.javafx.event. CompositeEventHandler. dispatchBubblingEvent ( CompositeEventHandler.java:80)
> en com.sun.javafx.event. EventHandlerManager. dispatchBubblingEvent ( EventHandlerManager.java:238)
> en com.sun.javafx.event. EventHandlerManager. dispatchBubblingEvent ( EventHandlerManager.java:191)
> en com.sun.javafx.event. CompositeEventDispatcher. dispatchBubblingEvent ( CompositeEventDispatcher.java: 59)
> en com.sun.javafx.event. BasicEventDispatcher. dispatchEvent ( BasicEventDispatcher.java:58)
> en com.sun.javafx.event. EventDispatchChainImpl. dispatchEvent ( EventDispatchChainImpl.java: 114)
> en com.sun.javafx.event. BasicEventDispatcher. dispatchEvent ( BasicEventDispatcher.java:56)
> en com.sun.javafx.event. EventDispatchChainImpl. dispatchEvent ( EventDispatchChainImpl.java: 114)
> en com.sun.javafx.event. BasicEventDispatcher. dispatchEvent ( BasicEventDispatcher.java:56)
> en com.sun.javafx.event. EventDispatchChainImpl. dispatchEvent ( EventDispatchChainImpl.java: 114)
> en com.sun.javafx.event. EventUtil.fireEventImpl ( EventUtil.java:74)
> en com.sun.javafx.event. EventUtil.fireEvent (EventUtil. Java: 54)
> at javafx.event.Event.fireEvent ( Event.java:198)
> at javafx.scene.Scene $ MouseHandler.process (Scene. java: 3757)
> at javafx.scene.Scene $ MouseHandler.access $ 1500 ( Scene .java: 3485)
> en javafx.scene.Scene.impl_processMouseEvent (Scene.java: 1762)
> en javafx.scene.Scene $ ScenePeerListener.mouseEvent ( Scene.java:2494)
> en com.sun.javafx.tk.quantum. 295) > en java.security. AccessController.doPrivileged ( Método nativo) > en com.sun.javafx.tk.quantum. GlassViewEventHandler.lambda $ handleMouseEvent $ 353 ( GlassViewEventHandler.java: 432) > en com.sun.javafx.tk.quantum. QuantumToolkit. runWithoutRenderLock ( QuantumToolkit.java:389) > en com.sun.javafx.tk.quantum. GlassViewEventHandler. handleMouseEvent ( GlassViewEventHandler.java: 431) GlassViewEventHandler $ MouseEventNotification.run ( GlassViewEventHandler.java: 394)
> en com.sun.javafx.tk.quantum. GlassViewEventHandler $ MouseEventNotification.run ( GlassViewEventHandler.java:




> en com.sun.glass.ui.View. handleMouseEvent (View.java: 555)
> en com.sun.glass.ui.View. notifyMouse (View.java:937)
> en com.sun.glass.ui.win.WinApplication._runLoop (Método nativo)
> en com.sun.glass.ui.win. WinApplication.lambda $ null $ 147 (WinApplication.java:177)
> en java.lang.Thread.run (Thread. Java: 748)

Por favor ayuda
Reply all
Reply to author
Forward
0 new messages