I use this code to capture weight from Avery weigher indicator through serial com
And i got this
80 00 000S99291235 F80 00 000S99291236 E80 00 000S99291237 D80 00 000S99291238 K80 00 000S9929123
How can I extract the 80 kg to my table field
Thank you
Code:
Private Sub Read_Click()
'send the Print command and read the weight value.
NETComm6.Output = "p" & Chr(13) 'send PRINT command to the scale.
Dim Buffer As String 'define Buffer
Buffer$ = Buffer$ & NETComm6.InputData 'wait for the data come into the serial port
WtInfo = Buffer
End Sub
80 00 000S99291235 F80 00 000S99291236 E80 00 000S99291237 D80 00 000S99291238 K80 00 000S9929123
How can I extract the 80 kg to my table field
Thank you
Comment