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

Home » Public Forums » archive » IDL calls C calls IDL?
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
IDL calls C calls IDL? [message #62518] Thu, 11 September 2008 02:53
hotplainrice@gmail.co is currently offline  hotplainrice@gmail.co
Messages: 15
Registered: July 2008
Junior Member
Hey again,

I've been thinking, I have code that does

LINKIMAGE 'func' ,.....

for t=0,tmax-1
func(data)
idl_function(data)
endfor

Is it possible to call idl_function from within C ?


I want it to be like this

In IDL:
func(data)

Then it passes onto C which does
for (t=0; t<tmax;t++)
{
do whatever it does with data
CALL IDL_FUNCTION(data)
}

This eliminates me calling func a few million times

Can it be done?
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: IDL -> C : How to save data from IDL?
Next Topic: Re: write_tiff integer format

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

Current Time: Wed Oct 08 18:40:26 PDT 2025

Total time taken to generate the page: 0.00472 seconds