在 .NET 中创建通过 OPC 进行通信的应用程序,从哪里开始比较好?

发布于 2024-07-04 13:52:53 字数 1452 浏览 11 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(5

巴黎盛开的樱花 2024-07-11 13:52:53

如果可以选择购买商业工具包,我已经使用了 Northern Dynamics 服务器工具包 并且效果很好。 工具包将消除其他问题中提到的许多问题(或者至少在出现问题时您应该获得支持)。

他们很好地封装了 OPC 协议,因此易于使用。 请参阅我的问题之一,了解类型安全变体我编写的包装器是为了帮助解决这个问题。

If buying a comercial toolkit is an option I've used the Northern Dynamics server toolkit and it worked fine. A toolkit will take away a lot of the issues mentioned in the other questions (or at least you should get support if there's a problem).

They've wrapped the OPC protocol up nicely so it makes it easy to use. See one of my questions here for a type-safe Variant wrapper that I wrote to help with this.

盛夏已如深秋| 2024-07-11 13:52:53

SoftwareToolbox 的 OPCData.NET (http://www.opcdata.net/) 声称是 100% 托管的OPC 客户端的代码解决方案。 SoftwareToolbox 还具有一些其他 OPC 库,可帮助将 OPC 数据绑定到表单和 Web 界面。

SoftwareToolbox's OPCData.NET (http://www.opcdata.net/) claims to be a 100% Managed code solution for OPC Client. SoftwareToolbox also has some other OPC libraries to help with binding OPC data to forms and web interfaces.

来日方长 2024-07-11 13:52:53

当心。 我还没有使用过正确符合任何类型调用约定的 OPC API,特别是在释放内存领域(COM,如文档所述,或其他)。 预计需要一个月的时间来调试内存泄漏。

Be careful. I haven't used an OPC API yet that properly conforms to any sort of calling conventions, particularily in the area of freeing memory (COM, as documented, or otherwise). Expect a month of debugging memory leaks.

征棹 2024-07-11 13:52:53

代码项目文章来自 .NET 的早期,可能不是当今的最佳选择。

替代方案包括 OPC 基金会自己的 .NET API(需要 OPC 基金会会员资格)或多个商业产品。 OPCconnect.com 列出了其中的一些。

The Code Project article is from the early days of .NET and may not be the best option today.

Alternatives include OPC Foundation's own .NET API (requires OPC Foundation membership) or several commercial products. OPCconnect.com lists a number of these.

滥情稳全场 2024-07-11 13:52:53

您可以在这里找到一篇好文章和一个库:http://www. codeproject.com/KB/COM/opcdotnet.aspx

You can find a good article and a library to start with here: http://www.codeproject.com/KB/COM/opcdotnet.aspx

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文