摘要
根据某系统软件设计的需要,开发了基于多线程技术的测控系统软件。本文中所介绍的软件是通过微软.Net平台下的C#语言实现的。该语言平台提供强大的线程模型,完整的线程接口能够满足对线程操作的需要。软件核心采用多线程技术,将数据采集、试验控制、UI交互以及安全监测等功能模块放在不同线程内执行。线程同步技术保证了线程之间对象高速传输的准确性。该软件设计方式不仅大幅度提高了软件的稳定性和可靠性,还充分利用了计算机的系统资源从而加快系统工作效率。
We developed a software of measurement and control system based on multi-threading technology according to the design need of a certain measurement and control system. The realization of the software in the article is through the C# language on the .Net platform, which providing with a powerful thread model and complete operation interfaces can meet the needs toward to the operation on threads. The core function of the software, which starts different threads to run the data acquisition, experiment control, UI interaction and safety monitoring functional modules, is multi-threading technology. Thread synchronization technology guaranteed the accuracy of high-speed objects transmission among different threads. On the one hand, this kind of design pattern enhances the stability and reliability of the software significantly, on the other hand, it can also takes full advantage of the computer’s system resources to speed up the working efficiency of the system.
出处
《电子设计工程》
2016年第16期89-91,共3页
Electronic Design Engineering
关键词
多线程
线程同步
测控系统
C#
multi-threading
data synchronization
measurement and control system
C#