Skip to content

Fix wrong array size

Marco Filho requested to merge ICSHWI-19577 into main

Turns out neither getInfo nor pArray.dataSize are reliable. One determines the size based on data type and number of elements, the other defines datasize based on size allocated, but not necessarily occupied.

Since GenericEvent's size is not 24 bytes, it's not multiple of any primitive data type from epics, so we need to pass it as attribute.

Merge request reports

Loading