-
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
-
ydcz
这是我大一时候做的一个影牒出租课设 基本完成了功能 不过有很多值得完善的地方 不过我觉得对指针的学习很有帮助(This is the first year when I do a video rental ultimatum to complete basic courses located in a functional but there are many worthy perfect place But I think that the right learning useful pointer)
- 2007-05-30 11:24:57下载
- 积分:1
-
loadanimage
说明: 该程序完成在基于对话框的静态控件中加载一幅图像,可以加载bitmap,icon或cursor(Completion of the program based on the static control in dialog to load an image, you can load the bitmap, icon or cursor)
- 2009-08-17 11:50:13下载
- 积分:1
-
cdswom_permit
ACM中常用的算法思想与常用算法,是本人自己精心收集的,不行的(That is commonly used in ACM algorithm thought and commonly used algorithm, were carefully collected herself, no good)
- 2017-07-15 00:06:13下载
- 积分:1
-
code
program to compute 2d-maxima for a set of xy points. The xy data points are generated using a random number generator. The command to run the program at DOS prompt is:
- compute 2d-maxima for 500 xy points
.2dmaxima 500
- 2012-05-19 04:38:55下载
- 积分:1
-
CWebUpdatePrj
实现通用的程序升级功能,可以检查是否有更新,下载更新(Achieve universal upgrade feature, you can check for updates, download updates)
- 2014-06-04 16:42:16下载
- 积分:1
-
4734264C_chengxuyuan
c程序员书籍,讲解了c语言要注意的很多细节,在此推荐(c language programming books, with detail of programming )
- 2011-07-09 16:46:42下载
- 积分:1
-
Course
本实例演示了利用DAO访问数据库的常用方法,并附带了所用的数据库course.mdb。(examples demonstrating the use of DAO Database Access commonly used methods, and the incidental use of the database course.mdb.)
- 2005-05-12 11:37:22下载
- 积分:1
-
wow_RegistryReadWrite
RegistryReadWrite注册表读写,生成dll文件放到Virtools的BuildingBlocks文件夹下(RegistryReadWrite registry folder read and write, generate dll file into Virtools of BuildingBlocks file)
- 2015-03-23 10:51:16下载
- 积分:1
-
SmallAppWiz
Small Application Wizzard for Visual Studio 2005
- 2009-05-10 04:03:28下载
- 积分:1