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

Home » Public Forums » archive » IDL and C inter-language communication / call_external()
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
IDL and C inter-language communication / call_external() [message #89073] Tue, 22 July 2014 12:34 Go to previous message
inkorporiert is currently offline  inkorporiert
Messages: 2
Registered: July 2014
Junior Member
Hey,
I have a plotting routine written in C that I call from IDL via call_external() command and this works pretty well. Now I want to plot the fit function with IDL (continously updated) while the external code is fitting.

I tried to call IDL_Execute() command from C, but this failed and then I read that this is only supported in "Callable IDL". But "Callable IDL" is not a solution because i need to pass data to the C routine from a IDL shell.

If there is no solution with call_external() to realize this: What would be the appropriate way to do this kind of bidirectional communication?

To sum it up:

- I want to pass data from a IDL shell to a C routine.
- Within the C routine I want to call IDL functions (plot) which make use of data generated by the C routine.

Thank you.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Generate Same Sequence of Random Numbers in IDL and C
Next Topic: Locating desired values in an array.

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

Current Time: Wed Oct 08 17:54:19 PDT 2025

Total time taken to generate the page: 0.00355 seconds