Eclipse plugin - reading and writing to IDL variables [message #70381] |
Fri, 09 April 2010 20:06  |
Robbie
Messages: 165 Registered: February 2006
|
Senior Member |
|
|
Hi,
I am writing a Java Swing application which might be useful for
manipulating DICOM studies. I think that it might be interesting to
integrate the application into the IDL workbench. The only problem is
that I want to read and write variables in the existing IDL session.
I've looked at the Java to IDL bridge and the IDL export bridge, but
neither seem to be suitable.
The only platform agnostic ways would be to:
* Use memory mapped files (ASSOC)
* Use TCP sockets (SOCKET)
Other options:
* Transfer the data be passing small chunks through shared memory
(SHMMAP) however Java doesn't natively support shared memory.
* Transfer the data using Datagram sockets, however, IDL doesn't
natively support those.
I think it would be simplest to use memory mapped files. Both Java and
IDL have optimisations for those.
Any thoughts?
|
|
|
Re: Eclipse [message #77060 is a reply to message #70381] |
Tue, 02 August 2011 11:15  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Kenneth P. Bowman writes:
> I can't believe I wrote 'right' instead of 'write', although
> software that would do either one would be great. :-)
I'm convinced this is a feature of growing old. Your
fingers don't seem to "here" as well as they used to.
It's probably a sign that you should start SERIOUSLY
thinking about retirement. :-(
Cheers,
David
P.S. Let's just say this kind of thing makes writing a
book a MUCH bigger adventure than it ought to be!
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|
|