摘要
提供一种以Microsoft Communications Control(version6.0)为基础的串口类CmySerialPort。该串口类主要特点为实现搜索本机有效串口,查询接收数据,超时则跳出和多线程监视接收数据等功能。此外,对控件高速接收数据时丢失数据现象也作了相应改进,保证数据接收的完整性。
A serialport class based on Microsoft Communications Control(version 6.0) is introduced,Which can search valid serialport of computer,check received data,break overtime and monitor receiveing data using multithread and so on. And the class improved the control for loosing data at high reciveing speed to make sure that we can get complete data.
出处
《舰船电子工程》
2008年第4期157-159,共3页
Ship Electronic Engineering