EPICS Home

Experimental Physics and Industrial Control System


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

Subject: Re: Asyn + Streamdevice: Gamma Vacuum Digtial QPC, missmatch after some time
From: Ralph Lange via Tech-talk <tech-talk at aps.anl.gov>
To: EPICS Tech Talk <tech-talk at aps.anl.gov>
Date: Mon, 14 Oct 2024 11:53:14 +0200
(Without looking at your protocols...)

That out-of-sync behavior often happens when the device takes an unusually long time to reply once in a while. (E.g., a small controller that has to do something at higher priority for a while.)

The IOC times out and sends the next request, then the device sends the reply to the last request, which the IOC doesn't like. The IOC sends the next request, the device answers with the reply for the previous request, and so on...

Try increasing your timeouts, so that the IOC waits even in the cases where the device takes a break. Analyze your log timestamps. Are specific commands taking longer? Increase the timeout for those. I have also seen devices taking a nap after specific commands complete successfully - in those cases, "wait;" instructions in the protocol can keep StreamDevice from sending the next command immediately.

Good luck!
~Ralph

Replies:
Re: Asyn + Streamdevice: Gamma Vacuum Digtial QPC, missmatch after some time Marco Filho via Tech-talk
References:
Asyn + Streamdevice: Gamma Vacuum Digtial QPC, missmatch after some time Dr. Simon Friederich via Tech-talk

Navigate by Date:
Prev: Asyn + Streamdevice: Gamma Vacuum Digtial QPC, missmatch after some time Dr. Simon Friederich via Tech-talk
Next: Re: Asyn + Streamdevice: Gamma Vacuum Digtial QPC, missmatch after some time Marco Filho via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  <20242025 
Navigate by Thread:
Prev: Asyn + Streamdevice: Gamma Vacuum Digtial QPC, missmatch after some time Dr. Simon Friederich via Tech-talk
Next: Re: Asyn + Streamdevice: Gamma Vacuum Digtial QPC, missmatch after some time Marco Filho via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  <20242025