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

  • the-static-binary-tree-and-input
    建立一个静态二叉树,并对他进行先序遍历,已在vc6.0上运行通过。(To establish a static binary tree, and carries on his first sequence traversal, has run through in vc6.0 )
    2014-01-14 12:37:28下载
    积分:1
  • XWP
    XWP仪表参数的读取,是帮1个朋友编写的(Instrument parameters XWP read, is to help a friend prepare the)
    2007-11-28 12:07:41下载
    积分:1
  • OPCserver
    用vc++实现了一个标准的OPC DA服务器!可以实现工业以太网数据采集并为实现了标准OPC接口的客户程序进行数据交互!(Using vc++ to achieve a standard OPC DA server! Industrial Ethernet can be achieved for the realization of data acquisition and a standard OPC client interface for data exchange!)
    2009-07-03 10:50:14下载
    积分:1
  • ShowCursor
    说明:  这是一个隐藏与显示鼠标的例子,相信对初学者有一定的帮助(This is an example of hiding and show the mouse, I believe there is some help for beginners)
    2011-03-28 13:13:49下载
    积分:1
  • vb-dy-JAVA-WEBSERVER
    一个调用JAVA的WEBSERVER的VB6源代码实例,简单明了(A WEBSERVER s VB6 invokes the JAVA source code examples, simple and clear )
    2013-08-14 10:42:07下载
    积分:1
  • Book
    MFC 数据库编程,多套数据库!学习加油!(MFC database programming, multi-sets of the database! Learning加油!)
    2010-01-14 13:25:03下载
    积分:1
  • jnnction
    p2p打洞的功能封装,对于需要使用P2P的地方可以直接引用(P2p make hole function encapsulation, the need to use p2p can direct reference)
    2017-06-12 08:59:20下载
    积分:1
  • ch02
    VB2008示例包含原代码,适合适合初学者用(Code sample contains the original code)
    2013-10-15 18:08:12下载
    积分:1
  • Moving-Object-Detection-and-Tracking
    extracting background Bit-layer(A method of achieving background is presented which detect the moving object with statistics from complex scene. Compared with other methods of achieving image background, this approach can achieve and update simultaneously background. The method of moving object detection has the advantages of simplicity in computation, strong resistance to noise. The state transition matrix and observation matrix of Kalman filter are then defined to track the detected object. The experiment indicates that the method proposed has stability of forecast.)
    2012-11-27 15:56:19下载
    积分:1
  • VC++ 串口调试精灵源代码
    VC串口调试软件的源代码,还可以,挺好用(The source code of VC serial debug software)
    2018-03-25 22:44:53下载
    积分:1
  • 696516资源总数
  • 106947会员总数
  • 12今日下载