-
Hi,
I've tried this nice Library with RsLinx.
I have one question:
Why there is no writeSync method in the class COPCGroup, only readSync.
I have added one base on (iSychIO->Write).
It works but when it takes 10 ms to read 100 values, it takes 300ms to write them.
I don't know OPC very well, so is it my method which is not correct or is it not the right way to use synchronized...
2007-12-06 10:28:47 UTC by hpeignaux
-
I like the look of this project and i plan to use this code. I would like to thankyou for your efforts with regard to this project. Can i ask, is this project still active?.
2007-11-15 16:02:22 UTC by flippydebop
-
There appears to be a memory leak in COPCItem::getSupportedProperties(). It appears to be caused by the strings allocated for the item descriptions. When I add the following line of code in the FOR loop the leak disappears.
COPCClient::comFree(pDescriptions[i]);
Thanks for this OPC code. I am finding it very useful.
Best regards,
Timmy McKinney.
2007-10-02 16:50:55 UTC by tlmckinney
-
Hello,
I am having an issue with the getItemNames() function hanging, but not all the time. Specifically, it seems like sometimes it hangs against an RSLinx server - Matrikon works fine. Some code snippets:
//global area
using namespace ::std;
CAtlArray<HRESULT> errors;
COPCHost *host;
CString serverName;
COPCServer *opcServer;
//Inside initialization function.
2007-09-12 16:27:53 UTC by slittel
-
You now have
1)synch/asynch reads at the group level.
2)Improved demo code.
3)Small application for measuring OPC server performance.
4) Better project structure.
2006-03-20 12:58:16 UTC by beharrell
-
Version 0.3 supports the refresh operation on the OPC group (an effective way of reading all OPC items in a group).
2006-03-07 13:03:38 UTC by beharrell
-
beharrell committed patchset 18 of module OPCClientToolKit to the OPC Client CVS repository, changing 1 files.
2006-03-07 12:50:59 UTC by beharrell
-
beharrell committed patchset 17 of module OPCClientToolKit to the OPC Client CVS repository, changing 1 files.
2006-03-07 12:49:42 UTC by beharrell
-
beharrell committed patchset 16 of module OPCClientToolKit to the OPC Client CVS repository, changing 2 files.
2006-03-07 12:47:56 UTC by beharrell
-
beharrell committed patchset 15 of module OPCClientToolKit to the OPC Client CVS repository, changing 1 files.
2006-03-07 12:47:14 UTC by beharrell