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

Home » Public Forums » archive » SPAWN and reading from a socket?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: SPAWN [message #8681 is a reply to message #7751] Tue, 08 April 1997 00:00 Go to previous message
Tim Patterson is currently offline  Tim Patterson
Messages: 65
Registered: October 1995
Member
Hi Nobu,

If you have database retrieval routines already in C,
have you thought about using CALL_EXTERNAL to link
the C routines directly into your IDL code and save you
having to use SPAWNs which will likely be slower.

There's a lot of examples out there for calling up C from
IDL and it's now a relatively simple thing to set up on
most platforms.

Tim



Nobuyuki Tasaka wrote:
>
> Hi all,
>
> If someone who have tried to compare SPAWN in the following
> usage, please let me know the difference in terms of data
> parsing speed, interface flexibility and routine's independency.
>
> I would like to use SPAWN for calling database retriving routine
> written in C.
>
> 1) SPAWN, "cmd", result
>
> 2) SPAWN, "cmd", /UNIT
>
> 3) SPAWN, "cmd"
> (C routine writes data to memory map file and then IDL read it
> as a Logical Unit File)
>
> I'm looking forward to your help.
> Nobu
>
> ---------------------------------
> Nobuyuki Tasaka
> GE Medical Systems
> 3200 N Grandview Blvd,
> Waukesha, WI 53188
> (Phone) 414-521-6577
> (E-mail) tasaka@mr.med.ge.com
> ---------------------------------

--
Dr.Feelgood's Amazing And Marvellous Poetic Panacea
Guaranteed To Cure All Ailments Of The Soul
NO REFUNDS
http://condor.lpl.arizona.edu/~tim/
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: mswindows postmessage loops?
Next Topic: tiff_read files

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

Current Time: Fri Oct 10 19:59:07 PDT 2025

Total time taken to generate the page: 0.56057 seconds