We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
Page Index Toggle Pages: 1
XP Arduino Issue (Read 1009 times)
XP Arduino Issue
Mar 20th, 2009, 12:58am
 
Hi,
I'm running a version of Tom Igoe's cat email program.
Basically a sensor is hooked to an Arduino and a Processing program reads the incoming data and sends an email.  Everything works fine on my MAC.  I need to put it on a Dell with XP. I downloaded drivers for XP from here http://www.ftdichip.com/Products/FT232R.htm and it now reads the Arduino fine.
However, when it starts to read actual data it gives me the following error:

Error 0x5 at /home/bob/foo/rxtx-devel/build/../src/termios.c(482): Accejava.io.IOException: No error in nativeavailable

at gnu.io.RXTXPort.nativeavailable(Native Method)

at gnu.io.RXTXPort$SerialInputStream.available(RXTXPort.java:1532)

at processing.serial.Serial.serialEvent(Serial.java:221)

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.io.IOException: No error in nativeavailable

at gnu.io.RXTXPort.nativeavailable(Native Method)

at gnu.io.RXTXPort$SerialInputStream.available(RXTXPort.java:1532)

at processing.serial.Serial.serialEvent(Serial.java:221)

at gnu.io.RXTXPort.sendEvent(RXTXPort.java:732)

at gnu.io.RXTXPort.eventLoop(Native Method)

at gnu.io.RXTXPort$MonitorThread.run(RXTXPort.java:1575)
ss is denied.

Anyone know how to fix this?  Is it a driver issue, a java issue or Processing issue?
Thanks.
Page Index Toggle Pages: 1