Re: ImageJ + Arduino Uno = no communications
Posted by Steve Nanchy on Jan 20, 2011; 7:02pm
URL: http://imagej.273.s1.nabble.com/ImageJ-Arduino-Uno-no-communications-tp3685917p3685919.html
Thanks for all the replies. I've tried things but am no closer to a solution..
Jerome: the Arduino app works fine as it is. I'd done that install when upgrading to version 022. As long as the 'RXTXcomm.jar' and 'librxtxSerial.jnilib' are located in my /Library/Java/Extensions/ folder (which ImageJ requires to do any serial port operations) the Arduino doesn't work - it will show that ANY port specified in the Arduino app's 'Tools/Serial Port' menu is "in use by another application. try quitting... etc.".
Bill: see above. Also, (using IJ v1.44n) your macro prints a zero and crashes on line 6 (since indSDL returns a -1). IJ (using this RXTX) doesn't seem to be seeing ANY ports - modem, bluetooth, anything.
Gerrit: thanks. I know what one. all the ports show up (even tty.usbmodem1d11 that the Arduino application uses) but nothing is 'seen' by IJ when it is instructed to look for ports.
Even having to quit one app to work with the other would be sufficient for my work - it isn't really necessary to have them both open at the same time; which would make things easier when it comes to programming - but it seems like RXTX wants to take over everything (preventing Arduino from using any port) and then it doesn't SEE any ports. I've also tried connecting my (known good) Keyspan USB<>RS-232 adapter and it is also not seen by IJ. But Arduino and Keyspan are both recognized by System Profiler, so the machine knows they are there.