节点文献
智能仪器中一种菜单式人机界面的软硬件设计
Software and Hardware Design Based on Menu Interface in Intelligent Instruments
【摘要】 由点阵式液晶显示器和旋转式光电编码开关构成的智能仪器的人机交互界面,使仪器的操作向菜单式、傻瓜型迈进。在阐述光电编码开关基本原理和使用方法的基础上,介绍了I2C接口芯片电路形成的硬件输入结构,该结构体现了简洁的风格。在软件方面,则以当前的液晶屏显示窗口作为界面状态,以状态跟踪为主线形成基于界面状态的模块式程序结构,这种程序结构的作业链清晰,便于调试,而且适合于仪器改进和升级时功能软件的增加或变换。在由上位机与之组成自动测试系统时,操作命令下传后的任务执行程序也是及其简单的。
【Abstract】 The alternation interface of intelligent instruments composed of lattice LCD and photoelectric coding switch makes its operation towards menu form and fully automatic.The basic principle and the usage of photoelectric coding switch are introduced,and the input structure of hardware is formed by I2C interface circuit,which embodies compact style.On the software,the window of the current LCD display is used as interface state,and the module program structure based the interface state is formed by state trace as masterstroke,so that the task chain of the program structure is clearly and ease to debugging.Furthermore,the structure is fit for enhance of the function software at instrument improvement and upgrade.When it composed automatic test system with the upper computer,the task program is also very simple after the operating command coming from the upper PC.
【Key words】 intelligent instruments; photoelectric coding switch; menu; interface state; program structure;
- 【文献出处】 浙江科技学院学报 ,Journal of Zhejiang University of Science and Technology , 编辑部邮箱 ,2007年03期
- 【分类号】TH702
- 【被引频次】4
- 【下载频次】182