Alexhll / OpenOPC-python3.6

OpenOPC for python3.6 enviroment
Other
34 stars 21 forks source link

Error reading data from both DCOM and Gateway service (Can connect and list) #5

Open leon-h-a opened 4 years ago

leon-h-a commented 4 years ago

Hello,

I'm able to connect and list groups both over the DCOM and Gateway Service but when trying to grab values, I get these errors:

Process finished with exit code -1073741819 (0xC0000005)

Pyro4.errors.ConnectionClosedError: receiving: connection lost: [WinError 10054] An existing connection was forcibly closed by the remote host

Server hierarchy:

error

Code to read values:

Voolodimer commented 4 years ago

Hello! Have you solved this problem?

ottowayi commented 3 years ago

I ran into a similar issue, my Python was 64-bit and the OPC server was 32-bit. Everything was looking like it worked up until I went to read something, then it just exited with no errors or anything. I changed to 32-bit Python and the issue went away.