期刊文献+

基于VB中MSComm控件的串行通信

Serial communication based on MSComm controlware in VB
下载PDF
导出
摘要 为了降低仪器仪表成本、减小体积,采用串行方式传递数据。要做到准确无误,PC机和单片机的波特率必须一致。VB中的数据格式必须采用二进制。利用MSComm控件的事件驱动通信方式捕获并处理通信中发生的事件和错误。采用RS-485串行总线标准以实现远距离信息传输。 To decrease prime cost and volume of instruments and apparatus, serial communication format for transmitting is adopted. In order to ensure accuracy of communication, the Bout has to be accordant between PC and Microcontroller. The binary is chosen in data form of VB also. Events or errors occurred in communication are caught and dealt through the communication style of event driving in MSComm control. RS-485 serial communication bus standard is adopted, so that information transmission for a long distance is achieved.
作者 王丽英
出处 《宁波职业技术学院学报》 2006年第2期13-15,共3页 Journal of Ningbo Polytechnic
关键词 MSCOMM控件 事件驱动 串行 MSComm controlware event-driving serial communication
  • 相关文献

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部