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

  • jxxfc1
    介绍了如何将m文件转换成VC可调用的dll文件,在这章中介绍如何利用编译器将m文件转换成对应的CC++文件,并在VC中调用(on how to convert documents into m VC dll with the available documents, In this chapter, how to use the compiler to convert documents into m corresponding to the C C paper and called in VC)
    2006-12-28 09:39:28下载
    积分:1
  • StkVC
    VC 6.0语言连接访问STK卫星分析工具的源代码,完整工程文件,可连接各个版本的STK。(VC 6.0 STK language satellite connection to access source code analysis tools, complete project file, can be connected to various versions of the STK.)
    2021-01-05 16:18:54下载
    积分:1
  • ISO14229-4-2012
    Road vehicles — Unified diagnostic services (UDS) — Part 4: Unified diagnostic services on FlexRay implementation (UDSonFR)
    2015-11-01 17:48:43下载
    积分:1
  • 半桥式LLC变换器仿真模型
    说明:  采用Visio Studio编译生成动态链接库,嵌入Psim进行仿真。仿真模型提供了半桥谐振变换器的数模混合仿真,有动态链接库实现PWM的分配。(Visio Studio is used to compile and generate dynamic link libraries, which are embedded in Psim for simulation. The simulation model provides digital-analog hybrid simulation of half-bridge resonant converter, with dynamic link library to realize PWM allocation.)
    2020-06-21 02:40:01下载
    积分:1
  • VB-ICON-MAKER
    用VB开发的一个制作图表文件ico的程序(VB-ico file of a production process chart)
    2011-04-26 12:21:29下载
    积分:1
  • MyPictureDrawing2
    自己编写的类似画图软件的vc++程序,可以实现铅笔画线、画圆、椭圆等基本画图功能,还有颜色选项(I have written similar vc++ drawing software program, you can achieve a pencil drawing a line, circle, ellipse and other basic drawing functions, as well as color options)
    2014-05-29 13:36:47下载
    积分:1
  • VCSerialPortProgram
    串口调试程序,输入值或者数都行,可以调baudrate等参数。(serial port test program)
    2009-06-04 12:29:45下载
    积分:1
  • covpliwr
    简单的学籍管理系统 可以基本完成录入导出 学生的信息,不错(Simple student status management system can basically complete the input and export of student information, good)
    2018-12-05 12:45:29下载
    积分:1
  • gauss
    利用vc++ 6.0 编写的进行高斯消元法运算的代码(Using vc++ 6 prepared by Gauss elimination operation element method code)
    2014-04-19 16:25:17下载
    积分:1
  • des
    说明:  vb6中DES 三重DES运算,很好用,现在项目中在用(vb6 triple DES operations in the DES, very good use, the project is now in use)
    2010-03-17 11:35:47下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载