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

Home » Public Forums » archive » Re: use ENVI+IDL together
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
Re: use ENVI+IDL together [message #67831] Thu, 27 August 2009 03:58
jameskuyper is currently offline  jameskuyper
Messages: 79
Registered: October 2007
Member
Nicolas wrote:
> Hi everyone,
>
> I have written a code in IDL which interacts with ENVI. The code works
> fine on a Windows system but I need to run it on an Linux system.
>
> Is there a possibility on Linux to start ENVI+IDL together like in the
> Windows system with the "envi_idl.exe" file? Until now, with the Linux
> system, I can only start ENVI and IDL seperately which means that they
> can't interact together.

On the Linux systems where I work, I simply type 'envi' at the command
line; the ENVI gui pops up, while the normal IDL start-up message
appears in the terminal window, followed by the usual IDL prompt. I can
then issue any IDL commands I want in the terminal window; I presume
that I can interact with ENVI in that windows, though I've never
actually tried it.
Re: use ENVI+IDL together [message #67833 is a reply to message #67831] Thu, 27 August 2009 00:50 Go to previous message
jeffnettles4870 is currently offline  jeffnettles4870
Messages: 111
Registered: October 2006
Senior Member
On Aug 26, 11:49 am, Nicolas <nacke...@gmail.com> wrote:
> Hi everyone,
>
> I have written a code in IDL which interacts with ENVI. The code works
> fine on a Windows system but I need to run it on an Linux system.
>
> Is there a possibility on Linux to start ENVI+IDL together like in the
> Windows system with the "envi_idl.exe" file? Until now, with the Linux
> system, I can only start ENVI and IDL seperately which means that they
> can't interact together.
>
> I hope that someone can quickly answer to this question:
>
> Cheers,
>
> Nicolas

I've done something like this with a combination of IDL's
COMMAND_LINE_ARGS function and an IDL startup file. What I did was set
it up so that I could start IDL with a command line argument that acts
as a flag. Then set up my start up file so that it calls
COMMAND_LINE_ARGS, and if it sees that flag, it starts ENVI (and does
whatever batch stuff you want). I actually used this trick to get the
Windows "Send To" menu to automatically start envi and open a file if
i gave it an envi image, but I think this should also work for your
problem.

Hope it helps,
Jeff
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: IDL vs GDL
Next Topic: IDL 7

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

Current Time: Thu Oct 09 20:08:50 PDT 2025

Total time taken to generate the page: 0.00534 seconds