-
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
-
Dlog_SETUP
工作日记软件!自已用VB编制的工作日记软件!可实现日记、任务书记录、浏览、(每月、全年)打印预览及打印功能。界面小巧、美观、实用。下了好用的话顶一下呵!(Work diary software! The preparation of their own work with VB diary software! Diary can be achieved, tasks, record books, browse, (month, year) print preview and print functions. Interface, small, beautiful and practical. Easy to use, then the top down about Oh!)
- 2010-10-11 16:39:38下载
- 积分:1
-
labwindows-serial
labwindows 串口编程 简单易懂 做虚拟仪器的同学可以看看 或许对你有用(programming straightforward labwindows serial do virtual instrument students can take a look at perhaps useful to you)
- 2012-11-20 20:41:40下载
- 积分:1
-
控键
采用vb编程,实现在Timer控件中调用RDS技术把采集到的发动机振动信号数据传送到远程的服务器数据库中(used vb programming, to achieve the Timer control Calling RDS technology to the acquisition of the engine vibration signal data to a remote database server)
- 2005-04-25 19:52:19下载
- 积分:1
-
ALPHSourceCode
extract alpha channel within FLV
- 2009-05-06 02:02:24下载
- 积分:1
-
serialnumber
根据CPU、磁盘序列号生成注册码程序,为软件版权序列号生成提供了一个方法。(According to CPU, the disk serial number registration code generation program)
- 2014-11-10 14:54:21下载
- 积分:1
-
4017
ADAM4017基于VB6.0通讯应用.(ADAM4017 Communication)
- 2015-06-02 16:13:52下载
- 积分:1
-
KU
一个禁用U盘的程序,通过修改注册表键值实现禁用USB(A disabled U disk program)
- 2013-04-30 16:40:33下载
- 积分:1
-
MergeSmallRegionArcgis
arcgis合并碎区程序。可实现arcgis的 dissolve 和 eliminate 不能实现的更复杂的条件合并。(arcgis merge small region programm.make more function that tools dissolve and eliminate of arcgis can t making.)
- 2015-08-02 10:08:19下载
- 积分:1
-
stm32f4-usb-cdc-Host
这是一个usb cdc host 的工程,只需做简单的修改即可成为自己的工程(stm32f4 usb cdc host)
- 2015-11-20 20:11:24下载
- 积分:1