opc icon indicating copy to clipboard operation
opc copied to clipboard

How to deal with concurrent reading of tags

Open XiaodongFeng opened this issue 2 years ago • 1 comments

Now for one opc server, we only can read the tags one by one, If one of the tags cannot be read, the delay will increase.

Did you ever try the interface AddItems & SyncRead/ASyncRead for batch read?

I try to add the method, but it always return type mismatch error.

you can view detailed information through this issue, https://github.com/go-ole/go-ole/issues/227.

XiaodongFeng avatar Nov 17 '21 02:11 XiaodongFeng

I looked into this a few years back and I think I stumbled over the same problem as you that some COM calls with go-ole are not supported, at least back then. I haven't kept track of it because the current solution works well with our OPC DA legacy system. Let me know if you find out more. It would be a nice feature.

konimarti avatar Nov 17 '21 06:11 konimarti