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

Home » Public Forums » archive » Re: How to call an IDL procedure from a DLM
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: How to call an IDL procedure from a DLM [message #47716 is a reply to message #47710] Thu, 23 February 2006 05:26 Go to previous message
Haje Korth is currently offline  Haje Korth
Messages: 651
Registered: May 1997
Senior Member
Maurizio,
What you are trying to do is an interesting concecpt, but I don't think DLMs
are intended to work this way. At least I have never run across an example
for such use. Isn't the whole purpose of DLMs, call_external, etc. to call
code that is specifically NOT implemeneted in IDL? Why would you bother
writing a DLM if the functionality is already present in IDL?

My guess is that you probably have to go out and find an external C or
FORTRAN library that does what you want, e.g. Numerical Recipes. RSI manuals
often specify the source of their external algorithms. Or, if the algortihm
is written in IDL, you can just translate it.

This may just be well above my head, so maybe Karl has some input on this.
If this should really work, I would be interested in seeing an example. I
would be afraid that each of these calls need to start an independent IDL
session, thus leading to significant slowdown.

Cheers,
Haje

"Maurizio Tomasi" <tomasi@lambrate.inaf.it> wrote in message
news:dthqki$eh1$1@muffin.area.ba.cnr.it...
> Last week I posted a request for help, since my DLM produced a number of
> "Stopped on unknown instruction" errors. After some debugging, I found
> that the problem resides in IDL_ExecuteStr, which is not usable in DLMs
> since it has been meant to be used only with Callable IDL.
>
> However, I still need to call an IDL procedure from my DLM. I looked for a
> IDL_CallProc function, but I have had no success. Does somebody know if
> there is a way to do this?
>
> Thank you very much,
> Maurizio Tomasi.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: flux-conserving image resampling?
Next Topic: Re: iVolume isosurface placement

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

Current Time: Thu Oct 09 23:03:21 PDT 2025

Total time taken to generate the page: 0.15920 seconds