文件名称:vbchuankou
- 所属分类:
- Windows编程
- 资源属性:
- [Windows] [Visual C] [Basic/ASP] [源码]
- 上传时间:
- 2014-05-13
- 文件大小:
- 2kb
- 下载次数:
- 0次
- 提 供 者:
- wpu****
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
VB 串口程序描点画图,程序很小,只有几k,有VB6.0的可对源代码重新编译,运行测试图如截图示。源代码里的部分注释说明:选择com1
MSComm1.CommPort = 1
设置波特率为9.6kpbs,没有奇偶校验,8位数据位,1位结束位
MSComm1.Settings = "9600,N,8,1"
读取全部的输入缓冲区
Case comEvReceive
此处的代码可以进行当串口的接受缓冲区里有RThreshold个字符的处理-VB serial tracing point drawing program, the program is very small, only a few k, there VB6.0 can recompile the source code, run the test pattern as shown in screenshot. Part of the source code annotated: Select com1
MSComm1.CommPort = 1
Set the baud rate to 9.6kpbs, no parity, 8 data bits, 1 stop bit
MSComm1.Settings = "9600, N, 8,1"
Read all of the input buffer
Case comEvReceive
The code here can be accepted when the serial buffer has handled RThreshold characters
MSComm1.CommPort = 1
设置波特率为9.6kpbs,没有奇偶校验,8位数据位,1位结束位
MSComm1.Settings = "9600,N,8,1"
读取全部的输入缓冲区
Case comEvReceive
此处的代码可以进行当串口的接受缓冲区里有RThreshold个字符的处理-VB serial tracing point drawing program, the program is very small, only a few k, there VB6.0 can recompile the source code, run the test pattern as shown in screenshot. Part of the source code annotated: Select com1
MSComm1.CommPort = 1
Set the baud rate to 9.6kpbs, no parity, 8 data bits, 1 stop bit
MSComm1.Settings = "9600, N, 8,1"
Read all of the input buffer
Case comEvReceive
The code here can be accepted when the serial buffer has handled RThreshold characters
(系统自动生成,下载前可以参看下载内容)
下载文件列表
VB 串口程序描点画图\COM.frm
...................\COM.frx
...................\COM.vbp
...................\COM.vbw
VB 串口程序描点画图