摘要
根据光电标校验证装置系统软件设计的需求,开发了基于多线程技术的控制软件。设计的软件是基于微软.Net平台下的C#语言实现的。该语言强大的线程模型、完整的接口能够满足对线程操作的需求。软件主要采用多线程技术,将串口通信、控制功能、数据保存和UI交互等模块放在多个线程内执行。线程同步技术能够保证线程之间对象实现快速传输的准确性。为了实现上位机与外设之间的通信,利用C#语言设计软件,通过多线程的方式,大大提高软件的可靠性和稳定性,并与装置连接进行实验,实现了上位机对光电标校装置的控制,完成了系统要实现的功能,验证了软件的可行性。
According to the requirements of software design of photoelectric calibration software, the control software based on multi-thread technology was developed. The software designed in this paper was based on C # language of Microsoft. Net platform. The language is of powerful thread model and complete interface to meet the needs of thread operation. In the software, multi-thread technology, serial communication, control function, data preservation and UI interaction modules were used for multi-thread execution, and thread synchronization technology was used to ensure the accuracy of fast transfer between objects. In order to achieve communication between the host computer and peripherals, C # language was used to design software. Through multi-thread approach, the reliability and stability of the software were improved. The experiment was conducted on the device to complete the system to complete the function and verify the feasibility of the software.
出处
《计算机应用》
CSCD
北大核心
2017年第A02期251-254,共4页
journal of Computer Applications
关键词
多线程
串口通信
C#
云台
multi-thread
serial communication
C #
Pan Tilt Zoom (PTZ)
作者简介
贺林波(1992-),男,河南巩义人,硕士研究生,主要研究方向:嵌入式系统;通信作者电子邮箱549374819@qq.com;刘爱东(1968-),男,山东烟台人,教授,硕士,主要研究方向:嵌入式系统;;于志军(1966-),男,山东栖霞人,高级讲师,主要研究方向:士官教育和新兵人伍教育训练实战化;;李知宇(1992-),男,山东威海人,硕士研究生,主要研究方向:嵌入式系统。