AfwOpcDaSurrogate additems slooooowwwww
We're using AfwOpcDaSurrogate from our client application, but opc additems takes 8 seconds to add 36 signals. I tried with official opc client "Test client for data subscription" (AdvDsOPCClient.exe). It takes the same time with this client when we add the same signals to a group with a Config1.opc configuration files with the signals.
So it seems that AfwOpcDaSurrogate is taking too long to add these items.
Can you give us a clue about this behaviour? Can we improve this time?
We have more thousands of signals. we even tried a multithreaded approach but it didn't help because it seems that AfwOpcDaSurrogate enqueues the additems itself .
It seems you have a problem. Thats not a normal response time.
The AfwOPCsurrogate server is perhaps "slow" compared to a server like RSLinx, but it should still be much faster than your experience.
The most likely place to start is a mis-configured DCOM configuration For your OPC client identity.
- Are your operator graphics working correctly ?
- Which operator graphic has the most tags on it and how long does that take to load ?
- is your client running on the same machine as the OPC surrogate server.
If your operator graphics are working properly, then you could start by trying to run your test client process using the 800xA service account identity on a machine that is an 800xA client.
AfwOPCDasurrogate is an outprocess application provider here it shares its own memory instead of sharing the OPCprovider memory as this is case in your normal OPCDA(AC800M) so please check for the physical memory & drive, of the server from where you are fetching the data for the 3rd paty OPC clients and also please check the DCOM settings between the nodes.