Running Java bridge in Envi + IDL mode [message #79932] |
Fri, 13 April 2012 03:50  |
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  |
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?
|
|
|