EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Asyn Serial Timouts
From: Bill Nolan <[email protected]>
To: Tech-Talk <[email protected]>
Date: Mon, 11 Dec 2006 11:41:11 -0600
Hi All,
I have a question about how the asyn drivers deal with a read timeout,
I am working with a device under devAsyn over a serial line through asynOctet.
What I am seeing is that devAsyn is dropping or ignoring input on a read.


I send a command to the device to start a long 10-120 sec) process, I recive back an ACK and then wait in a loop that calls asynOctet->read, and check the return for errors or a completion notice.
This model works most of the time, but if the completion notice arrives durring a the asyn timeoutHandler, then the data is lost.


Is this an intended behavior for devAsyn ?
Would using a asynOctetSyncIO where I can block solve this ?
If so do I need to change my entire device support to use asynOctetSyncIO , or can I have both a Octet and a SyncIO interface to the same device with out interfering with each other?


Thanks for any help.
--Bill

--
Bill Nolan
Washington University Medical School
Department of Biochemistry
4566 Scott Ave.
Mail Stop 8231
St. Louis, Mo 63110
1.314.362.4445 Fax 1.314.362.7183


Navigate by Date:
Prev: Re: Transform Record Tim Mooney
Next: RE: Problems with Channel Access calls on an IOC moving from R3.13.7 -> 3.14.8 Hammonds, John P.
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Transform Record Tim Mooney
Next: caDDE source code? Geoff Savage
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·