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 |
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.php Michael ________________________________________________________________ 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 |
In reply to this post by Norbert Vischer-2
Norbert,
afaik the µManager http://www.micro-manager.org/ - which is am ImageJ plugin - makes use of several kinds of devices - maybe you find something useful there... hth, r. -------- Original-Nachricht -------- > Datum: Mon, 17 Nov 2008 15:04:30 +0100 > Von: Norbert Vischer <[hidden email]> > An: [hidden email] > Betreff: Serial port communication in ImageJ and OS X > 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 -- Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer |
Norbert,
Check the 'Hardware tips' on IJSerial plugin page at http://www.eslide.net/ijstage.php They mention 2 successful solutions for OSX Jerome On Mon, Nov 17, 2008 at 3:38 PM, Reinhard Mayr aka Czerwinski < [hidden email]> wrote: > Norbert, > > afaik the µManager http://www.micro-manager.org/ - which is am ImageJ > plugin - makes use of several kinds of devices - maybe you find something > useful there... > > hth, r. > > -------- Original-Nachricht -------- > > Datum: Mon, 17 Nov 2008 15:04:30 +0100 > > Von: Norbert Vischer <[hidden email]> > > An: [hidden email] > > Betreff: Serial port communication in ImageJ and OS X > > > 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 > > -- > Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! > Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer > |
I get it work with eSlide-Serial plugin!!
-nicola Jerome Mutterer ha scritto: > Norbert, > > Check the 'Hardware tips' on IJSerial plugin page at > http://www.eslide.net/ijstage.php > They mention 2 successful solutions for OSX > > Jerome > > > On Mon, Nov 17, 2008 at 3:38 PM, Reinhard Mayr aka Czerwinski < > [hidden email]> wrote: > > >> Norbert, >> >> afaik the µManager http://www.micro-manager.org/ - which is am ImageJ >> plugin - makes use of several kinds of devices - maybe you find something >> useful there... >> >> hth, r. >> >> -------- Original-Nachricht -------- >> >>> Datum: Mon, 17 Nov 2008 15:04:30 +0100 >>> Von: Norbert Vischer <[hidden email]> >>> An: [hidden email] >>> Betreff: Serial port communication in ImageJ and OS X >>> >>> 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 >>> >> -- >> Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! >> Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer >> >> > > |
In reply to this post by Norbert Vischer-2
Dear Jerome,
I've had success with the Serial/IO library using the Keyspan adapter or adapters you can buy from them. It's commercial, but not expensive, and the interface is easier to earn than RXTX. You can feel free to scavenge code here: http://worms.zoology.wisc.edu/research/4d/4d.html I'm not sure it works with the newest Intel Macs, so caveat emptor! Cheers, Jeff ---------------------------------------------- Jeff Hardin Professor and Chair, Department of Zoology Director, Biology Core Curriculum University of Wisconsin 1117 W. Johnson St. Madison, WI 53706 voice: (608) 262-9634 fax: (608) 262-7319 email: [hidden email] On Nov 17, 2008, at 11:00 PM, IMAGEJ automatic digest system wrote: > Date: Mon, 17 Nov 2008 15:04:30 +0100 > From: Norbert Vischer <[hidden email]> > Subject: Serial port communication in ImageJ and OS X > > 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 |
Free forum by Nabble | Edit this page |