连接OPC服务器成功,在标签地址存入OPCItems时出现以上错误,错误代码“C0040007 ”
查询了一些资料提示:
The failure code c0040007 returned from AddItem indicates that the server doesn‘t have any item with the name you‘ve specified. The value in the InstrumentTag field of the PI tag must be the exact name that the OPC server uses for the item. Use PIOPCTool to try to add that Item to a group, or if your server supports browsing, browse to the item and double-click on it to see its full name appear in the Item field of PIOPCTool.