Hi Mirek,
- 1. Galil (Galil-4-0-02) motion controller driver. When the connection is lost it reconnects and crashes straight after with the message:
I am using Galil 3-6 and I don’t see this problem with my DMC-4183 controllers. When I power-cycle the controller the IOC reconnects with no problem. These are the messages I see when
I power it off for about 10 seconds.
Disconnected from DMC4183 Rev 1.3k at 10.54.160.161
2024/11/07 12:33:43.977 GALILSYNC2 -1 autoConnect could not connect: Can't connect to 10.54.160.161:23 TCP: No route to host
Connected to DMC4183 Rev 1.3k at 10.54.160.161
Code started successfully on model DMC4183 Rev 1.3k, address 10.54.160.161
- 2. Vimba ccd camera driver simply does not reconnect when the connection with the camera is lost.
That is an issue that we should look at for ADVimba, ADSpinnaker, and other areaDetector drivers with Ethernet connections. It would be nice to solve it in a centralized place, perhaps
in ADGenICam.
- 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.
Have you added this line to your startup script?
asynSetOption("custom_device", 0, "disconnectOnReadTimeout", "Y")
That will close the socket on the IOC when there is a timeout. If autoConnect is true, then it will then continuously attempt to reconnect every few seconds.
Mark
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:
munmap_chunk(): invalid pointer
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.