Code review comment for lp:~matej-sekoranja/epics-base/pcas-variable-length-arrays

Revision history for this message
Andrew Johnson (anj) wrote :

No, ca_get_callback() also supports variable length arrays; ca_get() can't though because it has nowhere to return the data length. I suspect the read() operation gets called by the server library to fetch the data to be sent for monitor events as well as for get requests.

In any case, applying this change as written modifies the monitor behavior of an existing client. Start excas from a regular Base and do a camonitor on the alan PV. The first monitor event is the full length of the array (1000 elements IIRC). If you repeat that with excas built with this branch, the first monitor event is only a scalar.

« Back to merge proposal