Quantcast
Channel: Active questions tagged kernel - Stack Overflow
Viewing all articles
Browse latest Browse all 6501

Kernel Crash and Restarting during reading OPC data using OpenOPC

$
0
0

I got stuck up with small issue while using openOPC.I have installed python 3.8.3 on windows 10 64 bit system.Installed OpenOPC-Python3x through pip install.Running Matrikon OPC simulation server and OPC explorer for data simulation.

While running the following code, I'm able to connect with Matrikon OPC server, but when I try to read/write the data, kernel is restarting and I'm not able to get any data.

`import OpenOPCopc = OpenOPC.client()print(opc.servers())opc.connect('Matrikon.OPC.Simulation.1')print(opc['Random.Real8'])   opc.close()`

I also tried with different IDEs (Jupyter, Spyder, IDLE), but same result.

When I try to read the same data through anaconda command prompt, data is coming without any problem.

Kindly help me to get out of this issue.enter image description here


Viewing all articles
Browse latest Browse all 6501

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>