EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  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  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Out of order replies from a serial device
From: Phillip Sorensen <[email protected]>
To: Mark Rivers <[email protected]>
Cc: TechTalk EPICS <[email protected]>
Date: Fri, 19 Jan 2007 16:35:32 -0500
Mark Rivers wrote:
I believe asyn is doing the flush operation that Emmanuel suggested.

I suspect you are not getting out of order replies. I think you are getting a timeout, but then stale data from some buffer is ending up in the apparent data you received with the timeout.

Since the network packets are correct and the asyn trace shows the problem, I think that is is probably a stale buffer at some level. The asyn tracing shows that the reply string to the command that timed out is passed as the reply to the next command sent.


There doesn't seem to be an obvious "Oh do this" answer, so I will dig into the code Monday and find out what is happening.

Thanks for the help,

Phil Sorensen
CHESS


Replies:
Re: Out of order replies from a serial device Phillip Sorensen
References:
Out of order replies from a serial device Phillip Sorensen
Re: Out of order replies from a serial device Emmanuel Mayssat
Re: Out of order replies from a serial device Phillip Sorensen
RE: Out of order replies from a serial device Mark Rivers

Navigate by Date:
Prev: RE: Out of order replies from a serial device Mark Rivers
Next: EPICS Driver for motor through Ethernet/Serial? marco_hair
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: Out of order replies from a serial device Mark Rivers
Next: Re: Out of order replies from a serial device Phillip Sorensen
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Nov 2011 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·