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

8 Ansichten (letzte 30 Tage)
Marcus Björklund
Marcus Björklund am 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?

Antworten (1)

Ankita Nargundkar
Ankita Nargundkar am 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