Description: 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.
To Search:
File list (Check if you may need any files):
地磅测试\AllPurPose\AllPurPose\AllPurpose.exe
........\..........\..........\AllPurpose.ini
........\..........\..........\Boastest.dll
........\..........\..........\C++builder.exe
........\..........\..........\COM.inf
........\..........\..........\COM.sys
........\..........\..........\DriverSetup.exe
........\..........\..........\readme.txt
........\..........\..........\ReceiveShare.dll
........\..........\..........\VB6.exe
........\..........\..........\...调用源码\AllPurpose.exe
........\..........\..........\...........\AllPurpose.ini
........\..........\..........\...........\Boastest.dll
........\..........\..........\...........\COM.inf
........\..........\..........\...........\COM.sys
........\..........\..........\...........\DriverSetup.exe
........\..........\..........\...........\Form1.frm
........\..........\..........\...........\MSSCCPRJ.SCC
........\..........\..........\...........\readme.txt
........\..........\..........\...........\ReceiveShare.dll
........\..........\..........\...........\VBReadShare.vbp
........\..........\..........\...........\VBReadShare.vbw
........\..........\..........\...........\VBReadShareDll.exe
........\BE01\BE01仪表通讯.frm
........\....\BE01仪表通讯.vbp
........\....\BE01仪表通讯.vbw
........\....\MSSCCPRJ.SCC
........\....\新建 Microsoft Word 文档.doc
........\托利多地磅\bas地磅.bas
........\..........\Form1.frm
........\..........\Form1.frx
........\..........\MSSCCPRJ.SCC
........\..........\托利多地磅.exe
........\..........\托利多地磅.vbp
........\..........\托利多地磅.vbw
........\AllPurPose\AllPurPose\VB6调用源码
........\..........\AllPurPose
........\AllPurPose
........\BE01
........\托利多地磅
地磅测试