Allow array index in PV name#3653
Conversation
kasemir
left a comment
There was a problem hiding this comment.
Finding it hard to see logical changes in the flood of white space rearrangements.
Fundamental issue here is that the CA array handling is done on the server side. 'RSRV' in the IOC turns "VAL[10]" into a scalar.
With PV access, 'QSRV' on the IOC doesn't do that. We started to somewhat support this on the client side, but not all PVA clients do this, so users will be disappointed when the same PV behaves differently across tools.
Perhaps it would be a good idea to add an autoformatter such as https://github.com/diffplug/spotless/tree/main/plugin-maven or https://github.com/spotify/fmt-maven-plugin so the formatting is the same for every developer regardless of IDE. |
|
I prefer over an auto-formatters |
|
@kasemir, I will close this and create a new PR without mangled code. As for the feature proper: the |
Pointed out by user: for channel access you may specify
pvname.VAL[index]and get the scalar value of the element atindex. This PR adds support for the same notation in pv access.Checklist
Testing:
Documentation: