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

3 views (last 30 days)
Marcus Björklund
Marcus Björklund on 5 May 2017
Commented: Felicity Freeman on 11 May 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?

Answers (1)

Ankita Nargundkar
Ankita Nargundkar on 12 May 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!