摘要
在基于PI实时数据库的二次开发中,需要工业现场实时数据采集的模拟环境,以满足开发测试的要求。本文采用多线程技术和DllImport技术来调用PI系统的PI-API接口,模拟设备的数据采集、保存、显示等运行状态。在实际的测试和应用中满足了PI系统二次开发的测试环境的需求。
The secondary development of PI real-time database need an environment of industrial on-site data acquisition to meet the requirements of development and testing. In this paper, using multi-threading technology and Dlllmport to call PI system PI-API interface, simulate the equipment operating status of data acquisition, storage, displaying and other functions. In the actual testing and applications, it has met the requirements of the secondary development of PI system.
出处
《科技信息》
2012年第3期136-136,112,共2页
Science & Technology Information