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

Home » Public Forums » archive » Re: test for ENVI running in IDL code
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: test for ENVI running in IDL code [message #41869 is a reply to message #41859] Mon, 06 December 2004 15:18 Go to previous message
Peter Mason is currently offline  Peter Mason
Messages: 145
Registered: June 1996
Senior Member
timothy.williams@nvl.army.mil wrote:
> Is there a way to check to see if ENVI is already running from IDL?
> I'm writing an application that uses ENVI (6.1) and I want to be sure
> that envi is running before I start calling ENVI_* routines.
>
> Thanks.

Hi Timothy,

There's probably a better way and the following function is a bit brutal,
but it works:

forward_function envi_real_main_base
function enviloaded, nothing
catch, e
if keyword_set(e) then return, 0
return, widget_info( envi_real_main_base(), /valid )
end


Cheers
Peter Mason.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: BGR color instead of RGB
Next Topic: Re: BGR color instead of RGB

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

Current Time: Fri Oct 10 01:34:26 PDT 2025

Total time taken to generate the page: 0.23912 seconds