摘要: |
采用Visual C++和C51语言,在Windows平台下设计单片机实验仪器与计算机串行通信方式。该方式的通信双方采用串行异步方式,当传输大量数据时,采用累加校验和的方法进行校验,传输数据采用握手信号确认的方式,前端的PC机采用面向对象语言实现、单片机采用中断方式进行通信。 |
关键词: 串行通信 单片机 实验仪 通信控件 Windows平台 |
DOI: |
投稿时间:2005-03-18修订日期:2005-05-11 |
基金项目: |
|
The Serial Communication between Laboratorial Instrument and Computer on Windows Platform |
Ou Yang
|
(Math. & Comp. Sci. Dept., Guangxi Teachers Edu. Univ., Nanning, Guangxi, 530001, China) |
Abstract: |
A kind of serial communication between a singlechip laboratorial instrument and personal computer is developed using Visual C++ and C51 language in the platform of Windows.A serial asynchronism communication is employed.The accumulative check sum is used for checkout of mass data transmission.The data transmission is started by signal handshake.The data transferring is performed through Visual C++ in personal computer,and run in interrupt way in singlechip laboratorial instrument. |
Key words: serial communication singlechip laboratorial instrument communication controlling part Windows platform |