(Weighbridgetestprogram,thestringwillbesenttothespecifiedCOMport,source-basedreadingtoolwritteninVBweighbridgeinstrumentationdata,includingcallinganinstrumentofcommunicationcollectiontools,ShanghaiYaohua,Toledoandotherpublicinstruments,thereisacertainreferencevalue.SetCom1communicationsport,setthecommunicationsportparameters9600Hz,evenparity,7databits,1stopbit(Itshouldbefurthernotedthattting="BBBB,P,D,S,meaning:.B:baudRate(baudrate)P:Parity(parity)D:DataBitS:StopBit)..InBufferSize=40issettoreceivedatabufferis40bytes.InputLen=numberSetInputoncereadfromthereceivebufferbyte1of1.RThreshold=1issettoreceiveabytegeneratedOnCommevent.Timercanbecalculatedfrommidnighttonowthenumberofsecondselapsed,inMicrosoftWindows,Timerfunctioncanreturnadecimalfractionofasecond.) - IMDN开发者社群-imdn.cn">
登录
首页 » Visual Basic » tuoliduosouce

tuoliduosouce

于 2014-04-25 发布 文件大小:2263KB
0 234
下载积分: 1 下载次数: 35

代码说明:

  地磅测试程序,将字符串发送到指定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,2259968,2010-06-11
........\..........\..........\AllPurpose.ini,3791,2010-10-07
........\..........\..........\Boastest.dll,207360,2009-09-12
........\..........\..........\C%2B%2Bbuilder.exe,642048,2008-11-18
........\..........\..........\COM.inf,2664,2010-03-24
........\..........\..........\COM.sys,13824,2010-05-31
........\..........\..........\DriverSetup.exe,36864,2010-03-20
........\..........\..........\readme.txt,2065,2010-05-31
........\..........\..........\ReceiveShare.dll,152064,2010-03-26
........\..........\..........\VB6.exe,20480,2010-03-26
........\..........\..........\VB6调用源码
........\..........\..........\...........\AllPurpose.exe,2259456,2010-03-25
........\..........\..........\...........\AllPurpose.ini,3793,2010-09-17
........\..........\..........\...........\Boastest.dll,207360,2009-09-12
........\..........\..........\...........\COM.inf,2664,2010-03-24
........\..........\..........\...........\COM.sys,13824,2010-05-31
........\..........\..........\...........\DriverSetup.exe,36864,2010-03-20
........\..........\..........\...........\Form1.frm,2329,2010-03-29
........\..........\..........\...........\MSSCCPRJ.SCC,196,2010-09-17
........\..........\..........\...........\readme.txt,2065,2010-03-24
........\..........\..........\...........\ReceiveShare.dll,153088,2009-11-20
........\..........\..........\...........\VBReadShare.vbp,735,2010-03-29
........\..........\..........\...........\VBReadShare.vbw,50,2013-05-04
........\..........\..........\...........\VBReadShareDll.exe,20480,2010-03-26
........\BE01
........\....\BE01仪表通讯.frm,4265,2013-05-05
........\....\BE01仪表通讯.vbp,697,2008-07-08
........\....\BE01仪表通讯.vbw,51,2008-09-07
........\....\MSSCCPRJ.SCC,197,2008-09-02
........\....\新建 Microsoft Word 文档.doc,31232,2008-09-03
........\托利多地磅
........\..........\bas地磅.bas,6793,2013-05-05
........\..........\Form1.frm,4951,2013-05-05
........\..........\Form1.frx,134,2005-03-21
........\..........\MSSCCPRJ.SCC,195,2005-03-21
........\..........\托利多地磅.exe,24576,2005-03-21
........\..........\托利多地磅.vbp,766,2005-03-21
........\..........\托利多地磅.vbw,80,2005-03-21

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • chkver
    计算机启动日期和病毒提示VC++程序(computer virus launch date and suggested VC Program)
    2005-03-02 21:55:46下载
    积分:1
  • printjlvb
    VB编写实现的简历打印程序,一眼看上去还挺不错嘛。将程序简历设计成表格的样式,这也是大家习惯用的格式,有放照片的地方,还有个人信息的填写,另外还可打印,简历信息可保存至Access数据库,稍加修改就可制作成一款简历管理软件。选中每一个简历,就可方便的打印出来(VB prepared to achieve resume printing process, one looks pretty bad. The program is designed to form a style resume, which is the format we used to use, there is a place to put photos, and fill in personal information, while also printing, resume information can be saved to an Access database, a little change can be made into a shall resume management software. Each resume is selected, you can easily print out)
    2014-05-14 14:58:25下载
    积分:1
  • 12adc
    12adc转换,如果是C语言的 这个 就太好了!不过 希望大家 做稍微的改动!(12adc)
    2009-10-08 00:58:05下载
    积分:1
  • 646857986564
    Vb调用系统关机函数关闭计算机,有需要的就下载吧。(Vb call system shutdown function to turn off the computer, have a need to download it.)
    2013-08-31 11:17:43下载
    积分:1
  • UMAT
    通用串行總線是一種通用接口,可實現設備與主機控制器(如個人計算機)之間的通信。它連接外圍設備,如數碼相機,鼠標,鍵盤,打印機,掃描儀,媒體設備,外部硬盤驅動器和閃存驅動器。(A Universal Serial Bus is a common interface that enables communication between devices and a host controller such as a personal computer . It connects peripheral devices such as digital cameras, mice, keyboards, printers, scanners, media devices, external hard drives and flash drives.)
    2020-06-23 09:40:01下载
    积分:1
  • windtrain
    PSCAD... WIND POWER TRAINING....
    2013-09-06 17:14:42下载
    积分:1
  • 546789765
    VB简单的圆形放大镜源代码,有需要的就下载吧。(VB source code for a simple round magnifying glass, there is a need to download it.)
    2013-08-30 09:20:34下载
    积分:1
  • miniCommon-master
    widnows VT 技术的开源工程技术文件,源代码(widnows VT tec, mini conmmon)
    2015-11-16 12:45:24下载
    积分:1
  • luzhi(vb)
    fins协议的vb编程,对开发工业控制软件的朋友有借鉴意义(fins omron plc vb programe )
    2014-12-26 09:14:22下载
    积分:1
  • 1
    说明:  taky aboout thaky IA ITHANDKA
    2015-05-23 12:24:19下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载