节点文献
基于多任务多线程的智能仪器软件设计
Software Design of Intelligent Instruments Based on Multi-tasks and Multi-threads
【摘要】 在基于单片机的智能仪器的软件设计中引入了多进程和多线程的思想及抢占式调度策略,划分智能仪器软件为主进程、A/D数据采集进程、动态显示进程等。主进程又分为按键处理、输入数据计算处理、状态监测控制等线程,用监控程序来实现线程的调度,提高了智能仪器的响应速度和性能。
【Abstract】 For the software design of intelligent instruments based on single-chip micro-processor,the multi-process,multi-threads and the scheduled policy of preemption were introduced.The software of intelligent instruments was partitioned into main process,A/D data acquisition process and dynamic display process etc.The main process include operating keyboard,calculating input data,testing status,etc.A program to supervise these threads.The performance of instruments was improved by this means.
【关键词】 任务调度;
多线程;
时间片;
智能仪器;
【Key words】 Task Scheduler; Multi-threads; Time Piece; Intelligent Instrument;
【Key words】 Task Scheduler; Multi-threads; Time Piece; Intelligent Instrument;
- 【文献出处】 仪表技术与传感器 ,Instrument Technique and Sensor , 编辑部邮箱 ,2004年11期
- 【分类号】TP311.52
- 【被引频次】4
- 【下载频次】182