.net - How to increase a speed of receive data from serial port? -
weight scale machine(fc-5000i model) connected vb application via serial port (com1) , baudrate=9600.
weight scale machine send set of data. each set includes there commands :
- uw,+0.000000 g
- qt,+00000000 pc
- st,+000.1064 kg
but need display weight value in vb , use serialport.datareceived
event handling data serial port. each round use 0.5 second receive 1 command.
- received first command - not show anything
- received second command -not show anything
- received third command - show weight in kg .
so vb project display weight delay 1 second.
user not permit config weight scale machine.
Comments
Post a Comment