Re: Serial IO in ImageJ

Posted by Michael Schmid on
URL: http://imagej.273.s1.nabble.com/Re-Serial-IO-in-ImageJ-tp3692680p3692685.html

Hi Bob,

with Windows, I had no trouble to get RXTX running -
   put RXTXcomm.jar into Program Files\ImageJ\jre\lib\ext
   put rxtxSerial.dll into Program Files\ImageJ\jre\bin

For IJSerial itself, see the eslide.net web site, it is simply an  
ImageJ plugin with an additional properties file. These two files  
should be in Program Files\ImageJ\plugins\Serial

On Mac OSX, there is a problem that is not correctly described in the  
documentation:
Directory /var/lock must exist and have write permission for the user  
running ImageJ. RXTX creates lock files there to avoid different  
programs accessing the serial line at the same time. After a program  
crash it might be necessary to delete the lock file there to get it  
running again.

Michael
________________________________________________________________

On 29 Apr 2009, at 22:15, <[hidden email]>  
<[hidden email]> wrote:

> I spent  a whole day trying to figure out how to use it....with no  
> luck.
>
> I am not a 'new age' programmer.
> All these libraries, configurations, directory locations etc. make  
> no sense to me, and I am completely unable to understand them or  
> use them.
>
> Bob
>
> ----- Original Message ----- From: "Michael Schmid"
>
>> Hi Bob,
>>
>> have a look at eSlide
>>
>>  http://www.eslide.net/ijstage.php
>>
>> Michael
>> _____________________________________________________________
>>
>> On Wed, April 29, 2009 21:50, Boris Epstein wrote:
>>> Bob G wrote:
>>>> Hi there,
>>>>   I need the ability to send and receive characters using serial IO
>>>> from within an ImageJ macro under Windows.
>>>>   I used to be able to do this many years ago using NIHImage on  
>>>> the Mac.
>>>>
>>>>   Does anyone know of a serial IO plug-in or something similar?
>>>>
>>>>   I have not been able to figure out what to do with, or to  
>>>> make sense
>>>> out of, any of the  plug-ins or libraries I have found on the
>>>> internet.
>>>>
>>>>   I am not capable of Java programming.
>>>>   I can only do macro programming.
>>>>
>>>>   Alternately, perhaps someone could write such a plug-in for me  
>>>> for a
>>>> contracting fee.
>>>>
>>>>   Any help on this is greatly appreciated.
>>>>
>>>>   Thanks,
>>>>   Bob
>>>>   (619)445-5156
>>>>   (619)445-5201 Fax
>>>>   (619)987-5927 Cell
>>>>
>>> Bob,
>>>
>>> What sort of I/O is this? What is it used for?
>>>
>>> --
>>> *Boris Epstein
>>> National Resource For Imaging Mass Spectrometry
>>> <http://www.nrims.hms.harvard.edu/>
>>> Cambridge, MA
>>> Mobile: (617) 816-9654*
>>>
>>>
>>> The information in this e-mail is intended only for the person to  
>>> whom it
>>> is
>>> addressed. If you believe this e-mail was sent to you in error  
>>> and the
>>> e-mail
>>> contains patient information, please contact the Partners Compliance
>>> HelpLine at
>>> http://www.partners.org/complianceline . If the e-mail was sent  
>>> to you in
>>> error
>>> but does not contain patient information, please contact the  
>>> sender and
>>> properly
>>> dispose of the e-mail.
>>>
>
>