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

Home » Public Forums » archive » Running Java bridge in Envi + IDL mode
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
Running Java bridge in Envi + IDL mode [message #79932] Fri, 13 April 2012 03:50 Go to next message
Matej Perše is currently offline  Matej Perše
Messages: 5
Registered: April 2012
Junior Member
Hi all,

I have a couple of questions regarding Java bridge:

First: I was able to run all my scripts successfully in standard IDL
server mode, however now the guys I work with have added some parts of
the code that also needs ENVI.
I was wondering if any of you has any experience with running the Java/
IDL bridge in ENVI + IDL mode. Is it even possible to do it?

Second: I have tried to run two separate asynchronous java threads
which call 2 different IDL functions. However when I check the
resources the code is always executed in sequence - i.e. one of the
processes always waits for the second one to finish. I have also
checked the processes in the Task Manager and it appears that only one
idl_opserver process is created for both threads. Is there any way/
flag to tell the IDL to start two separate idl_opserver processes
which would run in parallel?

Thanks for the answers,
Matej
Re: Running Java bridge in Envi + IDL mode [message #85262 is a reply to message #79932] Fri, 19 July 2013 03:03 Go to previous message
guyanxiao is currently offline  guyanxiao
Messages: 1
Registered: July 2013
Junior Member
On Friday, April 13, 2012 6:50:42 PM UTC+8, Matej Perše wrote:
> Hi all,
>
>
>
> I have a couple of questions regarding Java bridge:
>
>
>
> First: I was able to run all my scripts successfully in standard IDL
>
> server mode, however now the guys I work with have added some parts of
>
> the code that also needs ENVI.
>
> I was wondering if any of you has any experience with running the Java/
>
> IDL bridge in ENVI + IDL mode. Is it even possible to do it?
>
>
>
> Second: I have tried to run two separate asynchronous java threads
>
> which call 2 different IDL functions. However when I check the
>
> resources the code is always executed in sequence - i.e. one of the
>
> processes always waits for the second one to finish. I have also
>
> checked the processes in the Task Manager and it appears that only one
>
> idl_opserver process is created for both threads. Is there any way/
>
> flag to tell the IDL to start two separate idl_opserver processes
>
> which would run in parallel?
>
>
>
> Thanks for the answers,
>
> Matej

regarding "start two separate idl_opserver processes ", you need to set process name before you create the idl_connect object. I don't remember the method name. you can check the API for it. But even I create separate idl_opserver processes, I still have sequence execute problem. very strange and I don't know why. Anybody can help on it?
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Spawning without a cmd.exe window
Next Topic: SVDC did not converge

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

Current Time: Wed Oct 08 13:31:11 PDT 2025

Total time taken to generate the page: 0.00392 seconds