When a pyHegel measurement is aborted, crashes, or otherwise ends unexpectedly, the EventManager is left in a frozen state (with respect to the measurement controller) where it cannot launch a new measurement until receiving confirmation that the old one has finished.
We need to think about how we can allow a server reset, and whether it can be done safely from the client or if we would require some more complex zmq shenanigans to allow the EventManager process to recover safely.
It may also be the case that the best way to move forward is to not allow the EventManager to be reset, and instead force the user to restart the EventManager process in these cases.
When a pyHegel measurement is aborted, crashes, or otherwise ends unexpectedly, the EventManager is left in a frozen state (with respect to the measurement controller) where it cannot launch a new measurement until receiving confirmation that the old one has finished.
We need to think about how we can allow a server reset, and whether it can be done safely from the client or if we would require some more complex zmq shenanigans to allow the EventManager process to recover safely.
It may also be the case that the best way to move forward is to not allow the EventManager to be reset, and instead force the user to restart the EventManager process in these cases.