This morning we have made good progress in testing PySat v2r1 and PythonVirgoTools v5r0 against the Automation.
We started with the INJ_MAIN automation node, and by updating few configuration parameters we have been able to achieve IMC_RESTORED state without problems.
We refrained to attempt the start of the FMODERR tuning sequence that we considered would need a dedicated shift for proper tuning.
Then we attempted the restart of all SUS node (adding also the missing SUS_SR node) and there we experience that the sporadic crashes of PySat observed in the past became fully repeatable every time we attempted the transition to SAVE_ALIGNED.
We were then able to trace that the crashes were linked to the periodic query of data for the DAQ made in parallel and we have solved the problem by having a 2 separate processes (also conceptually more correct), one for the DAQ bridging (called SusDAQBridge) and one for the interfacing with Automation/GUI, still named, for the moment, SatServer (we will change most probably also this name for not making confusion with the Tango SatServer).
We experienced also one occurrence of a NaN while reading gnames which implied the triggering of an USER_CODE error inside the automation. This will need to be more gracefully managed similarly to the EzcaConnectError.
Since, most probably, introducing this error management at the level of user code is cumbersome, it need to be done at metatron code level itself (will be done and tested soon).
We made also some tests steering with the AlignementUI GUI confirming good behaviour but also the reply processing errors, and alternative implementations of cm_send_receive are currently investigated (not a blocking problem)
We leave the automation with INJ_MAIN and all SUS nodes up and running (See Fig. 1) since it´s quite interesting to verify the long term behaviour (SUS nodes are periodically exercising the system by checking that the suspensions are controlled). Currently the SatServer logging is quite verbose and we leave like this for this initial tests phase.