EPICS Controls Argonne National Laboratory

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  <20232024  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  <20232024 
<== Date ==> <== Thread ==>

Subject: Re: Monitor timeouts with asyn/StreamDevice, and issues in DRTO with UDP
From: Zimoch Dirk via Tech-talk <tech-talk at aps.anl.gov>
To: "erico.rolim at lnls.br" <erico.rolim at lnls.br>, "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Fri, 22 Sep 2023 13:52:07 +0000
On Fri, 2023-09-22 at 11:28 +0000, Érico Nogueira Rolim wrote:
> I'm not sure what the best way of providing sample data would be. How do 
> you usually do it?

A StreamDebug output of a working processing of the record would do.
Or you connect with a different client. Telnet would probably do for ASCII, but
your protocol is binary.
Last resort: The device documentation, but that is sometimes unreliable.

You have in frmvrs_get:
in "\x02%*04r\x00\x0D\xFE%(\$1\$2FrmVersionA-Cte)04r%(\$1\$2FrmVersionB-
Cte)04r%(\$1\$2FrmVersionC-Cte)04r";

That looks simple enough, just 20 bytes with three (arbitrary) 4-byte integers
at the end.

Maybe the problem is related to @init. For a while now, I am calling @init not
only during iocInit but also at reconnect (and at iocRun after iocPause).

I will try to reproduce and analyze the error at reconnect.

Dirk

References:
Monitor timeouts with asyn/StreamDevice, and issues in DRTO with UDP Érico Nogueira Rolim via Tech-talk
Re: Monitor timeouts with asyn/StreamDevice, and issues in DRTO with UDP Zimoch Dirk via Tech-talk
Re: Monitor timeouts with asyn/StreamDevice, and issues in DRTO with UDP Érico Nogueira Rolim via Tech-talk

Navigate by Date:
Prev: Re: Monitor timeouts with asyn/StreamDevice, and issues in DRTO with UDP Érico Nogueira Rolim via Tech-talk
Next: Re: Strange error in EPICS client program Michael Davidsaver 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  <20232024 
Navigate by Thread:
Prev: Re: Monitor timeouts with asyn/StreamDevice, and issues in DRTO with UDP Érico Nogueira Rolim via Tech-talk
Next: Spawn error when pyepics device puts into nonexistent PV Marco A. Barra Montevechi 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  <20232024 
ANJ, 22 Sep 2023 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·