We work with v1.6 lib and have some issue when tried to write all array elements of data attribute with IEDScout in one request.
The IEDScout can write single item of array (even partially if array have structure elements) and write always succeeds.
But is we set option "Write all values" the IEDScout sends full array and library always response "type-inconsistent". This error appears with any type of arrays, be it structures or integral values.
How can we support writing the entire array and how can we install a write handler that will be called when writing a separate array element (subcomponent) and the entire array?
Our tree:
IEDScout writes separate elements always success:
But if we tries "Write all values" IEDScout fails:
Hi Michael!
We work with v1.6 lib and have some issue when tried to write all array elements of data attribute with IEDScout in one request.
The IEDScout can write single item of array (even partially if array have structure elements) and write always succeeds.
But is we set option "Write all values" the IEDScout sends full array and library always response "type-inconsistent". This error appears with any type of arrays, be it structures or integral values.
How can we support writing the entire array and how can we install a write handler that will be called when writing a separate array element (subcomponent) and the entire array?
Our tree:![tree with arrays](https://github.com/mz-automation/libiec61850/assets/67107595/0b3314dc-f07c-4d5c-8433-267d06dac40e)
IEDScout writes separate elements always success:![write work on single elements](https://github.com/mz-automation/libiec61850/assets/67107595/cf41e356-86f9-4f9f-be40-febdf66aed07)
But if we tries "Write all values" IEDScout fails:![write not work on all array](https://github.com/mz-automation/libiec61850/assets/67107595/25e07b63-3d1d-4167-abc5-78d1a4c2d090)
Here that IEDScout sends:![Array Wireshark](https://github.com/mz-automation/libiec61850/assets/67107595/b0a9b9ed-802b-4c9b-bcf6-85c91bb146f8)
And lib answer:![Array lib answer](https://github.com/mz-automation/libiec61850/assets/67107595/cd5e9863-0ada-4ed2-b1ea-847fd8136c3c)