comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » JAVA Bridge Problem
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
JAVA Bridge Problem [message #66020] Mon, 06 April 2009 15:36
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Folks,

I am going to make another plea for information or help. We are
writing a large JAVA program to serve up data. We are hoping
to use IDL objects to produce "analysis plots" of the data.
We have had absolutely NO luck getting the IDLEXBR_Assistant,
which is used to write the JAVA wrapper program that can
access the IDL object to work.

I have written the very simplest IDL object that does
something useful. I put it here if you are interested:

http://www.dfanning.com/misc/sage_histogram__define.pro

The program uses programs from the Coyote Library, but
other than that, it is nothing special. Given some data,
say an image, it produces a histogram plot:

IDL> o = Obj_New('sage_histogram', LoadData(7))
IDL> ok = o -> Draw()

The object itself works well in every version of IDL we
have tested it on.

Neither we, nor the folks at ITTVIS, can get this object
to open in the IDLExBr_Assistant, which is used to create
the JAVA wrapper program that is used as the JAVA "bridge".
We continually get the message that the "source object cannot
be resolved". We have tried this with different versions of
IDL on both LINUX and Windows platforms.

But here is the thing, we occasionally write an object that
"works". Sometimes an object that fails repeatedly will suddenly
"work". (We suspect something about the specific proportion of the
eye of the newt which is used in conjunction with the witch's
blood is involved, but we can't be sure.)

It is thought that a path problem might be involved (by those
less familiar with Shakespeare and with little imagination), but
if I compile the object, and then issue the RESOLVE_ALL command
before trying the bridge assistant, I run into the same result.
I have even tried building the Coyote Library project before using
the bridge assistant with the same result. So I am disinclined
to believe the "path" explanation.

So, here are my questions. Has anyone run into this problem
before? Do you have any ideas or theories about what could
be going on? If you have an object that "works" with the
bridge assistant, would you might sharing it with me?

I'm really quite desperate. I may have oversold the "IDL
solution" and I am looking for either a good explanation
of what is going on or a way to escape to South America
without being seen. :-(

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: EYE question in the IDLgrView
Next Topic: Re: JAVA Bridge Problem

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Thu Oct 09 07:27:45 PDT 2025

Total time taken to generate the page: 0.87747 seconds