Re: Question on: IDL link with External C program [message #7531] |
Fri, 22 November 1996 00:00 |
|
Originally posted by: . (ginger)
> 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
Thanks for the information. I'm using window95 platform. I thought
LINKIMAGE only work under WindowNT. What platform are you running IDL on. Am I
stucked with CALL_EXTERNAL with WIn95.
Dave
|
|
|
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
|
|
|