Write array data to OPC-UA server

3 vues (au cours des 30 derniers jours)
Martin Kosch
Martin Kosch le 15 Mai 2020
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?

Réponses (1)

Martin Kosch
Martin Kosch le 19 Mai 2020
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