Getting Nodes from OPCUA server and read them

4 ビュー (過去 30 日間)
Thisura Ranasinghe
Thisura Ranasinghe 2021 年 2 月 16 日
回答済み: Thomas Pursche 2025 年 3 月 19 日
I am trying to get the nodes from my opc server and when I am reading them back, I get a warning called, "The node id refers to a node that does not exist in the server address space". The Identifier type is GUID. I used opcuanode function to get the nodes. I am forever gratefull if someone could show me my mistake. Please have a look at the attached pictures for more informations. The steps are in respective to the pictures' numbers.

回答 (1 件)

Thomas Pursche
Thomas Pursche 2025 年 3 月 19 日
Hi,
I got the same problem when I was trying to crawl automatically a server and gather all wanted information about the existing nodes.
The problem on my side was, that some OPCUA servers like Kepware allow the Node Identifier contain spaces, brackets and such stuff. With some of this elements Matlab is not happy overall so the error occurs. In your case maybe the curly brackets {} are the problem.
Best regards,
Thomas

カテゴリ

Help Center および File ExchangeUnified Architecture についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by