Skip to content

Solve critical improvements.

Marco Filho requested to merge dev into main

As discussed with ECDC:

  • Frame Loss and Event Loss are now displayed as PVs. Their value update into the code is not in the optimal place, but this should be solved on the performance optimization branch afterwards.
  • Image callback accumulates pizels per event. Once we restart the accumulation, the image is cleared.

Also:

  • Removed usage of asyn to read socket. We later found out that this was not the main responsible for the performance loss, but it has a considerable overhead. So we leave the raw socket for now.
  • Fixed wrong epicsTime<->unixTime conversion. Timestamp was being converted to epicsTime but it is already in epicsTime.
  • Removed timestamp from GenericEvent struct. It doesn't need to be there. We only use NDArray::epicsTS instead.

Merge request reports