摘要
Windows提供图形用户界面(GUI)支持,但其中断定时编程不像DOS下可直接对硬件操作。针对Windows 9x操作系统,研究了实时控制软件的几种可能的定时方法:系统定时、多媒体定时、VxD和线程中加轮询方式。在分析比较了几种方式各自特点的基础上,给出了其对于数字控制系统而言相应的适用范围,并对其中的几种方式进行了实例测试。通过实测结果比较,推荐使用多媒体定时器和VxD编程方式实现控制软件的中断编程。
Windows support graphic user interface(GUI),but the programming of interrupt timer could not operate hardware directly as DOS system.The three available methods about timer of control software based on windows 9x are studied,which are system timer,multimedia timer,VxD and thread.These modes are tested and compared.Then conclusions are drawn that which mode is better for different kinds of digital control systems.As a result,multimedia timer and VxD programming mode are commended.
出处
《控制工程》
CSCD
2006年第S1期116-118,122,共4页
Control Engineering of China