摘要
计算机监控系统广泛应用于众多领域,数据采集与输出控制模块是计算机监控系统直接跟被监控对象关联的不可或缺的输入输出模块,学习和研究这些模块对计算机监控系统的开发、测试与教学等都具有重要意义。本文设计了一个基于RS-232接口的支持模拟量输入与开关量输出的仿真模块,给出了仿真模块的硬件模型、可视化软件模型,设计了操作仿真模块的通信协议,并研究了基于.NET框架的串行通信的关键技术。最后,利用通用多功能计算机监控系统测试软件对仿真模块进行了严格的测试,并给出了应用实例。
Computer monitor systems are widely applied in many fields, the data acquisition and output control modules are the es- sential I/O devices connected to the supervised ones. To Study these modules is very helpful to development, test and teaching of computer monitor systems. In this paper, a simulated module based on RS-232 which supporting analog inputs and digital outputs is designed and developed, including the hardware model, visual software model, communication protocols which operate the simulated module, the key technology of serial communication based on .NET framework is proposed too. Finally, the simulated module is tested strictly by Universal and Multifunctional Testing Software on Computer Monitor System; applied cases based on the simulated module are given too.
出处
《软件》
2011年第12期13-16,共4页
Software
基金
海南省自然科学基金项目(610225)
海南省高等学校计算机类课程教学改革项目(HJJSJ201019)
琼州学院学科带头人和博士科研启动基金项目(QYXB201007)
海南省中青年骨干教师基金
关键词
I/O模块
协议
串行通信
仿真
I/O module
protocols
serial communication
simulation