我在控制台中得到的错误是:( “O recurso pedido esta a ser utilizado。”意思是“请求的资源正在使用中”)
Native lib Version = RXTX-2.1-7
Java lib Version = RXTX-2.1-7
Error 0xaa at /home/bob/foo/rxtx-devel/build/../src/termios.c(1278): O recurso pedido esta a ser utilizado.
java.lang.Exception
at com.willwinder.universalgcodesender.AbstractController.commandSent(AbstractController.java:628)
at com.willwinder.universalgcodesender.AbstractCommunicator.sendEventToListener(AbstractCommunicator.java:206)
at com.willwinder.universalgcodesender.AbstractCommunicator.dispatchListenerEvents(AbstractCommunicator.java:189)
at com.willwinder.universalgcodesender.GrblCommunicator.streamCommands(GrblCommunicator.java:153)
at com.willwinder.universalgcodesender.GrblCommunicator.responseMessage(GrblCommunicator.java:200)
at com.willwinder.universalgcodesender.SerialConnection.serialEvent(SerialConnection.java:173)
at gnu.io.RXTXPort.sendEvent(RXTXPort.java:732)
at gnu.io.RXTXPort.eventLoop(Native Method)
at gnu.io.RXTXPort$MonitorThread.run(RXTXPort.java:1575)
java.lang.Exception
at com.willwinder.universalgcodesender.AbstractController.commandSent(AbstractController.java:628)
at com.willwinder.universalgcodesender.AbstractCommunicator.sendEventToListener(AbstractCommunicator.java:206)
at com.willwinder.universalgcodesender.AbstractCommunicator.dispatchListenerEvents(AbstractCommunicator.java:189)
at com.willwinder.universalgcodesender.GrblCommunicator.streamCommands(GrblCommunicator.java:153)
at com.willwinder.universalgcodesender.AbstractController.sendStringToComm(AbstractController.java:442)
at com.willwinder.universalgcodesender.AbstractController.queueCommandForComm(AbstractController.java:431)
at com.willwinder.universalgcodesender.AbstractController.beginStreaming(AbstractController.java:532)
at com.willwinder.universalgcodesender.MainWindow.sendButtonActionPerformed(MainWindow.java:1359)
at com.willwinder.universalgcodesender.MainWindow.access$200(MainWindow.java:67)
at com.willwinder.universalgcodesender.MainWindow$3.actionPerformed(MainWindow.java:246)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$200(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Exception in thread "Thread-5" java.lang.NullPointerException
at com.willwinder.universalgcodesender.MainWindow.setStatusColorForState(MainWindow.java:1606)
at com.willwinder.universalgcodesender.MainWindow.statusStringListener(MainWindow.java:2088)
at com.willwinder.universalgcodesender.AbstractController.dispatchStatusString(AbstractController.java:730)
at com.willwinder.universalgcodesender.GrblController.handlePositionString(GrblController.java:409)
at com.willwinder.universalgcodesender.GrblController.rawResponseHandler(GrblController.java:146)
at com.willwinder.universalgcodesender.AbstractController.rawResponseListener(AbstractController.java:717)
at com.willwinder.universalgcodesender.AbstractCommunicator.sendEventToListener(AbstractCommunicator.java:215)
at com.willwinder.universalgcodesender.AbstractCommunicator.dispatchListenerEvents(AbstractCommunicator.java:189)
at com.willwinder.universalgcodesender.GrblCommunicator.responseMessage(GrblCommunicator.java:190)
at com.willwinder.universalgcodesender.SerialConnection.serialEvent(SerialConnection.java:173)
at gnu.io.RXTXPort.sendEvent(RXTXPort.java:732)
at gnu.io.RXTXPort.eventLoop(Native Method)
at gnu.io.RXTXPort$MonitorThread.run(RXTXPort.java:1575```
我在使用 UGS 时遇到了问题。似乎有一个沟通问题,一些 g 代码被跳过,并且在作品被毁后不得不中止几个工作。
我在 Windows7 64 位和 Java 32 位版本 7 更新 60 中运行。
它随机发生,有时在开始时发生,有时在 1000 行完成后发生。
我不怀疑硬件问题,因为 grbl 中包含的“stream.py”在 55k 行的工作中运行得很好。
我在控制台中得到的错误是:(
“O recurso pedido esta a ser utilizado。”意思是“请求的资源正在使用中”)