edimetia3d / OPC-Client-X64

An open source OPC DA Client SDK/ToolKit written in C++, support both 32 bit and 64 bit.
GNU Lesser General Public License v3.0
130 stars 73 forks source link

This project is no longer developed #8

Open edimetia3d opened 6 years ago

edimetia3d commented 6 years ago

Since I am not an expert in windows programming, the problems in this project have been beyond my ability, I can hardly contribute more to this project. And also, I am doing some other things now, which are not related to the automation system. So I couldn't put more energy into this project, only Pull Request will be handled in the future.

gustavoleitao commented 6 years ago

=( Nice project! I will try fix problems.

dontsovcmc commented 6 years ago

OPC remote connection is terrible. Look at this "quick" guide: https://www.kepware.com/en-us/support/resource-library/connectivity-guides/remote-opc-da-dcom

Thanks for you project! I think, it is unique in github. OPC DA is "black box" for modern programmers, so open source project is the best way to start work with it.

I use the same source for OPC DA client, but got abnormal behaviour sometimes: Some OPC Servers come with hardware devices. If device disconnects from the server, OPC server lost the tag. Only restart connection helps to continue reading value.

duduyoyo commented 1 month ago

Since this project is no longer developed, here is an alternative if you want to continue using C++ to retrieve DA data back.

This solution works on network transportation layer, so there is no need for OPC C++ component SDK anymore. No COM/DCOM is involved. It works as a 64-bit native application from day one. Besides C++, you can choose any modern languages at your preference - Python/JavaScript/C#/Java etc. Much easier and straightforward, IMO. Cheers!