esrf-bliss / Lima

Library for Image Acquisition
https://lima1.rtfd.io
GNU General Public License v3.0
39 stars 71 forks source link

disconnect and reconnect a CCD without using astor #113

Closed PhilLAL closed 4 years ago

PhilLAL commented 4 years ago

Hello, some users would like to know how to do the following:

Currently, the Devices crashed if done without following a few steps:

Our users would like to automatize these steps through python scripts. Do you know if there is a way to avoid passing through astor and stopping/starting again acquisition when disconnecting CCD ?

By the way, we noticed that if CCD was in acquisition when disconnected, the DS cannot be killed nor restarted through astor.

Cheers.

laurent-claustre commented 4 years ago

Hi Philippe, no way to get autoreconnect on camera with Lima. You must restart the main server LimaCCDs.

PhilLAL commented 4 years ago

Thank you Laurent!

hollatz commented 3 weeks ago

Hello Lima community, this question is more than 4 years old so I wanted to follow up on this. I wanted to ask if this automatic reconnect is now possible? For my institute and other laser facilities, disconnecting and reconnecting (or hot plugging in general as well as device server start without hardware connection) is very common. Users like to position a camera, have a look at the field of view and reposition it again. This is part of regular day to day activities.

What is the status on this. Is it possible now or will it be possible in the future? Is something planned?

Cheers, Dominik

PhilLAL commented 1 week ago

Hi @hollatz I think it still is not possible.

hollatz commented 1 week ago

Hi @PhilLAL,

Thank you for the reply. I played around with Lima but so far autoconnect does not work out of the box, at least with the Basler and Prosilica plugins. I could also not find a way to activate autoconnect. Executing the init method does not work either. It really needs a restart of the device server.

Cheers, Dominik