-
tuoliduosouce
地磅测试程序,将字符串发送到指定COM口,基于VB写的地磅仪表数据读取工具源码,包括调用了一个仪表通信采集工具、上海耀华、托利多等大众仪表,有一定的参考价值。
设置Com1为通信端口,设置通信端口参数 9600赫兹、偶校验、7个数据位、1个停止位.(这里需要进一步说明的是tting="BBBB,P,D,S,含义是:B:Baud Rate(波特率);P:Parity(奇偶);D:Data Bit;S:Stop Bit)。
.InBufferSize = 40 设置缓冲区接收数据为40字节
.InputLen = 1 设置Input一次从接收缓冲读取字节数为1
.RThreshold = 1 设置接收一个字节就产生OnComm事件。
Timer可以计算从子夜到现在所经过的秒数,在Microsoft Windows中,Timer函数可以返回一秒的小数部分。(Weighbridge test program, the string will be sent to the specified COM port, source-based reading tool written in VB weighbridge instrumentation data, including calling an instrument of communication collection tools, Shanghai Yaohua, Toledo and other public instruments, there is a certain reference value.
Set Com1 communications port, set the communications port parameters 9600 Hz, even parity, 7 data bits, 1 stop bit (It should be further noted that tting = "BBBB, P, D, S, meaning:. B: baud Rate (baud rate) P: Parity (parity) D: Data Bit S: Stop Bit).
. InBufferSize = 40 is set to receive data buffer is 40 bytes
. InputLen = number Set Input once read from the receive buffer byte 1 of 1
. RThreshold = 1 is set to receive a byte generated OnComm event.
Timer can be calculated from midnight to now the number of seconds elapsed, in Microsoft Windows, Timer function can return a decimal fraction of a second.)
- 2014-04-25 15:41:13下载
- 积分:1
-
aodv-code
aodv algorithm for implementing safe network
- 2014-04-13 12:10:57下载
- 积分:1
-
advanced-logging
事件记录类,可直接包含事件记录类,可支持文件和窗口输出两种事件记录方式(Event log category, including event logging class directly, support documents and windows event log output of two ways)
- 2011-08-14 08:15:48下载
- 积分:1
-
NovelSplitter
用VB做的可以按照关键字体来分割小说文件,源码在网上得到的(VB to do with the body to be divided in accordance with the novel keyword documents, source code available online at)
- 2009-03-28 12:49:30下载
- 积分:1
-
RS232
串口通信程序,MSComm方式实现,有参考价值(Serial communication program, MSComm ways, have reference value)
- 2013-11-28 08:45:23下载
- 积分:1
-
boiling
fluent沸腾代码,描述沸腾中的详细过程(fluent boiling code, the detailed description of the process of boiling)
- 2013-10-02 08:00:48下载
- 积分:1
-
UDPdatatrasmission
利用UDP协议实现两台计算机点对点之间的数据传输和聊天功能(Using UDP protocol between two computers peer-to-peer data transfer and chat features)
- 2009-05-11 12:50:33下载
- 积分:1
-
znfatstm32
znfat的STM32的移植的范例 非常好用
- 2010-07-04 12:51:53下载
- 积分:1
-
datelock
用c编写的时钟信号的源程序,希望对广大网友有用(C prepared by the source clock signal, in the hope that the broad masses of netizens useful)
- 2009-03-03 15:06:05下载
- 积分:1
-
sniffer1
C语言实现的监听网络流量的程序,并对截取的报文进行分析。(C language to monitor the flow of network procedures, and analysis of the interception of the message.)
- 2017-01-04 15:17:53下载
- 积分:1