-
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
-
(2D)2PCALDA---face-recognition
(2D)2PCALDA An efficient approach for face recognition
- 2013-05-15 21:30:48下载
- 积分:1
-
60nlixitong
说明: VC6对sqlserver数据库的添加删除查询等相关操作,代码全部在VC编译环境下运行通过。(VC6 adds and deletes queries to SQLSERVER database and other related operations. All the code runs through the VC compiler environment.)
- 2019-04-26 14:48:48下载
- 积分:1
-
vs2008fundamental
Visual Studio 2008 基础教程
Visual Studio 2008 入门教程
(Visual Studio 2008, Visual Studio 2008 Essentials Tutorial)
- 2012-06-14 10:47:51下载
- 积分:1
-
GOOGLE_TOOL
快速下载、自动纠正、拼接谷歌影像。
需要先装个DotNetFX35、Global Mapper及谷歌地球,向作者要个注册码。开发环境:VB.NET (Google earth tool)
- 2009-12-15 08:06:42下载
- 积分:1
-
VC_STK
c++与STKX组件集成,用MFC完成,主要包括创建场景,新建卫星(c++ components integrated with STKX)
- 2020-09-21 14:27:51下载
- 积分:1
-
FreeImage3154Win32
开源的FreeImage图形库的Win32平台发行包,可以方便日常的应用开发。(Win32 platform open source graphics library FreeImage distribution package, you can easily everyday application development.)
- 2013-12-28 10:04:06下载
- 积分:1
-
pente
游戏“五子棋”的程序具体代码。供大家参考。(Game Gobang specific code of procedures. For your reference.)
- 2008-12-18 19:28:06下载
- 积分:1
-
opengl-mdl
说明: 用opengl写的3D场景,可以导入反恐精英里面的任务模型。即可以导入骨骼动画(opengl C++ code Skeletal animation can be imported.)
- 2010-03-29 14:04:58下载
- 积分:1
-
any_ptr
说明: 一个类型安全的通用指针
智能指针的any_ptr可以指向任何类型的对象,提供类型安全的访问。(A Type-safe Generic Pointer
)
- 2011-02-20 22:27:54下载
- 积分:1