Eclipse Milo:使用延续点阅读历史
Eclipse Milo: History read with continuation point
我是 运行 一个 OpcUaClient.historyRead
操作,returns 我是一个 HistoryResult
和一个 continuationPoint
集合。 OPC UA 规范说明:
When a ContinuationPoint is returned, a Client wanting the next numValuesPerNode values should call HistoryRead again with the continuationPoint set.
查看 ReadRawModifiedDetails
时,我找不到 continuationPoint
的任何参数。
如何提交包含 continuationPoint
的请求以从服务器请求丢失的数据?
因为我在 Milo 邮件列表上得到了支持,所以我可以回答我自己的问题。可以使用 nodesToRead
参数将 continuationPoint
传递给 OpcUaClient.historyRead
:
new HistoryReadValueId(
new NodeId(5, "Counter1"),
null,
QualifiedName.NULL_VALUE,
continuationPoint
);
我是 运行 一个 OpcUaClient.historyRead
操作,returns 我是一个 HistoryResult
和一个 continuationPoint
集合。 OPC UA 规范说明:
When a ContinuationPoint is returned, a Client wanting the next numValuesPerNode values should call HistoryRead again with the continuationPoint set.
查看 ReadRawModifiedDetails
时,我找不到 continuationPoint
的任何参数。
如何提交包含 continuationPoint
的请求以从服务器请求丢失的数据?
因为我在 Milo 邮件列表上得到了支持,所以我可以回答我自己的问题。可以使用 nodesToRead
参数将 continuationPoint
传递给 OpcUaClient.historyRead
:
new HistoryReadValueId(
new NodeId(5, "Counter1"),
null,
QualifiedName.NULL_VALUE,
continuationPoint
);