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 #8670 is a reply to message #7751] Wed, 09 April 1997 00:00 Go to previous messageGo to previous message
Nobuyuki Tasaka is currently offline  Nobuyuki Tasaka
Messages: 2
Registered: April 1997
Junior Member
Hi Tim,

Tim Patterson wrote:
>
> 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


Thanks for your recommendation.

CALL_EXTERNAL (and LINKIMAGE also) is useful to link C routines
but needs to change codes to be portable to other systems, say,
from SunOS 4.1.3 to Solaris 2.5 or SGI etc. SPAWN is slow for
parsing data but there is no fear of this kind of problem.

In my case, I'm transferring the main portion of data to memory
map file by C routine, and this file is readable as a normal file
for any other applications.

My concern is how to use SPAWN for parsing list and errors from
that C routine to IDL, data size of which are not so large.

Please let me know your opinion.

Nobu

---------------------------------
Nobuyuki Tasaka
GE Medical Systems
3200 N Grandview Blvd,
Waukesha, WI 53188
(Phone) 414-521-6577
(E-mail) tasaka@mr.med.ge.com
---------------------------------
[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: Sat Oct 18 18:26:05 PDT 2025

Total time taken to generate the page: 1.43998 seconds