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

  • bosong-distribution
    通信系统的建模与仿真 C语言产生泊松分布的随机数(BOSONG DISTEIBUTION RANDOM NUMBERS IN C)
    2014-10-28 11:00:13下载
    积分:1
  • Key-Finder
    Key finder for windows....
    2013-09-09 12:29:38下载
    积分:1
  • C-notes
    C 语言常见问题集,本书共20章,原著:Steve Summit,翻译:朱群英, 孙云。这不是一本普通的基础入门书籍,他把所有C中可能遇见的难点,容易出错的地方全部收集其中,通俗易懂 第一章:声明和初始化 第二章:结构、联合和枚举 第三章:表达式 第四章:指针 第五章:空(null) 指针 第六章:数组和指针 第七章:内存分配 第八章:字符和字符串 第九章:布尔表达式和变量 第十章:C 预处理器 第十一章:ANSI/ISO 标准C 第十二章:标准输入输出库 第十三章:库函数 第十四章:浮点运算 第十五章:可变参数 第十六章:奇怪的问题 第十七章:风格 第十八章:工具和资源 第十九章:系统依赖 第十章:杂项(C language FAQ, book has 20 chapters, original: Steve Summit, translation: Zhu heroes, Sun Yun. This was not an ordinary introductory books, he may meet all the difficulties C, error-prone areas to collect them all, easily understood Chapter One: Declaration and initialization Chapter II: Structure, joint and enumeration Chapter III: expression Chapter IV: Pointer Chapter V: empty (null) pointer Chapter: Arrays and Pointers Chapter VII: memory allocation Chapter VIII: Characters and strings Chapter IX: Boolean expressions and variables Chapter X: C preprocessor Chapter XI: ANSI/ISO standard C Chapter XII: standard input output library Chapter XIII: Library Functions Chapter XIV: floating-point operations Chapter XV: Variable parameters Chapter XVI: strange question XVII: Style Chapter XVIII: Tools and resources XIX: system dependent Chapter X: Miscellaneous)
    2010-09-21 23:24:48下载
    积分:1
  • visualphone
    采用VB进行可视化通信编程的一个应用实例(using VB Visual Communication Programming Application of a)
    2006-08-06 23:35:40下载
    积分:1
  • 897650
    种基于VB6.0开发的可进行瓦斯监测并报警的友好界面。该界面通过串行通信方式接收各种瓦斯报警器采集的数据。(Species can be developed based on VB6.0 gas monitoring and alarm-friendly interface. The serial communication interface to receive a variety of gas alarm, the data collected.)
    2011-05-23 21:32:47下载
    积分:1
  • LOD(fix)
    Level of Detail 层次渲染,游戏编程 根据远近关系实现进出渲染,减少资源消耗(Level of Detail-level rendering, game programming relations based on distance and out of rendering, reduce resource consumption)
    2009-05-21 19:23:33下载
    积分:1
  • A-maze
    VC下的一个迷宫游戏,有源代码,玩家控制上下左右走出迷宫(VC under a maze game, source code, players control up and down out of the maze)
    2014-06-24 15:19:25下载
    积分:1
  • Test-Mapx-Chuan
    Mapx4.5 software used to display 2D maps of MapInfo
    2011-10-19 11:25:33下载
    积分:1
  • code
    在给定字符串中找出单词( “单词”由小写字母字符大写字母和构成,其他非字母字符视为单词的间隔, 如、问空格号、数字等等;另外单个字母不算单词);找到单词后,按照长度进行降序排序, (排序时如果长度相同,则按出现的顺序进行排列),然后输出到一个新的字符串中;如果某个单词重复出现多次, 则只输出一次;如果整个输入的字符串中没有找到单词,请输出空串。输出的单词之间使用一个“空格”隔开, 最后一个单词后不加空格。(Identify the word (" word" character from the uppercase and lowercase letters constituted, other non-alphabetic characters as word spacing, such as asking a space number, number, etc. another is not a single letter word) in a given string find words after descending order according to length, (if the same length, the order stated that appears when sorting arranged), and then output to a new string If a word is repeated several times, only output once If the entire input string is not found in word, outputs an empty string. Used between the output of a word " space" separated, no spaces after the last word.)
    2014-02-23 00:19:04下载
    积分:1
  • CPP-program-desig(third-edition)
    C++面向对象程序设计教程相关电子课件,其中内容全面且丰富,具有很好的参考价值。 (" C++ object-oriented programming tutorial (3rd edition)" comprehensive and extensive electronic courseware)
    2011-09-14 21:17:47下载
    积分:1
  • 696518资源总数
  • 106161会员总数
  • 5今日下载