Write array data to OPC-UA server

3 次查看(过去 30 天)
Dear MATLAB community,
I am trying to write data to an array on an OPC-UA server using the OPC toolbox with writeValue(). According to the thrown error message, only scalar values can be written by the toolbox.
Is there a workaround for this, for example by writing the array entries one at a time?

回答(1 个)

Martin Kosch
Martin Kosch 2020-5-19
I found the solution. Writing arrays via OPC seems to be a feature that is only supported after R2020a.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by