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: Asyn device support does not reconnect
From: Miroslaw Dach via Tech-talk <tech-talk at aps.anl.gov>
To: EPICS Tech-Talk <tech-talk at aps.anl.gov>
Date: Thu, 7 Nov 2024 10:01:38 -0800
Hi All,

We are using in ALS various drivers which are based on Asyn.
Some of them do not auto reconnect. I wanted to consult with you 
what could be done in order to make them auto reconnect.

1. Galil (Galil-4-0-02) motion controller driver. When the connection is lost it reconnects and crashes straight after with the message:
free(): invalid size
or
munmap_chunk(): invalid pointer

example:
Disconnected from DMC4040 Rev 1.3i-SER at 131.243.196.71
connected_=1
Connected to DMC4040 Rev 1.3i-SER at 131.243.196.71
connected set false
Disconnected from DMC4040 Rev 1.3i-SER at 131.243.196.71
2024/10/30 15:17:58.330 GALILSYNC0 -1 autoConnect could not connect: Can't connect to 131.243.196.71:23 TCP: Connection timed out
2024/10/30 15:20:09.411 GALILSYNC0 -1 port is now connected
connected_=1
Connected to DMC4040 Rev 1.3i-SER at 131.243.196.71
free(): invalid size
Aborted (core dumped)


2. Vimba ccd camera driver simply does not reconnect when the connection with the camera  is lost.
We use the driver for the Manta G-235B camera (with the Allied Vision 1800 U-501 NIR  cheap) and also older cameras Manta_G-145 . We used before the Prosilica driver what was doing the auto connect but Vimba does not do that. 

3. Custom stream device support driver which uses the call:
drvAsynIPPortConfigure("custom_device", "HW_dev:8003",0,0,0)
The ioc does not reconnect when the underlying hardware is off for a longer time (2-3 hours) and powered back.

Best Regards
Mirek



Replies:
RE: Asyn device support does not reconnect Mark Rivers via Tech-talk
RE: Asyn device support does not reconnect Mark Rivers via Tech-talk

Navigate by Date:
Prev: Re: Multiple asyn ports inside asynPortDriver class Mark Rivers via Tech-talk
Next: RE: Asyn device support does not reconnect Mark Rivers 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: RE: Multiple asyn ports inside asynPortDriver class Mark Rivers via Tech-talk
Next: RE: Asyn device support does not reconnect Mark Rivers 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