Go Down

Topic: Help: serial portname (Read 866 times) previous topic - next topic

Alisha

Nov 04, 2007, 02:27 am Last Edit: Nov 04, 2007, 02:38 am by Alisha Reason: 1

Please help me, help me.  

I have an Diecimila Board- usb. I am using one pushbutton and I want to see the graphic in processing. I went to this site:  
http://webzone.k3.mah.se/projects/arduino-workshop/projects/arduino_meets_processing/instructions/pushbutton.html

and everything is working fine on my arduino board.  
In processing, I changed the portname to  
String portname = "/dev/tty.usbserial-A4001mmw";  
which is what i am using in arduino...  

but there is this error : gnu.io.PortInUseException: Unknown Application  
at gnu.io.CommPortIdentifier.open(CommPortIdentifier.java:  
354)            What is it? please help! ::
:-[ :-[ :-[ :-[ :'(       ¬†
Thanks. Alisha

bigengineer

You can only open the port once. If you want to open it in processing, make sure the serial monitor is closed in the arduino IDE.

mellis

You might also need to run the macosx_setup.command.  See the Processing serial library page for more troubleshooting suggestions: http://processing.org/reference/libraries/serial/

Alisha

Thanks a lot for your help!... Well, it's still not working at all... no idea why. The serial monitor in arduino was  closed.. Well, I will look at the Processing's link right now. Best-Alisha

Alisha

#4
Nov 06, 2007, 12:08 am Last Edit: Nov 06, 2007, 01:17 pm by Alisha Reason: 1
Thanks a Lot. :D

IT IS WORKING!  YOUPPI! the answer was on the processing's Link.
the macosx_setup.command.


Many thanks.

Alisha 8-)

Go Up