CalcAcquisitionChannel compatibility broken
CalcAcquisitionChannel based on CalcHook is not working anymore. I've check that:
- the calc receives the raw data event
- compute function is executed and reply calc values But the calc emit no data. When the CalcAcquisitionChannel receives the computed data, it does not look to the right key in replied dict. Two ways to solve this:
- put back compatibility in bliss core
- update calc written
Some traces:
CalcAcquisitionSlaveBase:new_data_received input_data {'mch6_raw': array([819197, 819205, 819205, 819202, 819196, 819205, 819202, 819191,
819198, 819213, 819188, 819196, 819198, 819193, 819217, 819209,
819213, 819199], dtype=int32)} musst_tdxrd:mch6_delta
CalcAcquisitionSlaveBase:new_data_received calc_data {'musst_tdxrd:mch6_delta': array([-2.79396773e-08, 0.00000000e+00, -2.79396773e-08, -1.39698386e-08,
3.25962901e-08, -1.16415322e-07, 9.31322575e-09, 1.11758709e-07,
1.86264515e-08])}
CalcAcquisitionSlaveBase:_emit_calc_data dict_keys(['musst_tdxrd:mch6_delta'])
channel musst_tdxrd:mch6_delta mch6_delta None
Looking for name mch6_delta
CalcAcquisitionSlaveBase:emit mch6_delta None
mch6_raw data are emitted, calculated well, but the emit is looking for key mch6_delta while calc key is "musst_tdxrd:mch6_delta".
This has already changed in the past. In fscan repo, I can see that I have changed already this to mathc on 1.8 version. So full_name or short_name ??