OpcUaHelper icon indicating copy to clipboard operation
OpcUaHelper copied to clipboard

一个通用的opc ua客户端类库,基于.net 4.6.1创建,基于官方opc ua基金会跨平台库创建,封装了节点读写,批量节点读写,引用读取,特性读取,历史数据读取,方法调用,节点订阅,批量订阅等操作。还提供了一个节点浏...

Results 58 OpcUaHelper issues
Sort by recently updated
recently updated
newest added

找不到方法:“Opc.Ua.StatusCode Opc.Ua.Client.Session.Close(Int32)”。

怎么设置连接时的安全策略

我使用 BrowseNodeReference浏览节点(bool数组)的字节点时,发现无法FormUtils.Browse函数中的循环无法退出,如图所示,图中注释的地方就是循环无法退出的地方。byteStringCollection不是ref,他的长度无法改变。 ![image](https://github.com/user-attachments/assets/e7434f92-d2c6-4814-9354-101fd1df43fe)

在disconnect方法中可以加入m_session.Dispose();释放对象。 在长达22个月的长时间运行中反复创建断开连接,会导致内存增长到2G以上。

https://github.com/dathlin/OpcUaHelper/blob/045926720ec6cadb0ac1c899250e92f8a8b8b36e/OpcUaHelper/OpcUaClient.cs#L486C15-L486C16

[2025-12-02 03:58:29.971][2,MainUi] [ERR][] APP未捕获异常: System.AggregateException: A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown...