Hi Helge,
Thanks for finding that. I have fixed the problem
and tested the solution. The fixed code is available in Subversion:
https://svn.aps.anl.gov/epics/asyn/trunk
The fix will be included in asyn R4-18.
Mark
Hi Mark,
I have a problem with asyn in combination with RS232
and Windows. The timeout parameter =0.0 blocks the read operation and
will never come back, when no bytes are received. The documentation points out
that zero will not block. The problems is in the readit part of the new
drvAsynSerialPortWin32.c. The for-loop will never end. I added a :
if
(tty->readTimeout == 0.0)
break;
This will fix the problem
Best regards
Helge
--------------------------------------------------
Paul Scherrer
Institut
Dr. Helge Brands
WBGB/013
5232 Villigen PSI
Switzerland
Tel.: +41 56 310 5408
E-Mail: [email protected]
--------------------------------------------------