VB.Net2003中串行端口通信的实现 |
| |
引用本文: | 卢朝晖,刘家宁.VB.Net2003中串行端口通信的实现[J].海南师范学院学报,2007,20(3):215-219. |
| |
作者姓名: | 卢朝晖 刘家宁 |
| |
作者单位: | 海南师范大学网络中心,海南海口571158 |
| |
基金项目: | 海南师范大学青年教师科研基金项目(Hjkj0510) |
| |
摘 要: | 针对MSComm控件的不足,探讨在VB.Net2003中如何利用API函数来定义串行端口类,并通过一个应用实例介绍如何利用该类的声明来实现PC与可编程控制器之间的串行通信.这对开发高质量的串行通信有一定的应用和借鉴价值.
|
关 键 词: | MSComm控件 串行通信 类 API 多线程技术 |
文章编号: | 1671-8747(2007)03-0215-05 |
收稿时间: | 2007-04-24 |
Realization of serial communication with VB.Net 2003 |
| |
Authors: | Lu Zhaohui Liu Jianing |
| |
Abstract: | In view of the deficiency of MSComm control, this paper discussed how to define the class of serial communication using native VB.Net and API features, and gave an illustration of serial communication between PC and programmable controller by creating an instance of the class, thus providing certain application and reference values for programming serial communication. |
| |
Keywords: | MSComm control serial communication class API multi-threading |
本文献已被 维普 等数据库收录! |