所属分类:
串口编程
开发工具:Visual Basic
文件大小:3KB
下载次数:286
上传日期:2006-02-13 21:05:33
说明: vb 串口通讯调试方法
现有电子秤一台,使用串口与计算机进行通讯。编写VB程序来访问串口,达到读取电子秤上显示的数据。该电子秤为BE01型仪表,输出为RS-232C标准接口,波特率为300-9600、偶校验、7个数据位、2个停止位。所有字符均发送11位ASCII码,一个起始位。在VB中与串口通讯需要引入控件MSComm串口通讯控件(在Microsoft Comm Control 6.0中)
(vb serial communications debugging method existing electronic weighing a Taiwan, the use of serial communication with the computer. Preparation of VB to visit serial, electronic scales to read displayed on the data. The electronic scales for BE01-type instrument, the output of RS-232C standard interface, baud rate to 300-9600. Dual-checking, seven data bits, stop at two. All characters are sending ASCII 11, a starting place. In VB serial communications needs with the introduction of MSComm control serial communication controller (in Microsoft Co. Control 6.0 mm))