Skip to content

opc.read() line killing and restating the kernel #15

@kranthiakssy

Description

@kranthiakssy

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 OpenOPC
opc = OpenOPC.client()
print(opc.servers())
opc.connect('Matrikon.OPC.Simulation.1')
print(opc['Random.Real8'])
opc.close()

Kindly help me to get out of this issue.
I also tried with different IDEs (Jupyter, Spyder, IDLE), but same result.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions