CDN加速镜像 | 设为首页 | 加入收藏夹
当前位置: 首页 资源下载 源码下载 Windows编程

文件名称: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.
(系统自动生成,下载前可以参看下载内容)

下载文件列表

地磅测试/AllPurPose/AllPurPose/AllPurpose.exe
地磅测试/AllPurPose/AllPurPose/AllPurpose.ini
地磅测试/AllPurPose/AllPurPose/Boastest.dll
地磅测试/AllPurPose/AllPurPose/C++builder.exe
地磅测试/AllPurPose/AllPurPose/COM.inf
地磅测试/AllPurPose/AllPurPose/COM.sys
地磅测试/AllPurPose/AllPurPose/DriverSetup.exe
地磅测试/AllPurPose/AllPurPose/readme.txt
地磅测试/AllPurPose/AllPurPose/ReceiveShare.dll
地磅测试/AllPurPose/AllPurPose/VB6.exe
地磅测试/AllPurPose/AllPurPose/VB6调用源码/AllPurpose.exe
地磅测试/AllPurPose/AllPurPose/VB6调用源码/AllPurpose.ini
地磅测试/AllPurPose/AllPurPose/VB6调用源码/Boastest.dll
地磅测试/AllPurPose/AllPurPose/VB6调用源码/COM.inf
地磅测试/AllPurPose/AllPurPose/VB6调用源码/COM.sys
地磅测试/AllPurPose/AllPurPose/VB6调用源码/DriverSetup.exe
地磅测试/AllPurPose/AllPurPose/VB6调用源码/Form1.frm
地磅测试/AllPurPose/AllPurPose/VB6调用源码/MSSCCPRJ.SCC
地磅测试/AllPurPose/AllPurPose/VB6调用源码/readme.txt
地磅测试/AllPurPose/AllPurPose/VB6调用源码/ReceiveShare.dll
地磅测试/AllPurPose/AllPurPose/VB6调用源码/VBReadShare.vbp
地磅测试/AllPurPose/AllPurPose/VB6调用源码/VBReadShare.vbw
地磅测试/AllPurPose/AllPurPose/VB6调用源码/VBReadShareDll.exe
地磅测试/BE01/BE01仪表通讯.frm
地磅测试/BE01/BE01仪表通讯.vbp
地磅测试/BE01/BE01仪表通讯.vbw
地磅测试/BE01/MSSCCPRJ.SCC
地磅测试/BE01/新建 Microsoft Word 文档.doc
地磅测试/托利多地磅/bas地磅.bas
地磅测试/托利多地磅/Form1.frm
地磅测试/托利多地磅/Form1.frx
地磅测试/托利多地磅/MSSCCPRJ.SCC
地磅测试/托利多地磅/托利多地磅.exe
地磅测试/托利多地磅/托利多地磅.vbp
地磅测试/托利多地磅/托利多地磅.vbw
地磅测试/AllPurPose/AllPurPose/VB6调用源码
地磅测试/AllPurPose/AllPurPose
地磅测试/AllPurPose
地磅测试/BE01
地磅测试/托利多地磅
地磅测试

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 搜珍网是交换下载平台,只提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度。更多...
  • 本站已设置防盗链,请勿用迅雷、QQ旋风等下载软件下载资源,下载后用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或换浏览器;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*快速评论: 推荐 一般 有密码 和说明不符 不是源码或资料 文件不全 不能解压 纯粹是垃圾
*内  容:
*验 证 码:
搜珍网 www.dssz.com