Send a device attribute event during the DevRestart admin command on that device
Hi all,
In Sardana we rely on DevRestart admin device command to perform an action called reconfig. So, whenever something is wrong with one of the sardana devices (motor, experimental channel, etc.), this can be due to the spuriously failing hardware, buggy plugin implementation, etc. we provide the reconfig possibility, to bring the device to a state similar to the one after a fresh start of the server.
Usually, should something like this happen, the device state is Fault, or it stucks in the Moving state, etc. We would like to conclude the reconfig operation with sending a state event so the clients are notified with the updated state.
See https://www.tango-controls.org/community/forum/c/general/development/push-state-change-event-during-devrestart for more details.