Processing communications to Arduino
in
Integration and Hardware
•
11 months ago
Hi Guys
I have a problem with processing communicating with arduino. I'm sure the problem is with processing
as the board is working fine.
I'm running windows7 64-bit and read somewhere that the latest beta processing software has problems
with serial when it comes to 64-bit windows, so I reverted back to V1.5.1.
Now I getting the following errors.
Originally the RXTX library versions were different but i got that mended but I'm still getting java connection
errors.
I've exhausted all solutions online.
Any help would be appreciated.
Display 0 does not exist, using the default display instead.
Stable Library
=========================================
Native lib Version = RXTX-2.1-7
Java lib Version = RXTX-2.1-7
[0] "COM1"
[1] "COM5"
java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:529)
at java.net.Socket.connect(Socket.java:478)
at sun.net.NetworkClient.doConnect(NetworkClient.java:163)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:394)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:529)
at sun.net.www.http.HttpClient.<init>(HttpClient.java:233)
at sun.net.www.http.HttpClient.New(HttpClient.java:306)
at sun.net.www.http.HttpClient.New(HttpClient.java:323)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:970)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:911)
at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:836)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1172)
at java.net.URL.openStream(URL.java:1010)
at processing.app.UpdateCheck.readInt(UpdateCheck.java:131)
at processing.app.UpdateCheck.updateCheck(UpdateCheck.java:93)
at processing.app.UpdateCheck$1.run(UpdateCheck.java:63)
at java.lang.Thread.run(Thread.java:662)
I have a problem with processing communicating with arduino. I'm sure the problem is with processing
as the board is working fine.
I'm running windows7 64-bit and read somewhere that the latest beta processing software has problems
with serial when it comes to 64-bit windows, so I reverted back to V1.5.1.
Now I getting the following errors.
Originally the RXTX library versions were different but i got that mended but I'm still getting java connection
errors.
I've exhausted all solutions online.
Any help would be appreciated.
Display 0 does not exist, using the default display instead.
Stable Library
=========================================
Native lib Version = RXTX-2.1-7
Java lib Version = RXTX-2.1-7
[0] "COM1"
[1] "COM5"
java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:529)
at java.net.Socket.connect(Socket.java:478)
at sun.net.NetworkClient.doConnect(NetworkClient.java:163)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:394)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:529)
at sun.net.www.http.HttpClient.<init>(HttpClient.java:233)
at sun.net.www.http.HttpClient.New(HttpClient.java:306)
at sun.net.www.http.HttpClient.New(HttpClient.java:323)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:970)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:911)
at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:836)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1172)
at java.net.URL.openStream(URL.java:1010)
at processing.app.UpdateCheck.readInt(UpdateCheck.java:131)
at processing.app.UpdateCheck.updateCheck(UpdateCheck.java:93)
at processing.app.UpdateCheck$1.run(UpdateCheck.java:63)
at java.lang.Thread.run(Thread.java:662)
1