How to set the OPC source timestamp with writeValue()?

17 ビュー (過去 30 日間)
Martin Kosch
Martin Kosch 2020 年 3 月 30 日
回答済み: Martin Kosch 2020 年 5 月 19 日
Dear MATLAB community,
I am currently trying to establish a connection between MATLAB's OPC toolbox and a python OPC-UA server (aysncua). When manipulating variables on the server, it is very helpful to provide the local UTC time of the client as a source timestamp.
Apparently, MATLAB does not send a source timestamp when using writeValue(uaClient, node, value), as can be seen in Wireshark:
I tried various things and studied the docs but could not find advice on how to send the current system time. Can anybody give me a hint?

採用された回答

Martin Kosch
Martin Kosch 2020 年 5 月 19 日
I found the solution myself: It was no MATLAB issue. Instead, the FreeOpcUa python server I am using does not support setting time stamps.

その他の回答 (0 件)

カテゴリ

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

タグ

製品


リリース

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by