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

  • FibonacciHeap
    斐波那契堆基于二项式堆,在支持以O(1)时间实现插入、合并和以O(log n)实现删除最小元素的基础上,进一步实现了以O(1)实现指定节点值减少和用O(log n)时间完成删除任意节点操作(Fibonacci heap-based binomial heaps of support to the O (1) time to achieve insertion, Merger and O (log n) to achieve the smallest element deleted on the basis of further to the O (1) to achieve specified nodes and reduce the value of O (log n) time to complete the deletion of arbitrary nodes parade for)
    2007-01-04 22:36:07下载
    积分:1
  • MFHRM
    基于开发板的串口通信,主要运用了MFC和通信协议(Serial communication based on development board)
    2018-03-29 21:06:57下载
    积分:1
  • CDialogEx
    异形dlg的某高手的封装。异形dlg的某高手的封装。异形dlg的某高手的封装。异形dlg的某高手的封装。
    2009-12-20 10:01:56下载
    积分:1
  • linktable
    说明:  C++编程技术,编程技巧,不同性质的链表组成统一的链表。(C++ programming, programming techniques, the different nature of forming a unified Chain Link List.)
    2006-04-26 21:55:05下载
    积分:1
  • adduser
    windows下利用API添加用户的代码。(Add windows administrator via windows API.)
    2009-06-16 13:47:42下载
    积分:1
  • ActiveDoc
    说明:  利用vc6.0提供的支持实现一个ActiveX文档服务器程序。这个程序可以从包容器中装入文件,可以编辑和保存文本以及嵌入对象,它还能够从Internet下载文本文件,每次一行。(vc6.0 use of the support provided to achieve an ActiveX file server. This procedure can pack containers loaded document, and can edit the text and to preserve embedded object, it can be downloaded from the Internet text files, one line at a time.)
    2006-03-12 21:00:58下载
    积分:1
  • HDF_read_guide
    对HDF格式的MODIS遥感影像进行读取(MODIS imagery for HDF format for reading)
    2013-12-19 09:56:52下载
    积分:1
  • CalculadoraVB-master
    Hello to use this program create a directory C:Accounts and add the database to this folder. database is included in the account ledger folder under Account database. new connection string for new directory is in module1.vb old connection strings commented out on win forms. you can add edit delete transactions from Transactions form. you can add delete accounts names and types from add new accounts button. you can view all accounts by name by clicking on view account details button. all forms available from menu strip. account totals displayed at bottom of form account balance shown at top of form
    2018-03-07 05:18:05下载
    积分:1
  • IP多播
    在局域网中,管理员常常需要将某条信息发送给一组用户。如果使用一对一的发送方法,虽然是可行的,但是过于麻烦,也常会出现漏发、错发。为了更有效的解决这种组通信问题,出现了一种多播技术(也常称为组播通信),它是基于IP层的通信技术(In a LAN, administrators often need to send a certain message to a group of users. If one to one transmission method is used, it is feasible, but it is too troublesome, and often there will be missed and wrong hair. In order to solve this kind of communication problem more effectively, there is a multicast technology (often called multicast communication). It is a communication technology based on the IP layer.)
    2018-01-02 09:05:03下载
    积分:1
  • cardfile
    Micorsoft 卡片文件(crd)读写的DLL源码(The sourcecode of the DLL for reading and writing the Microsoft s card file)
    2021-03-28 09:19:11下载
    积分:1
  • 696516资源总数
  • 106562会员总数
  • 4今日下载