针对传统嵌入式实时操作系统不能快速实现操控软件开发的问题,采用多线程机制实现车载光电观瞄装置操控台多种并发任务。介绍系统的总体结构,利用LabWindows/CVI9.0和外置通信卡、视频卡等工具,探讨了采用多线程机制实现该操控台多种并发任务的方法,并给出多线程、视频显示及信息叠加、通信次线程的具体实现方法以及系统试验结果。结果表明,该程序能获得更快地的响应、更小的阻塞和更全面的性能;其人机界面简单,重要信息指示明确,简化用户操作。
Aiming at traditional embedded real-time operating systems have some difficulty in rapid development of operation and control software. Use multi-threading mechanism is adopted to realize the multiple concurrent tasks in control table of one electro-optical monitoring and sighting device. The system framework is introduced firstly. Then the method is discussed which could realize the multi-tasks based on the multi-threading mechanism of LabWindows/CVI 9.0 and tools such as external communication card and video-acquiring card. The detailed method to realize multi-threading, video display and information accession sub-thread, communication sub-thread is provided. The system experiment result indicated that the software could achieve fast response, minus block and better performance. The software also have some other specialty such as simplified human-machine interface, clear information indication and optimized user operate process.