-
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
-
arpasdfasdf
编写程序,实现基于ARP协议获取本局域网内全部活动主机MAC地址与IP地址对应关系列表,要求使用Winpcap,手动封装ARP数据包,并实现ARP响应数据包的接收和解析。(programming, ARP-based LAN access to the activities of all MAC address and IP address correspondence list, require the use of Winpcap, manual Packaging ARP packets, and achieve ARP response data packet reception and analysis.)
- 2006-12-04 14:44:34下载
- 积分:1
-
t
传奇3脱机外挂源码传奇3脱机外挂源码传奇3脱机外挂源码传奇3脱机外挂源码(mir3 gamemir3 gamemir3 gamemir3 gamemir3 gamemir3 gamemir3 gamemir3 game)
- 2020-07-01 15:00:01下载
- 积分:1
-
FileStrongBox
动态库加密,利用动态库对文件系统进行加密和解密操作,并可以透明加密(Dynamic Library Encryption)
- 2011-06-03 16:51:21下载
- 积分:1
-
UDPSERAPP
基于UDP协议通信 实现电脑之间的字符通信 简单的聊天功能(character communication based on UDP )
- 2014-09-19 11:46:58下载
- 积分:1
-
VC6.0WindowTab_Add_IN
VC6.0 文件窗口重叠源码!可以像WndTab那样实现窗口标签!(The VC6.0 WndTab ADD_IN)
- 2011-08-22 09:58:22下载
- 积分:1
-
Duncan
flac3d中邓肯张自定义本构模型的源代码。(duncan self-defined model)
- 2020-10-08 08:57:38下载
- 积分:1
-
3D-Model-Display
在XNA4.0中,3D游戏的制作,需要很多三维模型的导入,本代码显示fbx,x等三维模型的导入,并做了相应的动画。(XNA4.0 in the production of 3D games, you need a lot of three-dimensional model of the import of this code shows the 3D model import fbx, x, and the corresponding animation.)
- 2012-06-02 11:32:23下载
- 积分:1
-
cvJECl29
UG二次开发很好的东西 需要的朋友可以下载来看看 很好用啊(UGerci kaof a )
- 2009-03-30 17:32:04下载
- 积分:1
-
Book-Part-II-Code2-5
DirectX 9.0 3D 游戏开发编程基础
对初学者很有用
- 2013-12-18 22:23:44下载
- 积分:1