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

Home » Public Forums » archive » Re: Question on: IDL link with External C program
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
Re: Question on: IDL link with External C program [message #7531] Fri, 22 November 1996 00:00
Anonymous
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 Go to previous message
Christian Soeller is currently offline  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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: suggestions for a new plotting tool ...
Next Topic: Save 80% On Your Grocery Bills!!!

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

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

Total time taken to generate the page: 0.00529 seconds