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

  • ChartCtrl
    MFC非常好用的绘图控件,实时更新采集数据图像非常方便,吐血推荐!(very useful resource for MFC painting)
    2021-01-08 16:18:51下载
    积分:1
  • TreeView
    期刊名称、期刊年代、卷、期数、载文量、录入量、录入员 2 来源信息录入:中文篇名、英文篇名、文章类型、页码、基金项目、分类号、关键词 3 涞源作者录入:作者姓名、作者发文排名、英文名、作者机构、部门名称、机构类别、作者地区、通讯地址、邮编 4 引文信息录入:引文形式、引文类型、引文文种、被引文作者、被引文译者、被引篇名、被引书名(刊名)、卷册序号、被引文出版地、被引文出版者、出版年代、卷期、页码
    2010-12-24 12:52:36下载
    积分:1
  • eddyingcharacter
    如何旋转显示字符串?本例子将详细向你演示。(How to rotate display string? This example will demonstrate to you in detail.)
    2009-05-24 16:34:17下载
    积分:1
  • abc
    基于MFC在编辑框中实现文件的打开、查找和关键字搜索定位等功能(Based on MFC it realized the openning and searching of files or texts in your edit box and so on )
    2013-12-04 21:04:59下载
    积分:1
  • 72250183
    读取注册表的例子,利用了API,可读注册表中所有的项目,()
    2017-09-27 19:36:42下载
    积分:1
  • VISUAL_CPPMFC(2)
    MFC编程实例,分为上下两份,这是(下) 基础知识,用户界面实例,内部处理实例,打包实例,附录(MFC programming examples, divided into upper and lower two basics of user interface instance, instances of internal processing, packaging instance, Appendix)
    2012-08-25 21:55:21下载
    积分:1
  • my_HideReg
    冰刃下隐藏注册表 最亲朋的隐藏技术,请不要用于不法目的。学习研究的(Under the most hidden registry冰刃friends hidden technology, please do not for the unlawful purpose. Study of)
    2007-11-12 22:19:05下载
    积分:1
  • AI_dll
    基于研华PCI-1710HG数据采集卡基于动态链接库的模拟量输入程序。用VC++6.0MFC实现。程序功能实现实时模式量值显示,绘制历史曲线及上下限报警指示。(Advantech PCI-1710HG-based data acquisition card is based on the dynamic link library analog input program. With VC++6.0MFC implementation. Program features to achieve real-time mode values ​ ​ displayed and plotted historical curve and lower limit alarm indication.)
    2021-03-08 21:09:28下载
    积分:1
  • dianhua
    用与电话和电脑的串行通讯,用的是VB写的一些介绍和实例(Used with the telephone and computer serial communications, using VB to write the introduction and examples of some)
    2008-05-27 15:17:58下载
    积分:1
  • tts
    VB编写的网管呼叫系统,含服务器端和客户端。。(VB, network call system, including server and client. .)
    2014-03-16 17:40:11下载
    积分:1
  • 696518资源总数
  • 104600会员总数
  • 46今日下载