Need your urgent help , i have connected weighing machine with serial port ,now am getting data to a rich textbox
in a string form , problem is i dont know how to get the only desired figures.
the output string coming in this format from rtbDisplay _A0+0000002 Kg054__A0+0000002 Kg054__ ineed only
three digits and want to cut A0+000 from left and 02 from right to get remaiing 000 from this string to show in a text box which are actual ouputs of weight.
Private Sub cmdOpen_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdOpen.Click comm.Parity = cboParity.Text comm.StopBits = cboStop.Text comm.DataBits = cboData.Text comm.BaudRate = cboBaud.Text comm.DisplayWindow = rtbDisplay-----------------> Output richtextbox comm.OpenPort() cmdOpen.Enabled = False cmdClose.Enabled = True cmdSend.Enabled = True End Sub
PLEASE HELP ME REGARDING THIS
Edited 4 Years Ago by satti: Spell