摘要
介绍了一种在 Windows平台下通过串行口进行通信的方法 ,这种基于Win32 API函数的方法简单而灵活 ,同时使用了多线程技术 ,使程序能够适应高速的数据采集和处理 .程序源代码为 C+ +代码 ,程序框架采用
Introduced a way of communicating through serial port on windows platform. With simplicity and flexibility, the proposed method is based on Win32 API functions and employs multithreading technique which makes the program capable to high speed data collecting and processing. The source code is written in C++, and the framework programmed with MFC class libraries.
出处
《北京轻工业学院学报》
2000年第4期34-40,共7页
Journal of Beijing Institute of Light Industry
关键词
工控机
串行口通信
多线程消息分发机制
Win32 API
visual C++
multithreading mechanism of message distributing