-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OpenOpcService crashes if I try to read TAGs values #56
Comments
We tested on a 32 bit setup (Win 64bit, but 32 bit Python) due to legacy stuff from the old open opc library. It is on our todo list to migrate everything to 64bit only... So Try 32 bit first. You can also start the Gateway server in your python environment (gateway_server.py) instead of running the Service... this makes it easier to debug. About the 10000 Tags per second... I think that is a bit much, but never tried it. Would be interesting to hear your results. When you want to achieve higher perfomance make sure that you use groups when reading and play arounod with the sync option. I think it also highly depends on the OPC server that you are using. |
@renzop thanks for pointing out that 32-bits works better. I've changed gbda_aut.dll to 32-bit and run gateway_server.py under a 32-bit Python environment. If I have the gbda_aut.dll 32-bit installed, then I cannot even connect to the gateway with the following error:
So, I've installed gbda_aut.dll 64-bit and run gateway_server. It still crashes after I've tried to read tags. So, I traced the place where it crashed by using
Here's what I've got:
|
I can reproduce the error, but it works for some tags... At the moment I am too busy to work on this. |
@renzop thanks for the insight about some tags! I will investigate more. |
Any progress on this ? I am having the same issue (service executable running on windows, client on linux) Edit : registering the 64bit dll on the windows gateway makes this error disappear |
Hi!
I have two questions:
Here is my environment:
OPC DA Server
OPC DA Client
I ran this code https://github.com/iterativ/openopc2/blob/develop/examples/connect_discover_read_tags.py and got following output:
After I tried to read TAG values OpenOpcService crashed with following error from gbda_aut.dll:
The text was updated successfully, but these errors were encountered: