(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 207
下载积分: 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 个回复

  • ADAM温度采集
    利用ADM4017实现空调系统压力的采集(蒸发压力和冷凝压力) ,利用ADAM4018实现热电偶的温度采集。包含了曲线显示,数据存储功能,自定义温度标签功能。(this applicaion is used to get the temperature and pressure of the HVAC system by ADAM4017 and ADAM4018. include the cure print, the data storage and user defined label for 8 channels temperature.)
    2018-04-28 10:28:06下载
    积分:1
  • tingchechuang
    车位数由用户输入,车能够进入车场,车场满时车再进来就要进入便道,然后车离开车场时需要根据车在车场停留的时间收费,收费标准是由用户输入的,如果是车场满时出车后,便道上的车就可以进入车场。需要时要显示车场的所有车的信息状况,包括车的到来时间,进入车场的时间,所在车位置或便道位置。(Parking spaces from user input, vehicles can enter the yard, full yard car will be re-entered into the sidewalk, and then leave the car when the car needs to stay under the car in the garage to collect the tolls, charges are entered by the user, in the case of car full turnout, the pavement on the car will be able to enter the yard. Necessary to show all the car parking lots of information, including the arrival of vehicles into the yard of the time, where the location of vehicle location or shortcut.)
    2009-04-29 21:16:22下载
    积分:1
  • boll
    圆的绘制,在很多计算机课程中会用到元的绘制,特么是在计算就行雪中会有(Draw a circle, in many computer programs will be used to draw elements, especially in the calculation of what is on the line there will be snow)
    2013-12-07 19:35:44下载
    积分:1
  • bigfisheatsmallfish
    .net初学者的一个实例,大鱼吃小鱼。不过没有使用.net的面向对象技术。这个程序是我在“初来乍到”.net的时候做的。。比较幼稚。。不过希望能给想学.net的朋友一点帮助。()
    2008-05-03 20:25:24下载
    积分:1
  • DRAWDEMO
    VC6.0环境下,使用鼠标完成基本图形(直线、圆弧、贝塞尔曲线等)的绘制,并显示动态绘制效果。(Under VC6.0 environment, We can use the mouse to draw the basic graphics (straight line, arc, Bessel curve, etc.) ,and also show the effect of dynamic rendering.)
    2016-07-06 09:05:56下载
    积分:1
  • 1047343490992
    很精致的一个计算器,界面不错!(a very delicate calculator, interface Yes!)
    2005-03-25 09:21:13下载
    积分:1
  • upsoft
    vb环境下一个支持在线自动更新的程序。如果您有新的、好的代码可以提供给枕善居上发布,让大家学习哦!(vb environment that supports online automatic update process. If you have a new, good code can be provided to the pillow good home release, so that we learn, oh!)
    2014-05-06 09:31:43下载
    积分:1
  • VB.NETUpdate
    说明:  开发环境:VB.NET 文件在线更新升级,结合XML语言,不过有点简陋,请大家下载自已完善(development environment : VB.NET documents online updates, and XML language, but a bit shabby, please download own sound)
    2020-08-28 15:38:12下载
    积分:1
  • Development.Programming.VB.code.ope.file
    VB开发打开文件编程设计代码Development Programming VB code to open the file (Development Programming VB code to open the file )
    2010-10-31 21:45:20下载
    积分:1
  • laser
    dfb laaser c++ novel(dfb laaser c++ novel)
    2021-04-13 15:18:55下载
    积分:1
  • 696516资源总数
  • 106409会员总数
  • 8今日下载