Home »
Public Forums »
archive »
Re: Question on: IDL link with External C program
Re: Question on: IDL link with External C program [message #7534 is a reply to message #7531] |
Fri, 22 November 1996 00:00  |
Christian Soeller
Messages: 46 Registered: August 1996
|
Member |
|
|
. (ginger) writes:
>
> Hello to all the IDL users. I'm wondering if there is anyone there have
> experiences on how to use external C or other type of programs within IDL.
> I'm looking for ways that I can control a frame grabber and import the frame
> grabbed images into IDL for process.
The functions to look for are call_external and linkimage, both documented in
the online help. Especially if you are working with linkimage there is also
the Advanced Development Guide which comes with IDL in an online version that
can be read with the Online Help application (using the file->open menu item).
After working with both call_external and linkimage I normally prefer
linkimage but call_external is good for quick and (not necessarily) dirty
things. The biggest trouble you have in the beginning is finding the right
compiler and linker flags to use on your platform (see user guide) but after
that it works quite nicely.
For less complicated tasks you can also invoke standalone programs through
spawn and catch output in an IDL string.
Best regards,
Christian
------------------------------------------------------------ --------
Christian Soeller mailto: csoelle@sghms.ac.uk
St. Georges Hospital Medical School Dept. of Pharmacology
Cranmer Terrace London SW17 0RE
|
|
|
Current Time: Sat Oct 11 02:57:18 PDT 2025
Total time taken to generate the page: 1.36048 seconds