>> 自然科学版期刊 >> 2007年01期 >> 正文
多线程技术在远程实验监控软件开发中的应用
供稿: 阎有运;郭晨宇;钟欠根 时间: 2019-05-06 次数:

作者:阎有运;郭晨宇;钟欠根

作者单位:河南理工大学电工电子实验中心河南理工大学电气工程与自动化学院河南理工大学电气工程与自动化学院

摘要:针对实验锅炉控制系统中监控软件多为组态软件,存在资源浪费、灵活性差、实验结果不理想的问题,提出了运用Visual C++开发远程实验监控软件的思想.该监控软件采用了模块化的设计方法,并且根据功能对模块进行划分,同时使用Visual C++的多线程技术和GetTickCount函数来对I/O板卡进行高精度多通道的数据采集,可使远程实验过程中的实验数据实时的传输给现场工控机,实验所需参数也能快速的传给远程用户,较好地满足系统实时性的要求,且能进行自主开发型实验.局域网中调试证明,该远程实验监控软件可以较好地完成所设计的实验方案.

基金:河南省自然科学基金资助项目(032425004);

关键词:实验锅炉控制;监控软件;VisualC++;动态链接库;多线程;

DOI:10.16186/j.cnki.1673-9787.2007.01.012

分类号:TP311.52

The Application of Multi-thread in Experiment Monitoring Software Development

Abstract:With the problem of wasting resources, bad flexibility, and no ideal experiment results in the configure software which is considered remote experiment monitoring software, the way of using Visual C++ to develop remote experiment monitoring software is presented.This monitoring software is designed in the way of model and be divided by its function.Data is assembled by using multi-thread technology and function GetTickCount from I/O board with higher preciseness and more channels, so data in experiment can arrives to field industry computer in real-time, also data which is necessary in experiment can be gained by users, real-time equirement can be satisfied and self-developed experiments can be done.Debugging in local area network testifies that the designed experiment scheme can be completed better.

最近更新