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

8 visualizaciones (últimos 30 días)
Marcus Björklund
Marcus Björklund el 5 de Mayo de 2017
Comentada: Felicity Freeman el 11 de Mayo de 2021
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?

Respuestas (1)

Ankita Nargundkar
Ankita Nargundkar el 12 de Mayo de 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