I am receiving data from serial port RS232 like [00000]
continuously per 100 ms, but if i use usb to serial converter data is splitting into multiple parts if i append that in a text box i am getting output like [00000][00000][00000][00000][00000]
, here comes the problem i want to pick the each array separately like [00000]
what i am getting is
[
0
000
0
]
so i tried to concat it in a variable upto the string getting into the length of 7, if it 7 i will write it into another variable and clear pervious array still i could't achieve the result.
Dim k As String
k = k & [text]
If k.Length = 7 Then
Me.RichTextBox1.Text = k
k = ""
End If
how to get the desired result.