简介:
项目需要 OPC 进行对接,通过查找资料,已经大致了解 OPC 客户端如何使用C++编码,没有 OPC 服务端环境,通过查询了解到Matrikon OPC Server Simulation 可以作为 OPC 模拟服务器。本文参考了《OPCServer:使用Matrikon OPC Server Simulation》,不过由于该文章对使用部分细节不详细,所以想把自己摸索的步骤记录下来;
1、安装
参考文提供了V1.5和V1.7两种版本。我是win10系统安装,安装V1.7版本时报错(兼容和管理员权限都试过):
an error occurred during the installation of assembly'microsoft.vc90.mfc,version="9.0.30729.4148",publickeytoken="1fc8b3b9a1e18e3b"