Serial port is a common data transmission channel between PC and external serial equipment.In order to improve the speed of serial communication and resource utilization,the software adopt Windows API function and design concept of asynchronous serial communication based on the multi-thread technology,realize the data exchange between temperature controller and PC,and collect data to save to Excel,which is convenient for analysis and processing.%串口是常用的计算机与外部串行设备之间的数据传输通道。为了提高串口通信的速度和资源利用率,软件采用Windows API函数并基于多线程技术和异步串口通信的设计理念,实现了温控器与上位机之间的数据交换,并且将采集到的数据保存到Excel中,便于分析和处理。
展开▼