Posted by
Michael Schmid on
Nov 17, 2008; 2:22pm
URL: http://imagej.273.s1.nabble.com/Serial-port-communication-in-ImageJ-and-OS-X-tp3694469p3694474.html
Hi Norbert,
yes it works, use the RXTX library (rxtx.org). You can use either the
expensive Keyspan USB->Serial adapters with their driver or
inexpensive ones based on the PL2303 chip (e.g. from Digitus). For
the latter, there is a driver from Prolific (prolific.com.tw) and an
opensource version
http://sourceforge.net/projects/osx-pl2303/In my experience the PL2303-based devices often don't transmit the
first byte sent after closing and opening the serial line, you should
send a dummy byte first.
For code development and more information concerning use of RXTX, you
can also have a look at eslide/ijStage
http://www.eslide.net/ijstage.phpMichael
________________________________________________________________
On 17 Nov 2008, at 15:04, Norbert Vischer wrote:
> Is there anyone who controls a serial port (RS232) via OS X and
> USB from ImageJ? I would like to control some old self-built
> instrument with simple commands such as serialIn, serialOut and
> control of handshakes. This question was asked before several years
> ago, but I never could find a promising answer.
>
> Norbert Vischer