Can't write to an opc.ua.Node that has unknown ServerDataType

10 vues (au cours des 30 derniers jours)
Marcus Björklund
Marcus Björklund le 5 Mai 2017
We have an OPC UA Server with defined variable nodes of type uint. Connecting to the OPC UA Server from MATLAB and reading from a defined opc.ua.Node works flawlessly, which returns data of type uint16 in MATLAB, but writing to a opc.ua.Node returns this error message:
Error using makeWriteDataValue (line 9) Writing to Unknown type nodes is not supported.
It seems that the ServerDataType of the opc.ua.Node is 'Unknown'. We can't find any information about why error this occurs. 1) Do we have to make some additional configurations on the OPC UA Server so MATLAB can detect the ServerDataType, if so, what configurations? 2) Is it possible to bypass this MATLAB error and write to the opc.ua.Node anyway, for instance by manually defining the ServerDataType?
  1 commentaire
Felicity Freeman
Felicity Freeman le 11 Mai 2021
I'm having exactly the same issue. What was the outcome please?

Connectez-vous pour commenter.

Réponses (1)

Ankita Nargundkar
Ankita Nargundkar le 12 Mai 2017
You can contact MathWorks technical support for further assistance.

Community Treasure Hunt

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

Start Hunting!

Translated by