检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]湖北师范学院计算机科学与技术学院,湖北黄石435002
出 处:《湖北师范学院学报(自然科学版)》2013年第4期63-68,共6页Journal of Hubei Normal University(Natural Science)
摘 要:实时数据采集是工业控制中极为重要的环节。在某项目中,以Visual Studio为开发工具,上位机对可编程逻辑控制器(PLC)进行数据实时采集使用了两种方案:一种是采用基于消息机制的WM_TIMER定时器,另一种是微软提供的多媒体定时器。阐述了两种定时器的实现方法及其优缺点,可在具体应用中适当选择。最后设计实验对两种定时器进行了十分直观的对比。Real-time data collection is extremely important in industrial control link .In a project,development tools in Visual Studio,PC acquires real-time data on PLC using the two programs:One is WM_TIMER timer based on the messages mecha-nism,Another is Microsoft's multimedia timer.This paper describes the advantages and disadvantages of both methods ,which can be appropriately selected Depending on the application .Finally,we carried out pretty straightforward contrast on the two timers through the design of experiments .
关 键 词:消息机制 VISUALSTUDIO WM_TIMER定时器 多媒体定时器 定时精度
分 类 号:TP311[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:18.223.33.204