摘要
研究了基于WinCE操作系统的自动校直机产品实现串口通信的基础编程方法,给出利用编程工具VS2005实现API函数操作串口通信的类封装方法以及读写串口的VC.net设计实例,同时利用VB.net控件Seri-alPort实现串口的异步、同步通信,最后所有程序在蓝海微芯公司提供的eWin7000一体机上运行测试成功。
Basic programming method is studied for the realization of serial communication based on WinCE.The class package method with operation of serial communication by API and the design example for VC.net by use of programming tools VS2005 are proposed.Then asynchronous and synchronous serial communication is realized with the SerialPort component of VB.net.At last,all the programs successfully run and test on the eWin7000 integrated machine provided by Bluemcu Co.,Ltd.
出处
《工程与试验》
2011年第3期68-71,共4页
Engineering and Test