I'm trying to read and write in a Opc Da server that run on localhost with 11159 port and server id 'BR.OPC.Server_3.0_V1.14.2'. This is my code:
import OpenOPC
import pywintypes
pywintypes.datetime = pywintypes.TimeType
opc=OpenOPC.open_client('localhost',11159)
I tryed also with the server id but always I get 'cannot connect .....' error.
Someone can help me?