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

Home » Public Forums » archive » Non-blocking read
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Non-blocking read [message #75623] Tue, 15 March 2011 17:22
David Grier is currently offline  David Grier
Messages: 35
Registered: July 2010
Member
Dear Folks,

I'm using OPENW, WRITEU and READU to interact with a piece of equipment
through a serial port. Everything's fine unless there's an error
condition on the read. If the read fails, then the IDL session hangs
irretrievably. I'd like to use a non-blocking read so that failure
yields no value and some error condition that I can check.

I suppose I could roll my own non-blocking read with CALL_EXTERNAL.

Is there a better (more elegant) way?

Many thanks,

David
[Message index]
 
Read Message
Previous Topic: Re: zenpos vs. SkyCalendar
Next Topic: shape

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

Current Time: Wed Oct 08 19:12:59 PDT 2025

Total time taken to generate the page: 0.00392 seconds