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

Home » Public Forums » archive » Re: Running IDL .pro script from another app, using the IDL API
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: Running IDL .pro script from another app, using the IDL API [message #55915 is a reply to message #55914] Thu, 13 September 2007 13:34 Go to previous messageGo to previous message
codepod is currently offline  codepod
Messages: 19
Registered: March 2006
Junior Member
On Sep 13, 12:56 pm, David Fanning <da...@dfanning.com> wrote:
> Jim Brown writes:
>> Our R&D group uses IDL and has written .pro scripts for use in
>> testing. Our test engineers use a Microsoft Windows desktop app
>> (developed in-house) but have to get out of the app, start IDL, and
>> then run a script. This happens several times during a test. What I'd
>> like to do is to have our testing app call an IDL API and run the
>> script "in the background" while the test engineer did something else.
>> However, I don't know if this can even be done. Most of the
>> documentation that I've been reading addresses calling an external
>> program from within IDL.
>
> There is a reason for this, but it won't do much good
> to go into it. But keep in mind, IDL was never designed
> for this purpose. :-)
>
>> - I want to do the opposite.
>
> You want to know about "Callable IDL". You can read all
> about it in the External Development Guide, found among
> the other Programmer's Guides in your on-line IDL help.
>
> Cheers,
>
> David
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming:http://www.dfanning.com/

What you'll want to use is the IDL Connector objects, which were build
for this exact scenario. They are part of IDL 6.4 (no extra license
required). Built off the IDL Export Bridge technology, these are basic
COM and Java objects that provide simple access to IDL (Execute
String, Set/Get variables). This is much easier that Callable IDL,
which is difficult to use. So if you can access COM or Java from your
application, you could use this technology.

-CP
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Problems with IDL on Fedora Core 7
Next Topic: Where is textoidl?

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

Current Time: Wed Oct 08 17:23:35 PDT 2025

Total time taken to generate the page: 0.00415 seconds