hi,
i would like to connect my arduino with processing. first i got an RXTX Native & Java lib Version mismatch-error. so i updated my libraries - works fine, i think.
but finally i got a (new) error:
Stable Library
=========================================
Native lib Version = RXTX-2.1-7
Java lib Version = RXTX-2.1-7
[0] "/dev/tty.usbmodemfd121" <-- Arduino
[1] "/dev/cu.usbmodemfd121"
[2] "/dev/tty.Bluetooth-PDA-Sync"
[3] "/dev/cu.Bluetooth-PDA-Sync"
[4] "/dev/tty.Bluetooth-Modem"
[5] "/dev/cu.Bluetooth-Modem"
gnu.io.PortInUseException: Unknown Application
at gnu.io.CommPortIdentifier.open(CommPortIdentifier.java:354)
at processing.serial.Serial.<init>(Serial.java:139)
at processing.serial.Serial.<init>(Serial.java:105)
at SlitScan_sha.setup(SlitScan_sha.java:100) <-- My Sketch
at processing.core.PApplet.handleDraw(PApplet.java:1608)
at processing.core.PApplet.run(PApplet.java:1530)
at java.lang.Thread.run(Thread.java:680)
Exception in thread "Animation Thread" java.lang.RuntimeException: Error inside Serial.<init>()
at processing.serial.Serial.errorMessage(Serial.java:591)
at processing.serial.Serial.<init>(Serial.java:151)
at processing.serial.Serial.<init>(Serial.java:105)
at SlitScan_sha.setup(SlitScan_sha.java:100) <-- My Sketch
at processing.core.PApplet.handleDraw(PApplet.java:1608)
at processing.core.PApplet.run(PApplet.java:1530)
at java.lang.Thread.run(Thread.java:680)
i read http://processing.org/discourse/yabb2/YaBB.pl?board=Electronics;action=display;num=1193459849, there were similar problems in the mac snow leopard os. The error here was occurred becouse something was wrong with the access-premissions for uucp_lock() (/var/lock/). I dont reseve specifically this error but the following error message is the same (even there is no /var/lock folder anymore on OSX Lion) . To summarize, I have no idea where the error lies , because I can not get a helpful error message (gnu.io.PortInUseException = inaccurate).
Iam using Processing 1.5.1 | Mac OSX Lion 10.7.2.
PleasehHelp me, i realy like to talk to my arduino....
best,
jo.
i would like to connect my arduino with processing. first i got an RXTX Native & Java lib Version mismatch-error. so i updated my libraries - works fine, i think.
but finally i got a (new) error:
Stable Library
=========================================
Native lib Version = RXTX-2.1-7
Java lib Version = RXTX-2.1-7
[0] "/dev/tty.usbmodemfd121" <-- Arduino
[1] "/dev/cu.usbmodemfd121"
[2] "/dev/tty.Bluetooth-PDA-Sync"
[3] "/dev/cu.Bluetooth-PDA-Sync"
[4] "/dev/tty.Bluetooth-Modem"
[5] "/dev/cu.Bluetooth-Modem"
gnu.io.PortInUseException: Unknown Application
at gnu.io.CommPortIdentifier.open(CommPortIdentifier.java:354)
at processing.serial.Serial.<init>(Serial.java:139)
at processing.serial.Serial.<init>(Serial.java:105)
at SlitScan_sha.setup(SlitScan_sha.java:100) <-- My Sketch
at processing.core.PApplet.handleDraw(PApplet.java:1608)
at processing.core.PApplet.run(PApplet.java:1530)
at java.lang.Thread.run(Thread.java:680)
Exception in thread "Animation Thread" java.lang.RuntimeException: Error inside Serial.<init>()
at processing.serial.Serial.errorMessage(Serial.java:591)
at processing.serial.Serial.<init>(Serial.java:151)
at processing.serial.Serial.<init>(Serial.java:105)
at SlitScan_sha.setup(SlitScan_sha.java:100) <-- My Sketch
at processing.core.PApplet.handleDraw(PApplet.java:1608)
at processing.core.PApplet.run(PApplet.java:1530)
at java.lang.Thread.run(Thread.java:680)
i read http://processing.org/discourse/yabb2/YaBB.pl?board=Electronics;action=display;num=1193459849, there were similar problems in the mac snow leopard os. The error here was occurred becouse something was wrong with the access-premissions for uucp_lock() (/var/lock/). I dont reseve specifically this error but the following error message is the same (even there is no /var/lock folder anymore on OSX Lion) . To summarize, I have no idea where the error lies , because I can not get a helpful error message (gnu.io.PortInUseException = inaccurate).
Iam using Processing 1.5.1 | Mac OSX Lion 10.7.2.
PleasehHelp me, i realy like to talk to my arduino....
best,
jo.
1