sumit Kale

sumit Kale

  • NA
  • 65
  • 2.5k

Newline after receiving "AA" on Windows Application Form

May 5 2017 3:31 AM
Hello,
 
I am designing a Protocol Data analyzer in c# by using Windows application Form. I am receiving data at speed of 5.25 Mbps from COM Port & i want to show this data over Windows Application.
 
So now i am able to get data over window. However i want to split string to newline & show the time as soon as i get "AA" (AA is my Preamble in protocol Header). 
 
My Protocol data stream is as mentione below:
 
AA 01 00 13 59 A1 02 61 6A A1 02 61 09 00 01 81 00 01 9B D3 32 72 23 AA
 
I have attached my source file. 
 
So how i can do this? Any suggstions? 
 
 

Attachment: Form1.zip

Answers (20)