摘要
基于多线程、数据缓冲和通讯技术,提出了改进组态软件运行平台通讯实时性的设计思想,并设计出多线程通讯模型,解决I/O操作耗时的问题;将系统中的通讯指令分为2个优先级,并与带优先级的先进先出数据缓冲队列配合,实现写入通讯指令的优先执行;还给出用合并同类通讯指令,提高通讯实时性的方法,最后总结了使用这些方法改造后运行系统的运行数据。
In this paper a design philosophy that based on multi - thread, buffer, signaling techniques is advanced by which to improve realtime capability of communication for configuration software, a multi- thread model is designed to solve the problem of time - consuming I/O operation;priority FIFO buffer is implemented, and communication instruct are classified by priority, ensure write instruct be executed first;a method that combine homogeneous communication instruct is advanced in this paper, then the result that running -platform achieved with improved communication module is shown.
出处
《机械与电子》
2006年第6期69-71,共3页
Machinery & Electronics
关键词
组态软件
实时性
多线程
通讯指令
缓冲区
configuration software
real - time
multi - thread
communication instruction
buffer