locka99 / opcua

A client and server implementation of the OPC UA specification written in Rust
Mozilla Public License 2.0
480 stars 129 forks source link

Does this library support HistoryRead #158

Closed liuweiXX closed 2 years ago

liuweiXX commented 2 years ago

I tried toUaExpert to read a historical data using UaExpert, but fails 屏幕截图 2022-01-18 205619

schroeder- commented 2 years ago

Out of the box there is no support for HistoryReadRaw. But you can hook your own history backend into the server see: historical.rs There is just a barebone and returns not supported. But you can write your own logic to provide history values.

locka99 commented 2 years ago

Yes it's something you need to implement. The server could conceivably offer some kind of simple history backend but at the moment leaves it up to the implementation to do something with the call.

locka99 commented 2 years ago

Closing since the answer is yes