Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/spring/13.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python OpenOPC.OPCError:分派:无效的类字符串_Python_Opc - Fatal编程技术网

Python OpenOPC.OPCError:分派:无效的类字符串

Python OpenOPC.OPCError:分派:无效的类字符串,python,opc,Python,Opc,我想通过python操作KEPWareEx。我用python安装了openOPC库,并尝试访问OPCclient。我发现了上面的错误。要连接到kepware,我们需要安装 1:OPC python库 2:来自的Opc网关 3:OPC Kepware软件 按照来自的命令进行操作 . 你能发布你用来运行客户端的相关代码/命令吗http://openopc.sourceforge.net/api.html 文件我使用了文档中给出的创建客户机的相同命令。比如opc=OpenOPC.client

我想通过python操作KEPWareEx。我用python安装了openOPC库,并尝试访问OPCclient。我发现了上面的错误。

要连接到kepware,我们需要安装 1:OPC python库 2:来自的Opc网关 3:OPC Kepware软件

按照来自的命令进行操作
.

你能发布你用来运行客户端的相关代码/命令吗http://openopc.sourceforge.net/api.html 文件我使用了文档中给出的创建客户机的相同命令。比如opc=OpenOPC.client